List Flight Mode - Invalid Query
GET {{baseUrl}}/admin/flightmode
Get list of all shipments with Flight Mode enabled ■ Returns the flight mode details for ALL non-completed shipments with flight
mode settings
■ These results should not be tied/limited to a specific account, because it will be
called the DeltaTrak device communication services
■ There should be some special DeltaTrak API key that will be used for these
admin
calls that will be used by DT (not the customer)
Body
PARAM
Key | Datatype | Required | Description |
deviceID
|
number | (Optional) string | |
shipmentID
|
number | (Optional) string | |
tripID
|
number | (Optional) string | |
shipperId
|
number | (Optional) string | |
receiverID
|
number | (Optional) string | |
status
|
string | (Optional) completed | progress | opened | |
createdAt
|
string | (Optional) Date | |
query
|
string | Curl curl -X GET 'https://7qzar0u2yd.execute-api.us-east-1.amazonaws.com/test//admin/flightmode?deviceID=123&shipmentID=123&tripID=123&shipperId=123&receiverID=123&status=completed&createdAt=2022-03-01 11:00&query=count' -H 'authorization: eyJhbGciOiJub25lIn0.eyJhZG1pbiI6dHJ1ZSwidXNlcklEIjoiNjM5NzViZDRkY2Q2OTMwMDJjMzgxMDMzIiwiaWF0IjoxNjg1MDIwNTE4LCJpc3MiOiJ1cm46Zmxhc2h0cmFrOmlzc3VlciIsImF1ZCI6InVybjp1c2VyOmF1ZGllbmNlIiwiZXhwIjoyMDAwNTk2NTE4fQ.' ENDPOINTS |