POST UpdateItem
Request Information
URI Parameters
None.
Body Parameters
UpdateItemRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Code | string |
None. |
|
| Name | string |
None. |
|
| Unit | integer |
None. |
|
| Category1 | integer |
None. |
|
| ImageName | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| CgstPercent | decimal number |
None. |
|
| SgstPercent | decimal number |
None. |
|
| IgstPercent | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"Code": "sample string 1",
"Name": "sample string 2",
"Unit": 1,
"Category1": 1,
"ImageName": "sample string 3",
"UnitPrice": 1.0,
"CgstPercent": 1.0,
"SgstPercent": 1.0,
"IgstPercent": 1.0
}
application/xml, text/xml
Sample:
<UpdateItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PointOfSaleApi.Controllers"> <Category1>1</Category1> <CgstPercent>1</CgstPercent> <Code>sample string 1</Code> <Id>1</Id> <IgstPercent>1</IgstPercent> <ImageName>sample string 3</ImageName> <Name>sample string 2</Name> <SgstPercent>1</SgstPercent> <Unit>1</Unit> <UnitPrice>1</UnitPrice> </UpdateItemRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, application/xml, text/xml
Sample:
Sample not available.