GLS ShipIT
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. You can retrieve the WSDL of the corresponding service by adding '?wsdl' to the URL.
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/TrackingService/TrackingPortType?wsdl
This service is about tracking parcels (retrieving information about the current status as well as retrieving a proof of delivery).
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 operations searches for parcels. Several parameters can be passed to the service. The search returns all parcels that match the search criteria (and to which the user issuing the request has access to). Partial matches or wildcard matches are not supported. The DateFrom and DateTo each include the specified day. That means searching DateFrom to '2017-02-07' and DateTo to '2017-02-07' finds all parcels created during that day.
Please consider: Only parcels that went through Use case description: getEndOfDayReport (F-118) are being found by the tracking service.
/parcels
with http request method POST
Parameter | Mandatory | Location in Request | Description |
---|---|---|---|
tulReferenceData | TRUE | request body | The eu.glsgroup.fpcs.datatypes.soap.v1.tracking.TULReferenceData with the request parameters. |
There is no special input validation for this service.
The REST response is an instance of eu.glsgroup.fpcs.datatypes.soap.v1.tracking.TUListResponse or one of the following faults:
To retrieve all parcels created between 7th and 8th February, you could issue a request as follows:
If the request was successful:
If the request was successful (but no result was found):
If a mandatory parameter is not provided, a HTTP response with error code '400 Bad Request' is returned:
If DateFrom is after DateTo, a HTTP response with error code '400 Bad Request' is returned:
Retrieves the detailed Track&Trace information (including the transport history) for a specific shipment unit identified by it’s track ID. If the parcel has been delivered, the delivery date and the signature will be set.
/parceldetails
with http request method POST
Parameter | Mandatory | Location in Request | Description |
---|---|---|---|
detailsReferenceData | TRUE | request body | The eu.glsgroup.fpcs.datatypes.soap.v1.tracking.DetailsReferenceData with the request parameters. |
The REST response is an instance of eu.glsgroup.fpcs.datatypes.soap.v1.tracking.ParcelDetailResponse or one of the following faults:
If the request was successful:
If the parcel does not exist / is not accessible:
Retrieves the proof of delivery document for a parcel. The parcel is identified by its track ID.
/parcelpod
with http request method POST
Parameter | Mandatory | Location in Request | Description |
---|---|---|---|
tupReferenceData | TRUE | request body | The eu.glsgroup.fpcs.datatypes.soap.v1.tracking.TUPReferenceData with the request parameters. |
The rest response is an instance of eu.glsgroup.fpcs.datatypes.soap.v1.tracking.PODResponse or one of the following rest faults:
If the request was successful (ImageData is shortened. Here a Base64 encoded byte[] will be returned):
If no signature is available / the parcel is in the wrong state: