POST api/TransportOrder/TOLocationUpdate
Request Information
URI Parameters
None.
Body Parameters
TripLocation| Name | Description | Type | Additional information |
|---|---|---|---|
| trl_id | integer |
None. |
|
| trl_to_id | integer |
None. |
|
| trl_trk_id | integer |
None. |
|
| trl_type | string |
None. |
|
| trl_from_add | string |
None. |
|
| trl_from_lat | string |
None. |
|
| trl_from_long | string |
None. |
|
| trl_to_add | string |
None. |
|
| trl_to_lat | string |
None. |
|
| trl_to_long | string |
None. |
|
| trl_poly_line | string |
None. |
|
| trl_radius | decimal number |
None. |
|
| trl_distance | decimal number |
None. |
|
| trl_duration | decimal number |
None. |
|
| trl_rotation | decimal number |
None. |
|
| trl_status | string |
None. |
|
| trl_status_code | string |
None. |
|
| trl_notes | string |
None. |
|
| trl_cus_created_by | integer |
None. |
|
| trl_source | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"trl_id": 1,
"trl_to_id": 1,
"trl_trk_id": 1,
"trl_type": "sample string 1",
"trl_from_add": "sample string 2",
"trl_from_lat": "sample string 3",
"trl_from_long": "sample string 4",
"trl_to_add": "sample string 5",
"trl_to_lat": "sample string 6",
"trl_to_long": "sample string 7",
"trl_poly_line": "sample string 8",
"trl_radius": 1.1,
"trl_distance": 1.1,
"trl_duration": 1.1,
"trl_rotation": 1.1,
"trl_status": "sample string 9",
"trl_status_code": "sample string 10",
"trl_notes": "sample string 11",
"trl_cus_created_by": 1,
"trl_source": "sample string 12"
}
application/xml, text/xml
Sample:
<TripLocation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <trl_cus_created_by>1</trl_cus_created_by> <trl_distance>1.1</trl_distance> <trl_duration>1.1</trl_duration> <trl_from_add>sample string 2</trl_from_add> <trl_from_lat>sample string 3</trl_from_lat> <trl_from_long>sample string 4</trl_from_long> <trl_id>1</trl_id> <trl_notes>sample string 11</trl_notes> <trl_poly_line>sample string 8</trl_poly_line> <trl_radius>1.1</trl_radius> <trl_rotation>1.1</trl_rotation> <trl_source>sample string 12</trl_source> <trl_status>sample string 9</trl_status> <trl_status_code>sample string 10</trl_status_code> <trl_to_add>sample string 5</trl_to_add> <trl_to_id>1</trl_to_id> <trl_to_lat>sample string 6</trl_to_lat> <trl_to_long>sample string 7</trl_to_long> <trl_trk_id>1</trl_trk_id> <trl_type>sample string 1</trl_type> </TripLocation>
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. |