PUT api/InvoiceDetail/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
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
}
application/xml, text/xml
Sample:
<userInvoiceDeatil xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEAPI.Model"> <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>
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. |