Get Booking Information
Get shipment or Ocean booking information.
Get a Shipment Created for an Ocean Booking
Get information for a Multi-modal shipment that was created to for an Ocean booking.
Requirements
At a minimum, have the following information
- Shipment ID (the project44-generated
id
returned in the Create a Shipment response.)
Workflow
Complete these steps:
- Prepare a
GET
request to /services/booking/v1/shipments/{shipmentId}. Please, connect with your project44 Technical Contact for the Booking API Reference Documentation. - Enter all required information.
- Send the request.
Expected System Responses
The request is successfully submitted and confirmed when a 200
response is received.
{ "identifiers": [ { "type": "AIR_WAYBILL", "value": "string" } ], "routeInfo": { "stops": [ { "id": "257296aa-4e11-4168-b6a7-981b8b94815b", "type": "PICKUP", "arrivalAppointmentWindow": { "startTime": "10:15:22", "endTime": "11:15:22" }, "contacts": [ { "companyName": "string" } ], "location": { "identifiers": [ { "type": "string", "value": "string" } ], "address": { "addressLines": [ "string" ] }, "geoCoordinates": { "latitude": -90, "longitude": -180 } } }, { "id": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56", "type": "DELIVERY", "arrivalAppointmentWindow": { "startTime": "14:15:22", "endTime": "15:15:22" }, "contacts": [ { "companyName": "string" } ], "location": { "identifiers": [ { "type": "string", "value": "string" } ], "address": { "addressLines": [ "string" ] }, "geoCoordinates": { "latitude": -90, "longitude": -180 } } } ], "routeSegments": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fromStopId": "257296aa-4e11-4168-b6a7-981b8b94815b", "toStopId": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56" } ] }, "bookings": [ { "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "capacityProviderIdentifier": { "type": "SCAC", "value": "string" }, "carrierContacts": [ { "companyName": "string" } ], "totalRate": { "currency": "USD", "amount": 0 }, "rateIdentifiers": [ { "source": "SYSTEM", "type": "SPOT_QUOTE" } ], "expirationDateTime": "2019-08-24T14:15:22", "routeSegmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "shipmentDetails": [ { "pickupStopId": "257296aa-4e11-4168-b6a7-981b8b94815b", "deliveryStopId": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56", "items": [ { "description": "string", "unitQuantity": 0, "unitType": "BAG" } ], "identifiers": [ { "type": "BILL_OF_LADING", "value": "string" } ], "loadId": "9fa4c9ea-0db7-4bb2-8f50-086d18a90403" } ], "shipperContactInfo": { "companyName": "string" }, "shippingDetails": { "loadPreference": "FULL", "trailerType": "FLATBED", "trailerLength": { "value": 0, "unit": "FT" }, "trailerVolume": { "value": 0, "unit": "CUBIC_FT" }, "flatbedType": "CONESTOGA" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "BOOKED", "shipmentIdentifiers": [ { "type": "BILL_OF_LADING", "value": "string" } ], "routeSegments": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fromStop": { "id": "257296aa-4e11-4168-b6a7-981b8b94815b", "type": "PICKUP", "arrivalAppointmentWindow": { "startTime": "10:15:22", "endTime": "11:15:22" } }, "toStop": { "id": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56", "type": "DELIVERY", "arrivalAppointmentWindow": { "startTime": "14:15:22", "endTime": "15:15:22" } } } ], "carrierResponseMethod": "EMAIL", "bookingSourceMethod": "API", "transportationMode": "TRUCKLOAD", "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa", "carrierProvidedIdentifiers": [ { "type": "string", "value": "string" } ] } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }
Errors
If there was a problem with your request, you will receive one of the following error codes:
400 Bad Request
401 Unauthorized
404 Not Found
See Error Response Codes in the Appendix for more information on the meaning of these error codes.
Fields and Objects
The table below describes only the minimum relevant fields of the API Request to get a shipment. For more information on all fields, please, connect with your project44 Technical Contact for the Booking API Reference Documentation.
Field | Description |
---|---|
shipmentId | The project44-generated shipment identifier (id ) returned in the response for Create a Shipment Containing an Ocean Booking. |
Get Shipments Created for an Ocean Booking
Get information for shipments that were created for an Ocean booking.
Requirements
At a minimum, have the following information
- Shipment Identifier. NOTE: This is different from the project44-generated Shipment ID.
- Attribute Name & Value
- Page Number and Size
Workflow
Complete these steps:
- Prepare a
GET
request to /services/booking/v1/shipments. Please, connect with your project44 Technical Contact for the Booking API Reference Documentation. - Enter all required information.
- Send the request.
Expected System Responses
The request is successfully submitted and confirmed when a 200
response is received.
{ "identifiers": [ { "type": "BILL_OF_LADING", "value": "string" } ], "routeInfo": { "stops": [ { "id": "257296aa-4e11-4168-b6a7-981b8b94815b", "type": "PICKUP", "arrivalAppointmentWindow": { "startTime": "14:15:22", "endTime": "14:15:22" }, "contacts": [ { "companyName": "string" } ], "location": { "identifiers": [ { "type": "AIRPORT_IATA", "value": "string" } ], "address": { "addressLines": [ "string" ] }, "geoCoordinates": { "latitude": -90, "longitude": -180 } } }, { "id": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56", "type": "DELIVERY", "arrivalAppointmentWindow": { "startTime": "14:15:22", "endTime": "14:15:22" }, "contacts": [ { "companyName": "string" } ], "location": { "identifiers": [ { "type": "AIRPORT_IATA", "value": "string" } ], "address": { "addressLines": [ "string" ] }, "geoCoordinates": { "latitude": -90, "longitude": -180 } } } ], "routeSegments": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fromStopId": "257296aa-4e11-4168-b6a7-981b8b94815b", "toStopId": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56" } ] }, "bookings": [ { "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "capacityProviderIdentifier": { "type": "SCAC", "value": "string" }, "carrierContacts": [ { "companyName": "string" } ], "totalRate": { "currency": "USD", "amount": 0 }, "rateIdentifiers": [ { "source": "SYSTEM", "type": "SPOT_QUOTE" } ], "expirationDateTime": "2019-08-24T14:15:22", "routeSegmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "shipmentDetails": [ { "pickupStopId": "257296aa-4e11-4168-b6a7-981b8b94815b", "deliveryStopId": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56", "items": [ { "description": "string", "unitQuantity": 0, "unitType": "BAG" } ], "identifiers": [ { "type": "AIR_WAYBILL", "value": "string" } ], "loadId": "9fa4c9ea-0db7-4bb2-8f50-086d18a90403" } ], "shipperContactInfo": { "companyName": "string" }, "shippingDetails": { "loadPreference": "FULL", "trailerType": "FLATBED", "trailerLength": { "value": 0, "unit": "FT" }, "trailerVolume": { "value": 0, "unit": "CUBIC_FT" }, "flatbedType": "CONESTOGA" }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "BOOKED", "shipmentIdentifiers": [ { "type": "BILL_OF_LADING", "value": "string" } ], "routeSegments": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fromStop": { "id": "257296aa-4e11-4168-b6a7-981b8b94815b", "type": "PICKUP", "arrivalAppointmentWindow": { "startTime": "10:15:22", "endTime": "11:15:22" } }, "toStop": { "id": "5f1765b9-dde0-424e-963b-bb3b4e1d1d56", "type": "DELIVERY", "arrivalAppointmentWindow": { "startTime": "14:15:22", "endTime": "15:15:22" } } } ], "carrierResponseMethod": "EMAIL", "bookingSourceMethod": "API", "transportationMode": "TRUCKLOAD", "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa", "carrierProvidedIdentifiers": [ { "type": "string", "value": "string" } ] } ], "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08" }
Errors
If there was a problem with your request, you will receive one of the following error codes:
400 Bad Request
401 Unauthorized
404 Not Found
See Error Response Codes in the Appendix for more information on the meaning of these error codes.
Fields and Objects
The table below describes only the minimum relevant fields of the API Request to get a shipment that has been created with an Ocean booking request. For more information on all fields, please, connect with your project44 Technical Contact for the Booking API Reference Documentation.
Field | Description |
---|---|
identifier.type | The type of customer shipment identifier to search against. |
identifier.value | The project44-generated shipment identifier (id ) returned in the response for Create a Shipment Containing an Ocean Booking. |
attribute.name | The name of the custom shipment attribute to search against. |
attribute.values | The values of the custom shipment attribute to search for; this filter is non-partial. |
pageNumber | Default is 1 . |
pageSize | Default is 10 . |
Get a Single Ocean Booking for a Multi-modal Shipment
Get a paginated batch selection of filtered bookings.
Requirements
At a minimum, have the following information
- Booking ID (The
id
returned in the Book a Shipment response, or thebooking.id
returned in the Create a Shipment with a Booking Request response.)
Workflow
Complete these steps:
- Prepare a
GET
/services/booking/v1/bookings/{bookingId}. Please, connect with your project44 Technical Contact for the Booking API Reference Documentation. - Enter the Booking ID.
- Send the request.
Expected System Responses
The request is successfully submitted and confirmed when a 200
response is received.
{ "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "attributes": [ { "name": "string", "values": [ "string" ] } ], "capacityProviderIdentifier": { "type": "SCAC", "value": "string" }, "carrierContacts": [ { "companyName": "string", "givenName": "string", "familyName": "string", "phoneNumber": "string", "mobilePhoneNumber": "string", "email": "user@example.com" } ], "totalRate": { "currency": "USD", "amount": 0 }, "rateIdentifiers": [ { "source": "SYSTEM", "type": "SPOT_QUOTE", "value": "string" } ], "expirationDateTime": "2019-08-24T14:15:22", "routeSegmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "notes": "string", "shipmentDetails": [ { "pickupStopId": "eff50f2a-8964-41f9-b45d-0a4f6f94e159", "deliveryStopId": "2ca57692-0523-4424-a638-167e5e26f7d3", "handlingUnits": { "details": [ { "monetaryValue": { "currency": "USD", "amount": 0 }, "quantity": 0, "handlingUnitType": "BAG", "stackable": false, "dimensions": { "length": 0, "width": 0, "height": 0, "unit": "FT" }, "weight": { "value": 0, "unit": "LB" } } ] }, "items": [ { "description": "string", "identifiers": [ { "type": "CONTAINER_NUMBER", "value": "string" } ], "unitQuantity": 0, "unitType": "BAG" } ], "description": "string", "identifiers": [ { "type": "AIR_WAYBILL", "value": "string" } ], "accessorials": [ { "code": "REFRIGERATED", "details": { "min": 0, "max": 0, "unit": "CELSIUS" } } ], "loadId": "9fa4c9ea-0db7-4bb2-8f50-086d18a90403" } ], "apiConfiguration": { "bookingWebhookName": "string" }, "shipperContactInfo": { "companyName": "string", "givenName": "string", "familyName": "string", "phoneNumber": "string", "mobilePhoneNumber": "string", "email": "user@example.com" }, "shippingDetails": { "loadPreference": "FULL", "trailerType": "FLATBED", "trailerLength": { "value": 0, "unit": "FT" }, "trailerVolume": { "value": 0, "unit": "CUBIC_FT" }, "flatbedType": "CONESTOGA", "accessorials": [ { "code": "REFRIGERATED", "details": { "min": 0, "max": 0, "unit": "CELSIUS" } } ] }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "PROCESSING", "shipmentIdentifiers": [ { "type": "string", "value": "string" } ], "routeSegments": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fromStop": { "id": "eff50f2a-8964-41f9-b45d-0a4f6f94e159", "type": "PICKUP", "arrivalDate": "2019-08-24", "arrivalAppointmentWindow": { "startTime": "14:15:22", "endTime": "14:15:22" }, "contacts": [ { "companyName": "string", "givenName": "string", "familyName": "string", "phoneNumber": "string", "mobilePhoneNumber": "string", "email": "user@example.com" } ], "accessorials": [ { "code": "REFRIGERATED", "details": { "min": 0, "max": 0, "unit": "CELSIUS" } } ], "location": { "id": "eff50f2a-8964-41f9-b45d-0a4f6f94e159", "name": "string", "identifiers": [ { "type": "AIRPORT_IATA", "value": "string" } ], "address": { "addressLines": [ "string" ], "postalCode": "string", "city": "string", "state": "string", "country": "US" }, "geoCoordinates": { "latitude": -90, "longitude": -180 } } }, "toStop": { "id": "2ca57692-0523-4424-a638-167e5e26f7d3", "type": "DELIVERY", "arrivalDate": "2019-08-24", "arrivalAppointmentWindow": { "startTime": "14:15:22", "endTime": "14:15:22" }, "contacts": [ { "companyName": "string", "givenName": "string", "familyName": "string", "phoneNumber": "string", "mobilePhoneNumber": "string", "email": "user@example.com" } ], "accessorials": [ { "code": "REFRIGERATED", "details": { "min": 0, "max": 0, "unit": "CELSIUS" } } ], "location": { "id": "2ca57692-0523-4424-a638-167e5e26f7d3", "name": "string", "identifiers": [ { "type": "AIRPORT_IATA", "value": "string" } ], "address": { "addressLines": [ "string" ], "postalCode": "string", "city": "string", "state": "string", "country": "US" }, "geoCoordinates": { "latitude": 90, "longitude": 180 } } } } ], "rejectionReason": "COST_NOT_AGREED", "carrierResponseMethod": "EMAIL", "automatedFailureReason": "ERROR_CREDENTIALS", "bookingSourceMethod": "API", "carrierRejectionNotes": "string", "transportationMode": "TRUCKLOAD", "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa", "carrierProvidedIdentifiers": [ { "type": "string", "value": "string" } ] }
Errors
If there was a problem with your request, you will receive one of the following error codes:
400 Bad Request
404 Not Found
See Error Response Codes in the Appendix for more information on the meaning of these error codes.
Fields and Objects
The table below describes only the minimum relevant fields of the API Request to get an Ocean booking. For more information on all fields, please, connect with your project44 Technical Contact for the Booking API Reference Documentation.
Field | Description |
---|---|
id | The id returned in the Book a Shipment response, or the booking.id returned in the Create a Shipment with a Booking Request response. |
Get a Batch of Ocean Bookings
Get a paginated batch selection of filtered bookings.
Requirements
At a minimum, have the following information
- Attribute Name & Value
- Statuses
- Page Number and Size
Workflow
Complete these steps:
- Prepare a
GET
/services/booking/v1/bookings
. Please, connect with your project44 Technical Contact for the Booking API Reference Documentation. - Enter all required information.
- Send the request.
Expected System Responses
The request is successfully submitted and confirmed when a 200
response is received.
{ "paginationInfo": { "pageSize": 0, "pageNumber": 0, "total": 0 }, "results": [ { "shipmentId": "47efd5a2-af91-4417-950a-7f546cd1b5cf", "attributes": [ { "name": "string", "values": [ "string" ] } ], "capacityProviderIdentifier": { "type": "SCAC", "value": "string" }, "carrierContacts": [ { "companyName": "string", "givenName": "string", "familyName": "string", "phoneNumber": "string", "mobilePhoneNumber": "string", "email": "user@example.com" } ], "totalRate": { "currency": "USD", "amount": 0 }, "rateIdentifiers": [ { "source": "SYSTEM", "type": "SPOT_QUOTE", "value": "string" } ], "expirationDateTime": "2019-08-24T14:15:22", "routeSegmentIds": [ "497f6eca-6276-4993-bfeb-53cbbbba6f08" ], "notes": "string", "shipmentDetails": [ { "pickupStopId": "eff50f2a-8964-41f9-b45d-0a4f6f94e159", "deliveryStopId": "2ca57692-0523-4424-a638-167e5e26f7d3", "handlingUnits": { "details": [ { "monetaryValue": null, "quantity": null, "handlingUnitType": null, "stackable": null, "dimensions": null, "weight": null } ] }, "items": [ { "description": "string", "identifiers": [ null ], "unitQuantity": 0, "unitType": "BAG" } ], "description": "string", "identifiers": [ { "type": "AIR_WAYBILL", "value": "string" } ], "accessorials": [ { "code": "REFRIGERATED", "details": { "min": null, "max": null, "unit": null } } ], "loadId": "9fa4c9ea-0db7-4bb2-8f50-086d18a90403" } ], "apiConfiguration": { "bookingWebhookName": "string" }, "shipperContactInfo": { "companyName": "string", "givenName": "string", "familyName": "string", "phoneNumber": "string", "mobilePhoneNumber": "string", "email": "user@example.com" }, "shippingDetails": { "loadPreference": "FULL", "trailerType": "FLATBED", "trailerLength": { "value": 0, "unit": "FT" }, "trailerVolume": { "value": 0, "unit": "CUBIC_FT" }, "flatbedType": "CONESTOGA", "accessorials": [ { "code": "REFRIGERATED", "details": { "min": 0, "max": 0, "unit": "CELSIUS" } } ] }, "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "status": "PROCESSING", "shipmentIdentifiers": [ { "type": "AIR_WAYBILL", "value": "string" } ], "routeSegments": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "fromStop": { "id": "eff50f2a-8964-41f9-b45d-0a4f6f94e159", "type": "PICKUP", "arrivalDate": "2019-08-24", "arrivalAppointmentWindow": { "startTime": "10:15:22", "endTime": "11:15:22" }, "contacts": [ { "companyName": null, "givenName": null, "familyName": null, "phoneNumber": null, "mobilePhoneNumber": null, "email": null } ], "accessorials": [ { "code": null, "details": null } ], "location": { "id": "eff50f2a-8964-41f9-b45d-0a4f6f94e159", "name": "string", "identifiers": [ null ], "address": { "addressLines": [], "postalCode": null, "city": null, "state": null, "country": null }, "geoCoordinates": { "latitude": null, "longitude": null } } }, "toStop": { "id": "2ca57692-0523-4424-a638-167e5e26f7d3", "type": "DELIVERY", "arrivalDate": "2019-08-24", "arrivalAppointmentWindow": { "startTime": "14:15:22", "endTime": "14:15:22" }, "contacts": [ { "companyName": null, "givenName": null, "familyName": null, "phoneNumber": null, "mobilePhoneNumber": null, "email": null } ], "accessorials": [ { "code": null, "details": null } ], "location": { "id": "2ca57692-0523-4424-a638-167e5e26f7d3", "name": "string", "identifiers": [ null ], "address": { "addressLines": [], "postalCode": null, "city": null, "state": null, "country": null }, "geoCoordinates": { "latitude": null, "longitude": null } } } } ], "rejectionReason": "COST_NOT_AGREED", "carrierResponseMethod": "EMAIL", "automatedFailureReason": "ERROR_CREDENTIALS", "bookingSourceMethod": "API", "carrierRejectionNotes": "string", "transportationMode": "TRUCKLOAD", "masterShipmentId": "2e04ec4a-749a-4ef4-a452-b7dc8cca16aa", "carrierProvidedIdentifiers": [ { "type": "string", "value": "string" } ] } ] }
Errors
If there was a problem with your request, you will receive one of the following error codes:
400 Bad Request
404 Not Found
See Error Response Codes in the Appendix for more information on the meaning of these error codes.
Fields and Objects
The table below describes only the minimum relevant fields of the API Request to get a batch of Ocean bookings. For more information on all fields, please, connect with your project44 Technical Contact for the Booking API Reference Documentation.
Field | Description |
---|---|
attribute.name | The name of the custom shipment attribute to search against. |
attribute.values | The values of the custom shipment attribute to search for; this filter is non-partial. |
statuses | A list of booking statuses to filter against. Valid values include PROCESSING , UNDER_REVIEW , BOOKED , REJECTED , CANCELLED , EXPIRED . |
pageNumber | Default is 1 . |
pageSize | Default is 10 . |