Skip to navigation

Book

Books a draft booking on CargoAi with one result and rate of one of its searches, with the user’s AWB or one from the airline’s stock. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightIntegrationsCargoAiBookReq) -> (CargoOnFlightBooking1)

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

cargo_on_flight_booking_idstringRequired

Request

This endpoint expects an object.
cargo_on_flight_booking_search_idstringRequired
integration_rate_idstringRequired
integration_result_idstringRequired
awb_numberstring or nullOptionalformat: "^\d{3}-\d{8}$"

Response

Successful Response
_idstring
cargo_on_flight_integrationenum
Allowed values:
created_by_org_idstring

Must be a string starting with org_

draft_started_at_timestampstringformat: "date-time"
order_idstring
order_short_idstring
schema_versioninteger
statusenum
task_group_idstring
airline_cargo_account_idstring or nullOptional
awb_numberstring or nullOptionalformat: "^\d{3}-\d{8}$"
booked_itineraryobject or nullOptional
The itinerary of the search result a booking was placed on.
booked_rateobject or nullOptional

A price quoted for a shipment: one of a search result’s rates, or the price a MANUAL booking was quoted.

cancellation_requested_at_timestampstring or nullOptionalformat: "date-time"
cancelled_at_timestampstring or nullOptionalformat: "date-time"
cargo_dimensionslist of objectsOptional
cargo_idslist of stringsOptional
cargo_on_flight_booking_search_idstring or nullOptional
confirmed_at_timestampstring or nullOptionalformat: "date-time"
created_by_user_idstring or nullOptional
failed_at_timestampstring or nullOptionalformat: "date-time"
flight_leg_idslist of stringsOptional
iata_cass_office_idstring or nullOptional
integration_statusstring or nullOptional
rejected_at_timestampstring or nullOptionalformat: "date-time"
requested_at_timestampstring or nullOptionalformat: "date-time"
special_handling_codeslist of enumsOptional

Errors

422
Unprocessable Entity Error