Duplicate Shipment trip number
POST
{{baseUrl}}/account/:accountID/shipment
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 |
HEADERS
Key |
Datatype |
Required |
Description |
authorization
|
string |
|
(Required)
|
RESPONSES
status
curl -X POST 'https://7qzar0u2yd.execute-api.us-east-1.amazonaws.com/test//account/:accountID/shipment' -H 'authorization: eyJhbGciOiJub25lIn0.eyJhZG1pbiI6dHJ1ZSwidXNlcklEIjoiNjM5NzViZDRkY2Q2OTMwMDJjMzgxMDMzIiwiaWF0IjoxNjg1MDIwNTE4LCJpc3MiOiJ1cm46Zmxhc2h0cmFrOmlzc3VlciIsImF1ZCI6InVybjp1c2VyOmF1ZGllbmNlIiwiZXhwIjoyMDAwNTk2NTE4fQ.' -d '{"shipment_name":"Test","shipment_id":"123456789","configuration":"disabled","trip_number":"TAGO123774727356785","purchase_order":"string","carrier_id":"C1685455468847","receiver_id":"L1685470400739","shipper_id":"L1683118730021","estimated_departure_date":"2023-05-26T18:46:19Z","estimated_arrival_date":"2023-05-26T18:46:19Z","product_id":"ad9dc40b8c9246cc5e6b8b263","airline":{"estimated_departure_date":"2023-05-26T18:46:19Z","estimated_arrival_date":"2023-05-26T18:46:19Z","flight_hours":0,"airline":"string","flight_number":"string","departure_airport_id":"L1685127167549","arrival_airport_id":"L1685127167549","flight_mode":true},"maritime":{"bol":"string","scac":"string","user_estimated_departure_date":"2023-05-26T18:46:19Z","user_estimated_arrival_date":"2023-05-26T18:46:19Z","vessel_name":"string","vessel_imo":"string","departure_port_id":"L1685124592532","arrival_port_id":"L1685124592532"}}'