Interface CisClientShippingService

    • Method Detail

      • createShipment

        CisShipment createShipment​(java.lang.String xClientRef,
                                   java.lang.String tenantId,
                                   CisShipment cisShipment)
        Creates a shipment.
        Parameters:
        xClientRef - client ref to pass in the header
        tenantId - tenantId to pass in the header
        cisShipment - shipment to create
        Returns:
        the shipment
      • getLabel

        byte[] getLabel​(java.lang.String xClientRef,
                        java.lang.String tenantId,
                        java.net.URI labelLocation)
        Gets the shipment label.
        Parameters:
        xClientRef - client ref to pass in the header
        tenantId - tenantId to pass in the header
        labelLocation - location of the label
        Returns:
        the label as a stream (can be different files format, see the media type of the rest response)