Last seen Image
With the new Genlogs Last Seen Image feature in carrier observation endpoint, you can receive details of the last time it was detected a truck of the carrier, including the URL for the image, datetime and location.
When the last_seen_image parameter is set to 'True', the carrier observation system includes details related to the recent carrier truck detection according to Genlogs Sensor network.
In addition to the base parameters described in Query Parameters:, can be also sent the parameter
last_seen_image (boolean, optional): Determine if is needed to return last seen image information. Adds to the response an attribute that contains the information about the last see image for a given carrier in the Genlogs Sensor network, when the user has this functionality enabled.
In addition to the base attributes described in Response: when the carrier observations request includes the last_seen_image parameter, the response will also include the following attributes
last_seen_image (last_seen_image objects): Details of the last seen image.
url: string, address to see the image of the carrier.
timestamp: datetime of the last seen image.
location_city: city where data was captured.
location_state: state where data was captured.
Request Example
curl -X GET 'https://api.genlogs.io/visual_sightings/carrier-observations?usdot_number=3481976&location_city=enfield&location_state=NC&last_seen_image=True' \
-H 'Access-Token: {access_token}' \
-H 'x-api-key: {your_api_key}' \
-i
Last updated