Class AsyncCargoaiTrackAndTraceClient


  • public class AsyncCargoaiTrackAndTraceClient
    extends java.lang.Object
    • Constructor Detail

      • AsyncCargoaiTrackAndTraceClient

        public AsyncCargoaiTrackAndTraceClient​(ClientOptions clientOptions)
    • Method Detail

      • subscriptionV1

        public java.util.concurrent.CompletableFuture<CargoAiTrackAndTraceSubscription1> subscriptionV1​(java.lang.String awb)
        Retrieves the stored CargoAi tracking subscription for an AWB. | authz: order participant | () -> (CargoAiTrackAndTraceSubscription1)
      • subscriptionV1

        public java.util.concurrent.CompletableFuture<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.concurrent.CompletableFuture<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.concurrent.CompletableFuture<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.concurrent.CompletableFuture<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.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<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 java.util.concurrent.CompletableFuture<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)