POST api/InvoiceDetail
Request Information
URI Parameters
None.
Body Parameters
Collection of userInvoiceDeatil| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| InvoiceId | integer |
None. |
|
| ItemId | integer |
None. |
|
| Quantity | decimal number |
None. |
|
| Rate | decimal number |
None. |
|
| Discountper | decimal number |
None. |
|
| Discount | decimal number |
None. |
|
| MRP | decimal number |
None. |
|
| Amount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"InvoiceId": 2,
"ItemId": 3,
"Quantity": 4.0,
"Rate": 5.0,
"Discountper": 6.0,
"Discount": 7.0,
"MRP": 8.0,
"Amount": 9.0
},
{
"Id": 1,
"InvoiceId": 2,
"ItemId": 3,
"Quantity": 4.0,
"Rate": 5.0,
"Discountper": 6.0,
"Discount": 7.0,
"MRP": 8.0,
"Amount": 9.0
}
]
application/xml, text/xml
Sample:
<ArrayOfuserInvoiceDeatil xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEAPI.Model">
<userInvoiceDeatil>
<Amount>9</Amount>
<Discount>7</Discount>
<Discountper>6</Discountper>
<Id>1</Id>
<InvoiceId>2</InvoiceId>
<ItemId>3</ItemId>
<MRP>8</MRP>
<Quantity>4</Quantity>
<Rate>5</Rate>
</userInvoiceDeatil>
<userInvoiceDeatil>
<Amount>9</Amount>
<Discount>7</Discount>
<Discountper>6</Discountper>
<Id>1</Id>
<InvoiceId>2</InvoiceId>
<ItemId>3</ItemId>
<MRP>8</MRP>
<Quantity>4</Quantity>
<Rate>5</Rate>
</userInvoiceDeatil>
</ArrayOfuserInvoiceDeatil>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |