Get status updates with dates and times

When parsing the whole transport JSON, all the status updates are listed in the status_updates list of the transport.
Status updates are characterized by these fields:
  • category : Category gives the kind of the status_update. Most important categories are: on_loading_site , loading_complete, on_unloading_site, unloading_complete
  • site: The status updates listed above (on_loading_site, ...) refer to a site, because they may complete multiple deliveries at the same time (see the article on Transport - Segment - Deliveries). This field is the uid of the site that the status_update refers to. You can find the right deliveries/segments by checking the uid of the origin or destination of the deliveries/segments of the transport.
  • created_device: This is the date-time of the creation of the status update on the device of the trucker. On the other hand, created is the date-time of the creation of the status update on the server. If created_device is missing, use created (it may mean the status update was created from the web application)
Using this information, you'll be able to get real-time information on the status of transports!