Version 4.0.0 of project44's API. If you're not familiar with project44, we recommend checking out our guides first: https://developers.project44.com/guides/shippers and https://developers.project44.com/guides/carriers.
Version 4.0.0 of project44's API. If you're not familiar with project44, we recommend checking out our guides first: https://developers.project44.com/guides/shippers and https://developers.project44.com/guides/carriers.
API used for registering and managing OAuth 2.0 client applications. See the "Authentication" section above for more information. To authorize API requests to project44 for an API integration, first your client application must be registered with project44, which will issue your application a client id and secret. These credentials can then be used to generate bearer tokens, which can be included on all other API requests to authorize your client application. The client application is authorized through the project44 user management UI as a machine user with username "app-{client_id}@client-applications.project44.com".
An admin user (with Movement user role "Customer Admin") must use HTTP Basic Authentication with this API to manage client applications. Basic Authentication is deprecated for all other APIs, besides token generation, in favor of passing the access token generated via OAuth 2.0.
API for OAuth 2.0 token generation. See the "Authentication" section above for more information. Once your client application is registered, you can use the token generation endpoint to authenticate with your application's client id and secret in exchange for a bearer token to be included on all other API requests to authenticate as that client application. The client application is authorized through the project44 user management UI as a machine user with username "app-{client_id}@client-applications.project44.com".
To generate an access token, you may authenticate your client application by providing its client id and secret either in the body of the request or in the form of HTTP Basic Authentication (but you may not use both ways in the same request).
${OceanShipment.v4.apiModel.attributes.value}
${OceanShipment.v4.apiModel.equipmentIdentifier.value}
curl -i -X POST \ 'https://na12.api.project44.com/api/v4/ocean/shipments?accountNonExpired=true&accountNonLocked=true&credentialsNonExpired=true&enabled=true&id=0&locale=string®istrationDate=2019-08-24T14%3A15%3A22Z&tenantId=0&tenantPurpose=DEFAULT&tenantUuid=e46705ba-31a8-4f12-b6d3-f41ec1d77a9a&username=string' \ -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", "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", "shipmentIdentifiers": [ … ] } }
curl -i -X DELETE \ 'https://na12.api.project44.com/api/v4/ocean/shipments/{id}?accountNonExpired=true&accountNonLocked=true&credentialsNonExpired=true&enabled=true&id=0&locale=string®istrationDate=2019-08-24T14%3A15%3A22Z&tenantId=0&tenantPurpose=DEFAULT&tenantUuid=e46705ba-31a8-4f12-b6d3-f41ec1d77a9a&username=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
Determines whether the history of the container's position over water should be included in the response.
Determines whether the custom shipment attributes should be included in the response.
curl -i -X GET \ 'https://na12.api.project44.com/api/v4/ocean/shipments/{id}/statuses?accountNonExpired=true&accountNonLocked=true&credentialsNonExpired=true&enabled=true&id=0&includeCustomAttributes=false&includeMapUrl=false&includePositionData=false&locale=string®istrationDate=2019-08-24T14%3A15%3A22Z&tenantId=0&tenantPurpose=DEFAULT&tenantUuid=e46705ba-31a8-4f12-b6d3-f41ec1d77a9a&username=string' \ -H 'Authorization: Bearer <YOUR_TOKEN_HERE>'
{ "infoMessages": [ { … } ], "trackedShipment": { "attributes": [ … ], "carrierSCACCode": "string", "containerDetails": { … }, "equipmentIdentifier": { … }, "events": [ … ], "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa", "mapUrl": "string", "oceanLegId": "fb86bc46-1c8b-49c4-b28c-fcebe681d76f", "positions": [ … ], "shipmentIdentifiers": [ … ], "stops": [ … ], "states": [ … ], "vessels": [ … ] } }