Subscribe

Starts CargoAi Track & Trace URL + e-mail updates for an AWB (which must already be recorded on a flight leg). Idempotent: re-subscribing a still-live AWB returns the existing subscription without calling CargoAi again. | authz: order participant operator | (CargoAiTrackAndTraceSubscribeReq) -> (CargoAiTrackAndTraceSubscription1)

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
awbstringRequiredformat: "^\d{3}-\d{8}$"

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

emailslist of stringsOptional

Response

Successful Response
_idstring
active_untildatetime
awbstringformat: "^\d{3}-\d{8}$"

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

created_atdatetime
created_by_org_idstring

Must be a string starting with org_

created_by_user_idstring

Must be a string starting with user_

schema_versioninteger
subscribed_atdatetime
updated_atdatetime
last_update_received_atdatetime
subscribed_emailslist of strings
tracking_update_idslist of strings

Errors

422
Cargoai Track and Trace Subscribe V1request Unprocessable Entity Error