POST api/GPS/FetchGPSTripCalculation
Request Information
URI Parameters
None.
Body Parameters
TripCalculationName | Description | Type | Additional information |
---|---|---|---|
ttc_id | integer |
None. |
|
ttc_ap_id | integer |
None. |
|
ttc_veh_id | integer |
None. |
|
ttc_from_date | date |
None. |
|
ttc_to_date | date |
None. |
|
ttc_veh_type | integer |
None. |
|
ttc_from_leg | integer |
None. |
|
ttc_to_leg1 | integer |
None. |
|
ttc_to_leg2 | integer |
None. |
|
ttc_inv_num | string |
None. |
|
ttc_no_of_inv | integer |
None. |
|
ttc_no_of_troll | integer |
None. |
|
ttc_in_time | date |
None. |
|
ttc_out_time | date |
None. |
|
ttc_cost | decimal number |
None. |
|
ttc_remarks | string |
None. |
|
ttc_history | string |
None. |
|
ttc_created_by | integer |
None. |
|
ttc_topid | integer |
None. |
|
ttc_log_id | integer |
None. |
|
tc_trip_calculation | Collection of tc_trip_calculation |
None. |
Request Formats
application/json, text/json
Sample:
{ "ttc_id": 1, "ttc_ap_id": 1, "ttc_veh_id": 1, "ttc_from_date": "2025-04-29T15:02:42.0198592+05:30", "ttc_to_date": "2025-04-29T15:02:42.0198592+05:30", "ttc_veh_type": 1, "ttc_from_leg": 1, "ttc_to_leg1": 1, "ttc_to_leg2": 1, "ttc_inv_num": "sample string 1", "ttc_no_of_inv": 1, "ttc_no_of_troll": 1, "ttc_in_time": "2025-04-29T15:02:42.0198592+05:30", "ttc_out_time": "2025-04-29T15:02:42.0198592+05:30", "ttc_cost": 1.1, "ttc_remarks": "sample string 2", "ttc_history": "sample string 3", "ttc_created_by": 1, "ttc_topid": 1, "ttc_log_id": 1, "tc_trip_calculation": [ { "ttc_ap_id": 1, "ttc_veh_id": 1, "ttc_from_date": "2025-04-29T15:02:42.0198592+05:30", "ttc_to_date": "2025-04-29T15:02:42.0198592+05:30", "ttc_veh_type": 1, "ttc_from_leg": 1, "ttc_to_leg1": 1, "ttc_to_leg2": 1, "ttc_inv_num": "sample string 1", "ttc_no_of_inv": 1, "ttc_no_of_troll": 1, "ttc_in_time": "2025-04-29T15:02:42.0198592+05:30", "ttc_out_time": "2025-04-29T15:02:42.0198592+05:30", "ttc_cost": 1.1, "ttc_remarks": "sample string 2", "ttc_history": "sample string 3", "ttc_created_by": 1, "ttc_topid": 1, "ttc_log_id": 1 }, { "ttc_ap_id": 1, "ttc_veh_id": 1, "ttc_from_date": "2025-04-29T15:02:42.0198592+05:30", "ttc_to_date": "2025-04-29T15:02:42.0198592+05:30", "ttc_veh_type": 1, "ttc_from_leg": 1, "ttc_to_leg1": 1, "ttc_to_leg2": 1, "ttc_inv_num": "sample string 1", "ttc_no_of_inv": 1, "ttc_no_of_troll": 1, "ttc_in_time": "2025-04-29T15:02:42.0198592+05:30", "ttc_out_time": "2025-04-29T15:02:42.0198592+05:30", "ttc_cost": 1.1, "ttc_remarks": "sample string 2", "ttc_history": "sample string 3", "ttc_created_by": 1, "ttc_topid": 1, "ttc_log_id": 1 } ] }
application/xml, text/xml
Sample:
<TripCalculation xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZealitAPI.Models"> <tc_trip_calculation> <tc_trip_calculation> <ttc_ap_id>1</ttc_ap_id> <ttc_cost>1.1</ttc_cost> <ttc_created_by>1</ttc_created_by> <ttc_from_date>2025-04-29T15:02:42.0198592+05:30</ttc_from_date> <ttc_from_leg>1</ttc_from_leg> <ttc_history>sample string 3</ttc_history> <ttc_in_time>2025-04-29T15:02:42.0198592+05:30</ttc_in_time> <ttc_inv_num>sample string 1</ttc_inv_num> <ttc_log_id>1</ttc_log_id> <ttc_no_of_inv>1</ttc_no_of_inv> <ttc_no_of_troll>1</ttc_no_of_troll> <ttc_out_time>2025-04-29T15:02:42.0198592+05:30</ttc_out_time> <ttc_remarks>sample string 2</ttc_remarks> <ttc_to_date>2025-04-29T15:02:42.0198592+05:30</ttc_to_date> <ttc_to_leg1>1</ttc_to_leg1> <ttc_to_leg2>1</ttc_to_leg2> <ttc_topid>1</ttc_topid> <ttc_veh_id>1</ttc_veh_id> <ttc_veh_type>1</ttc_veh_type> </tc_trip_calculation> <tc_trip_calculation> <ttc_ap_id>1</ttc_ap_id> <ttc_cost>1.1</ttc_cost> <ttc_created_by>1</ttc_created_by> <ttc_from_date>2025-04-29T15:02:42.0198592+05:30</ttc_from_date> <ttc_from_leg>1</ttc_from_leg> <ttc_history>sample string 3</ttc_history> <ttc_in_time>2025-04-29T15:02:42.0198592+05:30</ttc_in_time> <ttc_inv_num>sample string 1</ttc_inv_num> <ttc_log_id>1</ttc_log_id> <ttc_no_of_inv>1</ttc_no_of_inv> <ttc_no_of_troll>1</ttc_no_of_troll> <ttc_out_time>2025-04-29T15:02:42.0198592+05:30</ttc_out_time> <ttc_remarks>sample string 2</ttc_remarks> <ttc_to_date>2025-04-29T15:02:42.0198592+05:30</ttc_to_date> <ttc_to_leg1>1</ttc_to_leg1> <ttc_to_leg2>1</ttc_to_leg2> <ttc_topid>1</ttc_topid> <ttc_veh_id>1</ttc_veh_id> <ttc_veh_type>1</ttc_veh_type> </tc_trip_calculation> </tc_trip_calculation> <ttc_ap_id>1</ttc_ap_id> <ttc_cost>1.1</ttc_cost> <ttc_created_by>1</ttc_created_by> <ttc_from_date>2025-04-29T15:02:42.0198592+05:30</ttc_from_date> <ttc_from_leg>1</ttc_from_leg> <ttc_history>sample string 3</ttc_history> <ttc_id>1</ttc_id> <ttc_in_time>2025-04-29T15:02:42.0198592+05:30</ttc_in_time> <ttc_inv_num>sample string 1</ttc_inv_num> <ttc_log_id>1</ttc_log_id> <ttc_no_of_inv>1</ttc_no_of_inv> <ttc_no_of_troll>1</ttc_no_of_troll> <ttc_out_time>2025-04-29T15:02:42.0198592+05:30</ttc_out_time> <ttc_remarks>sample string 2</ttc_remarks> <ttc_to_date>2025-04-29T15:02:42.0198592+05:30</ttc_to_date> <ttc_to_leg1>1</ttc_to_leg1> <ttc_to_leg2>1</ttc_to_leg2> <ttc_topid>1</ttc_topid> <ttc_veh_id>1</ttc_veh_id> <ttc_veh_type>1</ttc_veh_type> </TripCalculation>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | 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. |