Version 4.0.0 of project44's API
Version 4.0.0 of project44's API
oceanShipment
An optional user-defined set of custom attributes to associate with this shipment.
The SCAC code identifying the carrier transporting the given container. This field is required.
This id links 1 or more legs as part of the same overall shipment. For intermodal shipments, pass an existing masterShipmentId to link this ocean leg to the overall master shipment. Otherwise pass any valid new UUID to create a new shipment. If no masterShipmentId is passed on POST request a new UUID will be generated. This value will always be returned on all responses.
The project44-generated id for the ocean shipment. This id may be used in subsequent API calls to reference a shipment.
DEPRECATED: The project44-generated id for tracking an intermodal shipment. This id may be used in subsequent API calls to reference a shipment. This field is deprecated, use masterShipmentId instead.
curl -i -X POST \ https://developers.project44.com/_mock/guides/shippers/visibility/ocean/api/api/v4/ocean/shipments \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \ -H 'Content-Type: application/json' \ -d '{ "attributes": [ { "name": "string", "value": "string", "values": [ "string" ] } ], "carrierSCACCode": "string", "equipmentIdentifier": { "type": "CONTAINER_ID", "value": "string" }, "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa", "oceanLegId": "fb86bc46-1c8b-49c4-b28c-fcebe681d76f", "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "shipmentIdentifiers": [ { "type": "BILL_OF_LADING", "value": "string" } ] }'
{ "infoMessages": [ { … } ], "shipment": { "attributes": [ … ], "carrierSCACCode": "string", "equipmentIdentifier": { … }, "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa", "oceanLegId": "fb86bc46-1c8b-49c4-b28c-fcebe681d76f", "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "shipmentIdentifiers": [ … ] } }
curl -i -X DELETE \ 'https://developers.project44.com/_mock/guides/shippers/visibility/ocean/api/api/v4/ocean/shipments/{id}' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "httpStatusCode": 0, "httpMessage": "string", "errorMessage": "string", "errors": [ { … } ], "supportReferenceId": "string" }
curl -i -X GET \ 'https://developers.project44.com/_mock/guides/shippers/visibility/ocean/api/api/v4/ocean/shipments/{id}/statuses?includeCustomAttributes=false&includeMapUrl=false&includePositionData=false' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "infoMessages": [ { … } ], "trackedShipment": { "attributes": [ … ], "carrierSCACCode": "string", "containerDetails": { … }, "equipmentIdentifier": { … }, "events": [ … ], "mapUrl": "string", "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa", "oceanLegId": "fb86bc46-1c8b-49c4-b28c-fcebe681d76f", "positions": [ … ], "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "shipmentIdentifiers": [ … ], "states": [ … ], "stops": [ … ], "vessels": [ … ] } }