POST api/HSNCode/EditHSN
Request Information
URI Parameters
None.
Body Parameters
EditHSNCommandDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | globally unique identifier |
None. |
|
| Description | string |
None. |
|
| EAN_Number | string |
None. |
|
| SKU | string |
None. |
|
| PIP | string |
None. |
|
| HSN_Code | string |
None. |
|
| PackSize | string |
None. |
|
| Brand | string |
None. |
|
| UOM | string |
None. |
|
| SelfLife | decimal number |
None. |
|
| MRP | decimal number |
None. |
|
| DPL | decimal number |
None. |
|
| RMCC | decimal number |
None. |
|
| ZSTO | decimal number |
None. |
|
| SellingPrice | decimal number |
None. |
|
| User_Id | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": "8b2c0454-98c2-4ec3-8f37-cf4fe20255c7",
"Description": "sample string 2",
"EAN_Number": "sample string 3",
"SKU": "sample string 4",
"PIP": "sample string 5",
"HSN_Code": "sample string 6",
"PackSize": "sample string 7",
"Brand": "sample string 8",
"UOM": "sample string 9",
"SelfLife": 1.0,
"MRP": 1.0,
"DPL": 1.0,
"RMCC": 1.0,
"ZSTO": 1.0,
"SellingPrice": 1.0,
"User_Id": "sample string 10"
}
application/xml, text/xml
Sample:
<EditHSNCommandDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BusinessLayer.Modules.HSNCodeModule.Model"> <Brand>sample string 8</Brand> <DPL>1</DPL> <Description>sample string 2</Description> <EAN_Number>sample string 3</EAN_Number> <HSN_Code>sample string 6</HSN_Code> <Id>8b2c0454-98c2-4ec3-8f37-cf4fe20255c7</Id> <MRP>1</MRP> <PIP>sample string 5</PIP> <PackSize>sample string 7</PackSize> <RMCC>1</RMCC> <SKU>sample string 4</SKU> <SelfLife>1</SelfLife> <SellingPrice>1</SellingPrice> <UOM>sample string 9</UOM> <User_Id>sample string 10</User_Id> <ZSTO>1</ZSTO> </EditHSNCommandDto>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
Response| Name | Description | Type | Additional information |
|---|---|---|---|
| Status |
None. |
Response Formats
application/json, text/json
Sample:
{
"Status": 0,
"Message": "sample string 1"
}
application/xml, text/xml
Sample:
<Response xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Utilities.Common"> <Message>sample string 1</Message> <Status>Failed</Status> </Response>