/shipping/cargo_on_flight_bookings

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)

post/shipping/cargo_on_flight_bookings/create/v1

Request

  • Base URL
    http://localhost:8000
  • URL
    http://localhost:8000/shipping/cargo_on_flight_bookings/create/v1
  • Auth
    HTTP bearer

Request body

schema_version1 required
task_group_idstring required
cargo_idsstring[] required
cargo_on_flight_integration'air_canada' | 'cargoai' | 'manual' required
special_handling_codesSpecialHandlingCodeEnum1[]
awb_numberstring nullable

IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. '020-12345678'.

Response

Successful Response

schema_version1 required
_idstring required
order_idstring required
order_short_idstring required
task_group_idstring required
cargo_idsstring[]
created_by_org_idstring required

Must be a string starting with org_

created_by_user_idstring nullable

Must be a string starting with user_

cargo_on_flight_integration'air_canada' | 'cargoai' | 'manual' required
iata_cass_office_idstring nullable
airline_cargo_account_idstring nullable
cargo_on_flight_booking_search_idstring nullable
special_handling_codesSpecialHandlingCodeEnum1[]
awb_numberstring nullable

IATA Air Waybill number: 3-digit airline prefix + 8-digit serial, e.g. '020-12345678'.

status'draft' | 'requested' | 'confirmed' | 'rejected' | 'failed' | 'cancellation_requested' | 'cancelled' required
integration_statusstring nullable
draft_started_at_timestampstring date-time required
requested_at_timestampstring date-time nullable
confirmed_at_timestampstring date-time nullable
rejected_at_timestampstring date-time nullable
failed_at_timestampstring date-time nullable
cancellation_requested_at_timestampstring date-time nullable
cancelled_at_timestampstring date-time nullable
flight_leg_idsstring[]

Changes

    • info

      added the optional property to the response with the status

    • warning

      added the new air_canada enum value to the response property for the response status

    • info

      added the new air_canada enum value to the request property