Get End Date
GET {{baseUrl}}/shipment/:tripNumber/readings?end_date=2023-01-24 21: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
}
] |
ENDPOINTS