PUT api/Items/{Id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
Required |
Body Parameters
UserItems| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| ItemCode | string |
None. |
|
| SalePrice | decimal number |
None. |
|
| ItemName | string |
None. |
|
| CGST | decimal number |
None. |
|
| SGST | decimal number |
None. |
|
| IGST | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"ItemCode": "sample string 2",
"SalePrice": 3.0,
"ItemName": "sample string 4",
"CGST": 5.0,
"SGST": 6.0,
"IGST": 7.0
}
application/xml, text/xml
Sample:
<UserItems xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PEAPI.Model"> <CGST>5</CGST> <IGST>7</IGST> <Id>1</Id> <ItemCode>sample string 2</ItemCode> <ItemName>sample string 4</ItemName> <SGST>6</SGST> <SalePrice>3</SalePrice> </UserItems>
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. |