GLS ShipIT
3.5.15
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/sporadiccollection
This service is about sporadic collections.
Schedules a sporadic collection for a contact. Please contact your depot for any queries regarding your pickups.
Several parameters can be passed to the service.
Name | Expression in webservices | Field length | Type | Format | Mandatory/Optional | Restrictions | Level | Description |
---|---|---|---|---|---|---|---|---|
Shipper identifier | ContactID | 10 | alphanumeric | Mandatory | - | The external identifier for the shipper | ||
Expected pickup date | PreferredPickUpDate | 10 | alphanumeric | YYYY-MM-DD | Mandatory | - | The date for the expected pickup in the depot | |
Number of parcels | NumberOfParcels | 6 | numeric | Mandatory | >0 | The total number of parcel for pickup in the depot | ||
Product type | Product | 7 | alphanumeric | Mandatory | Parcel or Express | The type of the product in the pickup | ||
Expected Total Weight | ExpectedTotalWeight | 10 | decimal | Optional | >0 | The total aggregated weight of the parcels for pickup | ||
Hazardous Goods Flag | ContainsHazGoods | 5 | boolean | Optional | true or false | Indicates if the parcels for pickup contain hazardous goods | ||
Additional Information | AdditionalInformation | - | alphanumeric | Optional | - | Additional information relevant for the scheduling of the sporadic pickup |
In the case of the PreferredPickUpDate not being not possible (Sundays, holiday, dates in the past, etc), it will be adjusted to the next available working day and the actual pickup date will be present in the PreferredPickUpDate property in the response.
/sporadiccollection
with http request method POST
Parameter | Mandatory | Location in Request | Description |
---|---|---|---|
request | TRUE | request body | The eu.glsgroup.fpcs.datatypes.soap.v1.sporadiccollection.SporadicCollection with the request parameters. |
Name | Expression in webservices | Field length | Type | Format | Mandatory/Optional | Restrictions | Level | Description |
---|---|---|---|---|---|---|---|---|
Estimated pickup date | EstimatedPickUpDate | 10 | alphanumeric | YYYY-MM-DD | Mandatory | - | The scheduled date for the next available date for pickup in the depot |
The REST response is eu.glsgroup.fpcs.datatypes.soap.v1.sporadiccollection.SporadicCollectionResponse or one of the following faults:
To schedule a sporadic date:
If the request was successful:
If a mandatory parameter is not provided, a HTTP response with error code '400 Bad Request' is returned:
If the ContactID is not recognized: