Class CargoaiTrackAndTraceClient
- java.lang.Object
-
- com.chrt.api.resources.integrations.cargoaitrackandtrace.CargoaiTrackAndTraceClient
-
public class CargoaiTrackAndTraceClient extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description protected ClientOptionsclientOptions
-
Constructor Summary
Constructors Constructor Description CargoaiTrackAndTraceClient(ClientOptions clientOptions)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CargoAiTrackAndTraceUpdate1refreshV1(java.lang.String awb)Polls CargoAi for the current tracking snapshot of an AWB and stores it as a new update (source=poll).CargoAiTrackAndTraceUpdate1refreshV1(java.lang.String awb, RequestOptions requestOptions)Polls CargoAi for the current tracking snapshot of an AWB and stores it as a new update (source=poll).CargoAiTrackAndTraceSubscription1subscribeV1(CargoAiTrackAndTraceSubscribeReq request)Starts CargoAi Track & Trace URL + e-mail updates for an AWB (which must already be recorded on a flight leg).CargoAiTrackAndTraceSubscription1subscribeV1(CargoAiTrackAndTraceSubscribeReq request, RequestOptions requestOptions)Starts CargoAi Track & Trace URL + e-mail updates for an AWB (which must already be recorded on a flight leg).java.util.List<CargoAiTrackAndTraceSubscription1>subscriptionsByTaskGroupV1(java.lang.String taskGroupId)Lists CargoAi tracking subscriptions for the AWBs recorded on a task group.java.util.List<CargoAiTrackAndTraceSubscription1>subscriptionsByTaskGroupV1(java.lang.String taskGroupId, RequestOptions requestOptions)Lists CargoAi tracking subscriptions for the AWBs recorded on a task group.CargoAiTrackAndTraceSubscription1subscriptionV1(java.lang.String awb)Retrieves the stored CargoAi tracking subscription for an AWB.CargoAiTrackAndTraceSubscription1subscriptionV1(java.lang.String awb, RequestOptions requestOptions)Retrieves the stored CargoAi tracking subscription for an AWB.java.util.List<CargoAiTrackAndTraceUpdate1>updatesV1(java.lang.String awb)Retrieves stored CargoAi tracking updates for an AWB, latest first (the first item is the current state).java.util.List<CargoAiTrackAndTraceUpdate1>updatesV1(java.lang.String awb, RequestOptions requestOptions)Retrieves stored CargoAi tracking updates for an AWB, latest first (the first item is the current state).RawCargoaiTrackAndTraceClientwithRawResponse()Get responses with HTTP metadata like headers
-
-
-
Field Detail
-
clientOptions
protected final ClientOptions clientOptions
-
-
Constructor Detail
-
CargoaiTrackAndTraceClient
public CargoaiTrackAndTraceClient(ClientOptions clientOptions)
-
-
Method Detail
-
withRawResponse
public RawCargoaiTrackAndTraceClient withRawResponse()
Get responses with HTTP metadata like headers
-
subscriptionV1
public CargoAiTrackAndTraceSubscription1 subscriptionV1(java.lang.String awb)
Retrieves the stored CargoAi tracking subscription for an AWB. | authz: order participant | () -> (CargoAiTrackAndTraceSubscription1)
-
subscriptionV1
public CargoAiTrackAndTraceSubscription1 subscriptionV1(java.lang.String awb, RequestOptions requestOptions)
Retrieves the stored CargoAi tracking subscription for an AWB. | authz: order participant | () -> (CargoAiTrackAndTraceSubscription1)
-
updatesV1
public java.util.List<CargoAiTrackAndTraceUpdate1> updatesV1(java.lang.String awb)
Retrieves stored CargoAi tracking updates for an AWB, latest first (the first item is the current state). | authz: order participant | () -> (list[CargoAiTrackAndTraceUpdate1])
-
updatesV1
public java.util.List<CargoAiTrackAndTraceUpdate1> updatesV1(java.lang.String awb, RequestOptions requestOptions)
Retrieves stored CargoAi tracking updates for an AWB, latest first (the first item is the current state). | authz: order participant | () -> (list[CargoAiTrackAndTraceUpdate1])
-
subscriptionsByTaskGroupV1
public java.util.List<CargoAiTrackAndTraceSubscription1> subscriptionsByTaskGroupV1(java.lang.String taskGroupId)
Lists CargoAi tracking subscriptions for the AWBs recorded on a task group. | authz: order participant | () -> (list[CargoAiTrackAndTraceSubscription1])
-
subscriptionsByTaskGroupV1
public java.util.List<CargoAiTrackAndTraceSubscription1> subscriptionsByTaskGroupV1(java.lang.String taskGroupId, RequestOptions requestOptions)
Lists CargoAi tracking subscriptions for the AWBs recorded on a task group. | authz: order participant | () -> (list[CargoAiTrackAndTraceSubscription1])
-
subscribeV1
public CargoAiTrackAndTraceSubscription1 subscribeV1(CargoAiTrackAndTraceSubscribeReq request)
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)
-
subscribeV1
public CargoAiTrackAndTraceSubscription1 subscribeV1(CargoAiTrackAndTraceSubscribeReq request, RequestOptions requestOptions)
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)
-
refreshV1
public CargoAiTrackAndTraceUpdate1 refreshV1(java.lang.String awb)
Polls CargoAi for the current tracking snapshot of an AWB and stores it as a new update (source=poll). No subscription required — any order participant can poll on demand. | authz: order participant | () -> (CargoAiTrackAndTraceUpdate1)
-
refreshV1
public CargoAiTrackAndTraceUpdate1 refreshV1(java.lang.String awb, RequestOptions requestOptions)
Polls CargoAi for the current tracking snapshot of an AWB and stores it as a new update (source=poll). No subscription required — any order participant can poll on demand. | authz: order participant | () -> (CargoAiTrackAndTraceUpdate1)
-
-