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

Request Params

KeyDatatypeRequiredDescription
qtynumberAmount of readings to receive. Default is 15. (Optional)
start_datestringGet readings starting with the specified date in UTC (Optional)
end_datestringGet readings up to specifie date in UTC (Optional)

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring

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}]