POST api/TO/PostTOCost
Request Information
URI Parameters
None.
Body Parameters
ToCostInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| TRC_ID | integer |
None. |
|
| TRC_TO_ID | integer |
None. |
|
| TRC_COST_TYPE_ID | string |
None. |
|
| TRC_CHG_ID | integer |
None. |
|
| TRC_BASIS_ID | integer |
None. |
|
| TRC_CUR_ID | integer |
None. |
|
| TRC_AMOUNT | decimal number |
None. |
|
| TRC_IS_INV | string |
None. |
|
| TRC_REMARKS | string |
None. |
|
| TRC_UNI_REF | string |
None. |
|
| TO_TRK_NUM | string |
None. |
|
| TRK_DATE_TIME | date |
None. |
|
| TRC_PROGRAM_ID | string |
None. |
|
| TRC_CREATED_BY | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"TRC_ID": 1,
"TRC_TO_ID": 1,
"TRC_COST_TYPE_ID": "sample string 1",
"TRC_CHG_ID": 1,
"TRC_BASIS_ID": 1,
"TRC_CUR_ID": 1,
"TRC_AMOUNT": 1.1,
"TRC_IS_INV": "sample string 2",
"TRC_REMARKS": "sample string 3",
"TRC_UNI_REF": "sample string 4",
"TO_TRK_NUM": "sample string 5",
"TRK_DATE_TIME": "2025-12-06T04:23:00.2061431+00:00",
"TRC_PROGRAM_ID": "sample string 6",
"TRC_CREATED_BY": 1
}
application/xml, text/xml
Sample:
<ToCostInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <TO_TRK_NUM>sample string 5</TO_TRK_NUM> <TRC_AMOUNT>1.1</TRC_AMOUNT> <TRC_BASIS_ID>1</TRC_BASIS_ID> <TRC_CHG_ID>1</TRC_CHG_ID> <TRC_COST_TYPE_ID>sample string 1</TRC_COST_TYPE_ID> <TRC_CREATED_BY>1</TRC_CREATED_BY> <TRC_CUR_ID>1</TRC_CUR_ID> <TRC_ID>1</TRC_ID> <TRC_IS_INV>sample string 2</TRC_IS_INV> <TRC_PROGRAM_ID>sample string 6</TRC_PROGRAM_ID> <TRC_REMARKS>sample string 3</TRC_REMARKS> <TRC_TO_ID>1</TRC_TO_ID> <TRC_UNI_REF>sample string 4</TRC_UNI_REF> <TRK_DATE_TIME>2025-12-06T04:23:00.2061431+00:00</TRK_DATE_TIME> </ToCostInputs>
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. |