Class AsyncWebcargoBookingsClient


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

      • AsyncWebcargoBookingsClient

        public AsyncWebcargoBookingsClient​(ClientOptions clientOptions)
    • Method Detail

      • syncV1

        public java.util.concurrent.CompletableFuture<WebcargoBookingRecord1> syncV1​(java.lang.String taskGroupId)
        Fetches the latest booking record from WebCargo for a task group and upserts it in the database. Creates the record on first call, updates on subsequent calls. | () -> (WebcargoBookingRecord1)
      • syncV1

        public java.util.concurrent.CompletableFuture<WebcargoBookingRecord1> syncV1​(java.lang.String taskGroupId,
                                                                                     RequestOptions requestOptions)
        Fetches the latest booking record from WebCargo for a task group and upserts it in the database. Creates the record on first call, updates on subsequent calls. | () -> (WebcargoBookingRecord1)
      • retrieveV1

        public java.util.concurrent.CompletableFuture<WebcargoBookingRecord1> retrieveV1​(java.lang.String taskGroupId)
        Retrieves the stored WebCargo booking record for a task group. Returns 404 if the booking has never been synced. | () -> (WebcargoBookingRecord1)
      • retrieveV1

        public java.util.concurrent.CompletableFuture<WebcargoBookingRecord1> retrieveV1​(java.lang.String taskGroupId,
                                                                                         RequestOptions requestOptions)
        Retrieves the stored WebCargo booking record for a task group. Returns 404 if the booking has never been synced. | () -> (WebcargoBookingRecord1)