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"=>"2022-07-02T18:32:00", "received"=>"2022-07-02T18:44:11Z", "value"=>23}, {"reading"=>"2022-07-02T18:37:00", "received"=>"2022-07-02T18:44:11Z", "value"=>23}, {"reading"=>"2022-07-02T18:42:00", "received"=>"2022-07-02T18:44:11Z", "value"=>24}], "t2"=>[{"reading"=>"2022-07-03T18:32:00", "received"=>"2022-07-03T18:44:11Z", "value"=>23}, {"reading"=>"2022-07-03T18:37:00", "received"=>"2022-07-03T18:44:11Z", "value"=>23}, {"reading"=>"2022-07-03T18:42:00", "received"=>"2022-07-03T18:44:11Z", "value"=>24}], "vibration"=>[{"reading"=>"2022-07-03T18:32:00", "received"=>"2022-07-03T18:44:11Z", "value"=>23}, {"reading"=>"2022-07-03T18:37:00", "received"=>"2022-07-03T18:44:11Z", "value"=>23}, {"reading"=>"2022-07-03T18:42:00", "received"=>"2022-07-03T18:44:11Z", "value"=>24}], "light"=>[{"reading"=>"2022-06-03T18:32:00", "received"=>"2022-06-03T18:44:11Z", "value"=>23}, {"reading"=>"2022-06-03T18:37:00", "received"=>"2022-06-03T18:44:11Z", "value"=>23}, {"reading"=>"2022-06-03T18:42:00", "received"=>"2022-06-03T18:44:11Z", "value"=>24}], "location"=>[{"reading"=>"2022-10-18T18:42:00", "received"=>"2022-10-18T18:44:11Z", "lat"=>37.6509977, "long"=>-121.0301494}], "proccess"=>true}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
authorization | string | (Required) |