Skip to navigation

Create

Creates a booking for a flight task group’s cargos: a draft to search and book through an integration, or a MANUAL booking placed outside CHRT, confirmed with its AWB and itinerary, which sets the task group’s flights and the cargos’ AWB. | authz_personas=[task_group_coordinator_operators] | (CargoOnFlightBookingClientCreate1) -> (CargoOnFlightBooking1)

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
cargo_dimensionslist of objectsRequired
cargo_idslist of stringsRequired
cargo_on_flight_integrationenumRequired
Allowed values:
schema_versionintegerRequired
task_group_idstringRequired
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.

special_handling_codeslist of enumsOptional

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