Last GPS Status API
This is FreightTiger’s GPS API
GPS API sends in response the last available location ping details
If GPS Integration is done at the Company level, sending just the Vehicle number in the payload will suffice.
If GPS Integration is done at the Transporter level, along with the Vehicle number, the customer has to send the corresponding transporter refcode to get the location details.
Even if there is at least one ping available for the vehicle in the last one month, gps_availability will be sent as
true
and ping details will havelat
,lng
andlast_update
fields.If no single ping is available for the vehicle, which means FT never tracked it, gps_availability will be sent as
false
and ping details will benull
.
Servers
https://integration.freighttiger.com - Integration/Sandbox Server
https://www.freighttiger.com - Production Server
Last GPS Status API
POST /saas/data/vehicle/gpsStatus - post API to fetch last GPS status
Schema:
{
"vehicle_number": {
"type": "string",
"description": "vehicle number"
"mandatory": true
},
"transporter_code": {
"type": "string",
"description": "transporter ref code (short code in Lego)"
"mandatory": false
}
}
Sample payload:
{
"vehicle_number": "MH48AY1174",
"transporter_code": "MD132DAX4"
}
Response
{
"gps_availability": {
"type": "boolean",
"example": "true",
"description": "GPS availability"
},
"last_ping": {
"lat": {
"type": "string",
"example": "19.4565434",
"description": "lalitute of the location"
},
"lng": {
"type": "string",
"example": "12.4565445",
"description": "longtitude of the location"
},
"last_update": {
"type": "string",
"example": "2020-10-21 22: 34: 11",
"description": "Timestamp in UTC"
}
}
}
Sample Response:
Status code: 200 Data available
Post your questions in the comment box to get answers from the experts who watch this page.
For engineering support: visit FT Support