...
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 and even if it is an old pingin 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
.
...