POST api/Commodity/PutCommodityMaster
Request Information
URI Parameters
None.
Body Parameters
CommodityMasterName | Description | Type | Additional information |
---|---|---|---|
COM_ID | integer |
None. |
|
COM_CODE | string |
None. |
|
COM_DESC | string |
None. |
|
COM_HS_CODE | string |
None. |
|
COM_DG_FLAG | string |
None. |
|
COM_CLAUSE | integer |
None. |
|
COM_DG_CLAUSE | integer |
None. |
|
COM_TYPE | string |
None. |
|
COM_REMARKS | string |
None. |
|
COM_PROGRAM_ID | string |
None. |
|
COM_CREATED_BY | integer |
None. |
|
COM_UNNO_CODE | integer |
None. |
|
COM_FLASH_POINT | string |
None. |
|
COM_UOT | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "COM_ID": 1, "COM_CODE": "sample string 1", "COM_DESC": "sample string 2", "COM_HS_CODE": "sample string 3", "COM_DG_FLAG": "sample string 4", "COM_CLAUSE": 1, "COM_DG_CLAUSE": 1, "COM_TYPE": "sample string 5", "COM_REMARKS": "sample string 6", "COM_PROGRAM_ID": "sample string 7", "COM_CREATED_BY": 1, "COM_UNNO_CODE": 1, "COM_FLASH_POINT": "sample string 8", "COM_UOT": "sample string 9" }
application/xml, text/xml
Sample:
<CommodityMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <COM_CLAUSE>1</COM_CLAUSE> <COM_CODE>sample string 1</COM_CODE> <COM_CREATED_BY>1</COM_CREATED_BY> <COM_DESC>sample string 2</COM_DESC> <COM_DG_CLAUSE>1</COM_DG_CLAUSE> <COM_DG_FLAG>sample string 4</COM_DG_FLAG> <COM_FLASH_POINT>sample string 8</COM_FLASH_POINT> <COM_HS_CODE>sample string 3</COM_HS_CODE> <COM_ID>1</COM_ID> <COM_PROGRAM_ID>sample string 7</COM_PROGRAM_ID> <COM_REMARKS>sample string 6</COM_REMARKS> <COM_TYPE>sample string 5</COM_TYPE> <COM_UNNO_CODE>1</COM_UNNO_CODE> <COM_UOT>sample string 9</COM_UOT> </CommodityMaster>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |