Get Trip Summary

Clients call this API to get distinct trip events for each trip by passing time range, limit of trips in URL.

 

API Endpoint:

https://integration.freighttiger.com/saas/trips - Integration/Sandbox Environment

https://www.freighttiger.com/saas/trips - Production Environment

Headers Parameters:

Field key

Data Type

Description

Example

Field key

Data Type

Description

Example

Authorization

string

JWT token required to authenticate API call.

Authorization: Bearer eyJhbGciOiJIUzI1Ni

 

Query parameters:

Field key

Data type

Description

Example value

Field key

Data type

Description

Example value

start_timestamp *

integer

Starting timestamp range in EPOCH to get trip ids

1631766043

end_timestamp *

integer

Ending timestamp range in EPOCH to get trip ids

1632378047

limit

integer

No of trips to be returned - max limit of 1000

10

since_trip

integer

Trip Id to start with in the time range for pagination

6132378

 

Responses:

 

Status code 200 - Get Trip Event Details for the given time range

{ "success": true, "data": [ { "id": 1891651, "created_at": 1582722616, "feed_unique_id": "8257255263", "event_list": [ "SalesOrder", "DeliveryOrder", "Shipment", "PackingCall", "GateIn", "GateOut", "TareWeight", "GrossWeight", "YardIn", "Loading", "Yard Out", "DoPublish", "DOApproval", "VcleTag", "EWB", "BillPayment", "POD" ] } ] }

 

Status code 401 - Bad Request - Auth failure

"UnAuthorized"

 

{ "success": false, "message": [] }

 

 

Success Response Schema:



Post your questions in the comment box to get answers from the experts who watch this page.

For engineering support: visit FT Support