GLS ShipIT
3.0.6
GLS ShipIT - REST services
|
The endpoints for the centrally hosted services can be obtained from your primary GLS contact and will be given with your credentials for the Service.
If you are connecting to a locally installed GLS ShipIT, you have to adapt the URL to point to the host (and port) in your network where the GLS ShipIT backend is running. E.g. https://10.10.10.10:8443//backend/rs/timeframe
Only one operation is available at this port. This operation can be used to get an estimation of the amount of working days needed to ship a shipment unit from an origin to a destination address.
If the user is authenticated successfully the actual backend state is requested from datahub. If the backend is active in datahub, the backend state in backend database is set to active and the request is executed, else the backend state in backend database is set to inactive and a response with HTTP status 490 is returned.
This operation estimates the days needed to deliver a shipment unit from the given origin address to the given destination address.
/deliverydays
with http request method POST
Parameter | Mandatory | Location in Request | Description |
---|---|---|---|
fromToLocation | TRUE | request body | The eu.glsgroup.fpcs.datatypes.soap.v1.timeframe.FromToLocation with the request parameters. |
The REST response is an instance of eu.glsgroup.fpcs.datatypes.soap.v1.timeframe.EstimatedDeliveryDays or one of the following faults:
If the request was successful:
If one of the necessary fields is missing:
If one of the fields has an invalid value (e.g. wrong country code):