Logo
DeltaTrak API Documentation

Get Readings

GET {{baseUrl}}/shipment/:tripNumber/readings?qty=15&start_date=2022-11-21 11:00&end_date=2022-11-21 24:00

Gets the sensor data recorded for the requested Shipment ID

■ Returns device reading array for single shipment
■ Includes separate array of maritime/sea-rates vessel geo-locations, if exists

 

Body PARAM

Key Datatype Required Description 
qty
number Amount of readings to receive. Default is 15. (Optional)
start_date
string Get readings starting with the specified date in UTC (Optional)
end_date
string Get readings up to specifie date in UTC (Optional)



HEADERS

Key Datatype Required Description 
Authorization
string




RESPONSES

status OK

[ { "date": "2022-11-17T17:56:14.659Z", "temperature": 36, "temperature2": 45, "light": 8, "vibration": null, "latitude": 42.90774795939508, "longitude": -71.1848831176758 }, { "date": "2022-11-17T17:54:38.785Z", "temperature": 28, "temperature2": 37, "light": 4, "vibration": 4, "latitude": 39.35124862285102, "longitude": -75.5632781982422 } ]

Curl
curl -X GET 'https://axeecknwif.execute-api.us-east-1.amazonaws.com/prod//shipment/:tripNumber/readings?qty=15&start_date=2022-11-21 11:00&end_date=2022-11-21 24:00?qty=15&start_date=2022-11-21 11:00&end_date=2022-11-21 24:00' -H 'Authorization: token'

ENDPOINTS