POST api/TransportOrder/PutTPRouting
Request Information
URI Parameters
None.
Body Parameters
ToRoutingInputs| Name | Description | Type | Additional information |
|---|---|---|---|
| TRH_ID | integer |
None. |
|
| TRH_CP_ID | integer |
None. |
|
| TRH_TRIP_TYPE | string |
None. |
|
| TRH_NOTES | string |
None. |
|
| TRH_LOD_1 | string |
None. |
|
| TRH_LOD_1_REF | string |
None. |
|
| TRH_LOD_2 | string |
None. |
|
| TRH_LOD_2_REF | string |
None. |
|
| TRH_STATUS | string |
None. |
|
| TRH_ROU_CODE | string |
None. |
|
| TRH_ROU_NAME | string |
None. |
|
| TRH_QUAN | decimal number |
None. |
|
| TRH_UOM_ID | integer |
None. |
|
| TRH_TOT_KM | decimal number |
None. |
|
| TRH_PROGRAM_ID | string |
None. |
|
| TRH_CREATED_BY | integer |
None. |
|
| TRH_SEARCH | string |
None. |
|
| TRH_ROUTE_DETAILS | Collection of TNR_ROUTE_DETAILS |
None. |
|
| TRH_COST_DETAILS | Collection of RTR_COST_DETAILS |
None. |
|
| TRH_RATE_DETAILS | Collection of RTR_RATE_DETAILS |
None. |
Request Formats
application/json, text/json
Sample:
{
"TRH_ID": 1,
"TRH_CP_ID": 1,
"TRH_TRIP_TYPE": "sample string 1",
"TRH_NOTES": "sample string 2",
"TRH_LOD_1": "sample string 3",
"TRH_LOD_1_REF": "sample string 4",
"TRH_LOD_2": "sample string 5",
"TRH_LOD_2_REF": "sample string 6",
"TRH_STATUS": "sample string 7",
"TRH_ROU_CODE": "sample string 8",
"TRH_ROU_NAME": "sample string 9",
"TRH_QUAN": 1.1,
"TRH_UOM_ID": 1,
"TRH_TOT_KM": 1.1,
"TRH_PROGRAM_ID": "sample string 10",
"TRH_CREATED_BY": 1,
"TRH_SEARCH": "sample string 11",
"TRH_ROUTE_DETAILS": [
{
"TRU_ID": 1,
"TRU_LEG_NUM": 1,
"TRU_PICK_CT_ID": 1,
"TRU_PICK_CT_CODE": "sample string 1",
"TRU_PICK_ZIP": "sample string 2",
"TRU_PICK_ADD": "sample string 3",
"TRU_DROP_CT_ID": 1,
"TRU_DROP_CT_CODE": "sample string 4",
"TRU_DROP_ZIP": "sample string 5",
"TRU_DROP_ADD": "sample string 6",
"TRU_NOTES": "sample string 7"
},
{
"TRU_ID": 1,
"TRU_LEG_NUM": 1,
"TRU_PICK_CT_ID": 1,
"TRU_PICK_CT_CODE": "sample string 1",
"TRU_PICK_ZIP": "sample string 2",
"TRU_PICK_ADD": "sample string 3",
"TRU_DROP_CT_ID": 1,
"TRU_DROP_CT_CODE": "sample string 4",
"TRU_DROP_ZIP": "sample string 5",
"TRU_DROP_ADD": "sample string 6",
"TRU_NOTES": "sample string 7"
}
],
"TRH_COST_DETAILS": [
{
"TRC_ID": 1,
"TRC_COST_TYPE_ID": "sample string 1",
"TRC_COST_TYPE_CODE": "sample string 2",
"TRC_CHG_ID": 1,
"TRC_CHG_CODE": "sample string 3",
"TRC_BASIS_ID": 1,
"TRC_BASIS_CODE": "sample string 4",
"TRC_CUR_ID": 1,
"TRC_CUR_CODE": "sample string 5",
"TRC_AMOUNT": 1.1,
"TRC_IS_INV": "sample string 6",
"TRC_IS_INV_CODE": "sample string 7",
"TRC_REMARKS": "sample string 8"
},
{
"TRC_ID": 1,
"TRC_COST_TYPE_ID": "sample string 1",
"TRC_COST_TYPE_CODE": "sample string 2",
"TRC_CHG_ID": 1,
"TRC_CHG_CODE": "sample string 3",
"TRC_BASIS_ID": 1,
"TRC_BASIS_CODE": "sample string 4",
"TRC_CUR_ID": 1,
"TRC_CUR_CODE": "sample string 5",
"TRC_AMOUNT": 1.1,
"TRC_IS_INV": "sample string 6",
"TRC_IS_INV_CODE": "sample string 7",
"TRC_REMARKS": "sample string 8"
}
],
"TRH_RATE_DETAILS": [
{
"TRR_ID": 1,
"TRR_CHG_TYPE": "sample string 1",
"TRR_CHG_TYPE_CODE": "sample string 2",
"TRR_CHG_ID": 1,
"TRR_CHG_CODE": "sample string 3",
"TRR_BASIS_ID": 1,
"TRR_BASIS_CODE": "sample string 4",
"TRR_CUR_ID": 1,
"TRR_CUR_CODE": "sample string 5",
"TRR_AMOUNT": 1.1,
"TRR_AR_ID": 1,
"TRR_AR_CODE": "sample string 6",
"TRR_REMARKS": "sample string 7"
},
{
"TRR_ID": 1,
"TRR_CHG_TYPE": "sample string 1",
"TRR_CHG_TYPE_CODE": "sample string 2",
"TRR_CHG_ID": 1,
"TRR_CHG_CODE": "sample string 3",
"TRR_BASIS_ID": 1,
"TRR_BASIS_CODE": "sample string 4",
"TRR_CUR_ID": 1,
"TRR_CUR_CODE": "sample string 5",
"TRR_AMOUNT": 1.1,
"TRR_AR_ID": 1,
"TRR_AR_CODE": "sample string 6",
"TRR_REMARKS": "sample string 7"
}
]
}
application/xml, text/xml
Sample:
<ToRoutingInputs xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models">
<TRH_COST_DETAILS>
<RTR_COST_DETAILS>
<TRC_AMOUNT>1.1</TRC_AMOUNT>
<TRC_BASIS_CODE>sample string 4</TRC_BASIS_CODE>
<TRC_BASIS_ID>1</TRC_BASIS_ID>
<TRC_CHG_CODE>sample string 3</TRC_CHG_CODE>
<TRC_CHG_ID>1</TRC_CHG_ID>
<TRC_COST_TYPE_CODE>sample string 2</TRC_COST_TYPE_CODE>
<TRC_COST_TYPE_ID>sample string 1</TRC_COST_TYPE_ID>
<TRC_CUR_CODE>sample string 5</TRC_CUR_CODE>
<TRC_CUR_ID>1</TRC_CUR_ID>
<TRC_ID>1</TRC_ID>
<TRC_IS_INV>sample string 6</TRC_IS_INV>
<TRC_IS_INV_CODE>sample string 7</TRC_IS_INV_CODE>
<TRC_REMARKS>sample string 8</TRC_REMARKS>
</RTR_COST_DETAILS>
<RTR_COST_DETAILS>
<TRC_AMOUNT>1.1</TRC_AMOUNT>
<TRC_BASIS_CODE>sample string 4</TRC_BASIS_CODE>
<TRC_BASIS_ID>1</TRC_BASIS_ID>
<TRC_CHG_CODE>sample string 3</TRC_CHG_CODE>
<TRC_CHG_ID>1</TRC_CHG_ID>
<TRC_COST_TYPE_CODE>sample string 2</TRC_COST_TYPE_CODE>
<TRC_COST_TYPE_ID>sample string 1</TRC_COST_TYPE_ID>
<TRC_CUR_CODE>sample string 5</TRC_CUR_CODE>
<TRC_CUR_ID>1</TRC_CUR_ID>
<TRC_ID>1</TRC_ID>
<TRC_IS_INV>sample string 6</TRC_IS_INV>
<TRC_IS_INV_CODE>sample string 7</TRC_IS_INV_CODE>
<TRC_REMARKS>sample string 8</TRC_REMARKS>
</RTR_COST_DETAILS>
</TRH_COST_DETAILS>
<TRH_CP_ID>1</TRH_CP_ID>
<TRH_CREATED_BY>1</TRH_CREATED_BY>
<TRH_ID>1</TRH_ID>
<TRH_LOD_1>sample string 3</TRH_LOD_1>
<TRH_LOD_1_REF>sample string 4</TRH_LOD_1_REF>
<TRH_LOD_2>sample string 5</TRH_LOD_2>
<TRH_LOD_2_REF>sample string 6</TRH_LOD_2_REF>
<TRH_NOTES>sample string 2</TRH_NOTES>
<TRH_PROGRAM_ID>sample string 10</TRH_PROGRAM_ID>
<TRH_QUAN>1.1</TRH_QUAN>
<TRH_RATE_DETAILS>
<RTR_RATE_DETAILS>
<TRR_AMOUNT>1.1</TRR_AMOUNT>
<TRR_AR_CODE>sample string 6</TRR_AR_CODE>
<TRR_AR_ID>1</TRR_AR_ID>
<TRR_BASIS_CODE>sample string 4</TRR_BASIS_CODE>
<TRR_BASIS_ID>1</TRR_BASIS_ID>
<TRR_CHG_CODE>sample string 3</TRR_CHG_CODE>
<TRR_CHG_ID>1</TRR_CHG_ID>
<TRR_CHG_TYPE>sample string 1</TRR_CHG_TYPE>
<TRR_CHG_TYPE_CODE>sample string 2</TRR_CHG_TYPE_CODE>
<TRR_CUR_CODE>sample string 5</TRR_CUR_CODE>
<TRR_CUR_ID>1</TRR_CUR_ID>
<TRR_ID>1</TRR_ID>
<TRR_REMARKS>sample string 7</TRR_REMARKS>
</RTR_RATE_DETAILS>
<RTR_RATE_DETAILS>
<TRR_AMOUNT>1.1</TRR_AMOUNT>
<TRR_AR_CODE>sample string 6</TRR_AR_CODE>
<TRR_AR_ID>1</TRR_AR_ID>
<TRR_BASIS_CODE>sample string 4</TRR_BASIS_CODE>
<TRR_BASIS_ID>1</TRR_BASIS_ID>
<TRR_CHG_CODE>sample string 3</TRR_CHG_CODE>
<TRR_CHG_ID>1</TRR_CHG_ID>
<TRR_CHG_TYPE>sample string 1</TRR_CHG_TYPE>
<TRR_CHG_TYPE_CODE>sample string 2</TRR_CHG_TYPE_CODE>
<TRR_CUR_CODE>sample string 5</TRR_CUR_CODE>
<TRR_CUR_ID>1</TRR_CUR_ID>
<TRR_ID>1</TRR_ID>
<TRR_REMARKS>sample string 7</TRR_REMARKS>
</RTR_RATE_DETAILS>
</TRH_RATE_DETAILS>
<TRH_ROUTE_DETAILS>
<TNR_ROUTE_DETAILS>
<TRU_DROP_ADD>sample string 6</TRU_DROP_ADD>
<TRU_DROP_CT_CODE>sample string 4</TRU_DROP_CT_CODE>
<TRU_DROP_CT_ID>1</TRU_DROP_CT_ID>
<TRU_DROP_ZIP>sample string 5</TRU_DROP_ZIP>
<TRU_ID>1</TRU_ID>
<TRU_LEG_NUM>1</TRU_LEG_NUM>
<TRU_NOTES>sample string 7</TRU_NOTES>
<TRU_PICK_ADD>sample string 3</TRU_PICK_ADD>
<TRU_PICK_CT_CODE>sample string 1</TRU_PICK_CT_CODE>
<TRU_PICK_CT_ID>1</TRU_PICK_CT_ID>
<TRU_PICK_ZIP>sample string 2</TRU_PICK_ZIP>
</TNR_ROUTE_DETAILS>
<TNR_ROUTE_DETAILS>
<TRU_DROP_ADD>sample string 6</TRU_DROP_ADD>
<TRU_DROP_CT_CODE>sample string 4</TRU_DROP_CT_CODE>
<TRU_DROP_CT_ID>1</TRU_DROP_CT_ID>
<TRU_DROP_ZIP>sample string 5</TRU_DROP_ZIP>
<TRU_ID>1</TRU_ID>
<TRU_LEG_NUM>1</TRU_LEG_NUM>
<TRU_NOTES>sample string 7</TRU_NOTES>
<TRU_PICK_ADD>sample string 3</TRU_PICK_ADD>
<TRU_PICK_CT_CODE>sample string 1</TRU_PICK_CT_CODE>
<TRU_PICK_CT_ID>1</TRU_PICK_CT_ID>
<TRU_PICK_ZIP>sample string 2</TRU_PICK_ZIP>
</TNR_ROUTE_DETAILS>
</TRH_ROUTE_DETAILS>
<TRH_ROU_CODE>sample string 8</TRH_ROU_CODE>
<TRH_ROU_NAME>sample string 9</TRH_ROU_NAME>
<TRH_SEARCH>sample string 11</TRH_SEARCH>
<TRH_STATUS>sample string 7</TRH_STATUS>
<TRH_TOT_KM>1.1</TRH_TOT_KM>
<TRH_TRIP_TYPE>sample string 1</TRH_TRIP_TYPE>
<TRH_UOM_ID>1</TRH_UOM_ID>
</ToRoutingInputs>
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. |