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_id
Request
This endpoint expects an object.
cargo_on_flight_booking_search_id
integration_rate_id
integration_result_id
awb_number
IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. '020-12345678'.
Response
Successful Response
_id
cargo_on_flight_integration
Allowed values:
created_by_org_id
Must be a string starting with org_
draft_started_at_timestamp
order_id
order_short_id
schema_version
status
task_group_id
awb_number
IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. '020-12345678'.
booked_itinerary
The itinerary of the search result a booking was placed on.
booked_rate
A price quoted for a shipment: one of a search result's rates, or the price a MANUAL booking was quoted.
cancellation_requested_at_timestamp
cancelled_at_timestamp
cargo_dimensions
cargo_ids
cargo_on_flight_booking_search_id
confirmed_at_timestamp
created_by_user_id
Must be a string starting with user_
failed_at_timestamp
flight_leg_ids
iata_cass_office_id
integration_status
rejected_at_timestamp
requested_at_timestamp
Errors
422
Cargoai Book V1request Unprocessable Entity Error

