Send Readings

POST {{baseUrl}}/account/:accountID/shipment/:tripNumber/data

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)

Request Body

{"t1"=>[{"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>13}, {"reading"=>"2023-06-15T14:17:00", "received"=>"2023-06-15T14:14:11Z", "value"=>23}, {"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>32}], "t2"=>[{"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>13}, {"reading"=>"2023-06-15T14:17:00", "received"=>"2023-06-15T14:14:11Z", "value"=>43}, {"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>52}], "vibration"=>[{"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>23}, {"reading"=>"2023-06-15T14:17:00", "received"=>"2023-06-15T14:14:11Z", "value"=>73}, {"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>35}], "light"=>[{"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>23}, {"reading"=>"2023-06-15T14:17:00", "received"=>"2023-06-15T14:14:11Z", "value"=>63}, {"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>2}], "co2"=>[{"reading"=>"2023-06-15T14:12:00", "received"=>"2023-06-15T14:14:11Z", "value"=>2}], "location"=>[{"reading"=>"2023-06-15T18:42:00", "received"=>"2023-06-15T18:44:11Z", "lat"=>37.6509977, "long"=>-121.0301494}], "process"=>true}

HEADERS

KeyDatatypeRequiredDescription
authorizationstring(Required)