POST api/CHAMasters/UploadCHMMaster
Request Information
URI Parameters
None.
Body Parameters
UploadCHACHMMaster| Name | Description | Type | Additional information |
|---|---|---|---|
| CHM_DETAILS | Collection of CHACEMUploadInputs |
None. |
Request Formats
application/json, text/json
Sample:
{
"CHM_DETAILS": [
{
"CHM_ID": 1,
"CHM_LOCATION_NAME": "sample string 1",
"CHM_LOCATION_CODE": "sample string 2",
"CHM_TRAN_MODE": "sample string 3",
"CHM_STATUS": "sample string 4",
"CHM_NOTES": "sample string 5",
"CHM_CREATED_BY": 1,
"CHM_TRAN_MODE_CODE": "sample string 6",
"CHM_STATUS_CODE": "sample string 7",
"CHM_LOCATION_CODE_NAME": "sample string 8"
},
{
"CHM_ID": 1,
"CHM_LOCATION_NAME": "sample string 1",
"CHM_LOCATION_CODE": "sample string 2",
"CHM_TRAN_MODE": "sample string 3",
"CHM_STATUS": "sample string 4",
"CHM_NOTES": "sample string 5",
"CHM_CREATED_BY": 1,
"CHM_TRAN_MODE_CODE": "sample string 6",
"CHM_STATUS_CODE": "sample string 7",
"CHM_LOCATION_CODE_NAME": "sample string 8"
}
]
}
application/xml, text/xml
Sample:
<UploadCHACHMMaster xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
<CHM_DETAILS>
<CHACEMUploadInputs>
<CHM_CREATED_BY>1</CHM_CREATED_BY>
<CHM_ID>1</CHM_ID>
<CHM_LOCATION_CODE>sample string 2</CHM_LOCATION_CODE>
<CHM_LOCATION_CODE_NAME>sample string 8</CHM_LOCATION_CODE_NAME>
<CHM_LOCATION_NAME>sample string 1</CHM_LOCATION_NAME>
<CHM_NOTES>sample string 5</CHM_NOTES>
<CHM_STATUS>sample string 4</CHM_STATUS>
<CHM_STATUS_CODE>sample string 7</CHM_STATUS_CODE>
<CHM_TRAN_MODE>sample string 3</CHM_TRAN_MODE>
<CHM_TRAN_MODE_CODE>sample string 6</CHM_TRAN_MODE_CODE>
</CHACEMUploadInputs>
<CHACEMUploadInputs>
<CHM_CREATED_BY>1</CHM_CREATED_BY>
<CHM_ID>1</CHM_ID>
<CHM_LOCATION_CODE>sample string 2</CHM_LOCATION_CODE>
<CHM_LOCATION_CODE_NAME>sample string 8</CHM_LOCATION_CODE_NAME>
<CHM_LOCATION_NAME>sample string 1</CHM_LOCATION_NAME>
<CHM_NOTES>sample string 5</CHM_NOTES>
<CHM_STATUS>sample string 4</CHM_STATUS>
<CHM_STATUS_CODE>sample string 7</CHM_STATUS_CODE>
<CHM_TRAN_MODE>sample string 3</CHM_TRAN_MODE>
<CHM_TRAN_MODE_CODE>sample string 6</CHM_TRAN_MODE_CODE>
</CHACEMUploadInputs>
</CHM_DETAILS>
</UploadCHACHMMaster>
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. |