POST api/Commodity/UploadCommodityMaster
Request Information
URI Parameters
None.
Body Parameters
UploadCommodityMaster| Name | 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. |
|
| COM_DG_FLAG_CODE | string |
None. |
|
| COM_CLAUSE_CODE | string |
None. |
|
| COM_DG_CLAUSE_CODE | string |
None. |
|
| COM_TYPE_CODE | string |
None. |
|
| COM_UOT_CODE | 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",
"COM_DG_FLAG_CODE": "sample string 10",
"COM_CLAUSE_CODE": "sample string 11",
"COM_DG_CLAUSE_CODE": "sample string 12",
"COM_TYPE_CODE": "sample string 13",
"COM_UOT_CODE": "sample string 14"
}
application/xml, text/xml
Sample:
<UploadCommodityMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <COM_CLAUSE>1</COM_CLAUSE> <COM_CLAUSE_CODE>sample string 11</COM_CLAUSE_CODE> <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_CLAUSE_CODE>sample string 12</COM_DG_CLAUSE_CODE> <COM_DG_FLAG>sample string 4</COM_DG_FLAG> <COM_DG_FLAG_CODE>sample string 10</COM_DG_FLAG_CODE> <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_TYPE_CODE>sample string 13</COM_TYPE_CODE> <COM_UNNO_CODE>1</COM_UNNO_CODE> <COM_UOT>sample string 9</COM_UOT> <COM_UOT_CODE>sample string 14</COM_UOT_CODE> </UploadCommodityMaster>
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. |