Tracking Request

Endpoint Definition

Request

  • Request-Urls:
- https://solventum.viya.me/api/custom/request-tracking/gs1ti/v1
- https://solventum.viya.me/api/custom/request-tracking/gs1ti/v1?environment=QA
- https://solventum.viya.me/api/custom/request-tracking/gs1ti/v1?environment=UAT
- https://solventum.viya.me/api/custom/request-tracking/gs1ti/v1?environment=DEV
  • Request-Method: PUT
  • Accept: application/xml; charset=utf-8
  • Accept-encoding: gzip, deflate
  • x-api-pat:: {{PAT_TOKEN}}

Request Body

Using the contents as discussed, currently the following XSD is used:

Response Headers

  • Content-type: application/xml; charset=utf-8

Responses:

The GS1-TI endpoint will be an async endpoint, adding new gs1-ti messages to a que that are processed by Viya. The GS1-TI is a custom ingress and will result in two seperate object created in Viya. A Trailer/Consignment (for the Despatch Advice) and multiple shipments, with Handling Units & Overpacks.

202 Accepted

  • Payload: No Content

401 Unauthorized

  • Payload: No Content

500 Server Error

  • Payload: No Content

503 Service Unavailable

  • Payload: No Content

Exception Responses / process

Exceptions for the GS1-TI endpoint will result in a callback to a status endpoint and/or an mail to the person responsible for the process. Depending on the exception a change in SAP can be made and the process can be retried or a issues is raised to resolve the technical problem.

Most common exceptions:

GS1-TI - Despatch Advice example ```xml 1.0 0000000000000 0000000000000 GS1 3.2.1 SIS 2024-05-08T17:36:39Z SAP_VERSION 3.2.1 2024-05-08T17:35:11Z ORIGINAL 2024-05-08T17:36:08Z 2024-05-08 47598347589347 CONSIGNMENT 0000000000000 0006500000
Hilversum NL Viya Headquarters 1223RE Arendstraat 21
0000000000000
Amsterdam NL Customer HEADQUARTERS 1000 Prinsengracht
8010000108006134370825 CONFIRMED 0000000000000 C111
Utrecht NL NL Hub Utrecht 2222 Street 1
0000000000000 0016102860
Maastricht NL Consginee Test 5555 14 Straat
0000000000000 C034
Utrecht NL NL Hub Utrecht 2222 Street 1
30 1 DIRECT 11 LTL 1.00 2.544 1 30 0000000000000 0000 0006500053
Utrecht NL NL Hub Utrecht 2222 Street 1
NOINFO NOINFO 0000000000000 C034 0009001271
Utrecht NL NL Hub Utrecht 2222 Street 1
2024-05-09
0000000000000 0016102860 0016102860
Utrecht NL NL Hub Utrecht 2222 Street 1
2024-05-09
CIP BX 1 0.015 3.810 40236092869904416 8091818992 1818992 9999999999 TEST Allow Shipment 1 12 0 059025961363267233 0000000010 3.810 BX 79.000000 26.000000 24.000000
40236092869904416 8091818992_2024-05-08 1818992 CONFIRMED 71 0000000000000 0016102860
Utrecht NL NL Hub Utrecht 2222 Street 1
0000000000000 C034
Utrecht NL NL Hub Utrecht 2222 Street 1
0000000000000 0006500053
Utrecht NL NL Hub Utrecht 2222 Street 1
0000000000000 0016102860
Utrecht NL NL Hub Utrecht 2222 Street 1
TM SERVICE_LEVEL_NOT_DEFINED STANDARD 11 PL 0.015 3.810 1 SERVICE_PROVIDER_DELIVERY_DATE Y0016102860 2024-05-09 CIP BX 1 0.015 3.810 6134370825 TRI 8091818992 SRN DASC | Dabrowa (allow split shipments) 1 NUMBER_OF_OUTER_PACKAGES= |GROSS_WEIGHT_DANGEROUS=|OUTER_PACKAGE_INFORMATION= |HAZARDOUS_PACKAGE_TYPE=|DG_PACKING=BOX 059025961363267226 0000000030 059025961363267233 0000000010 3.810 BX 79.000000 26.000000 24.000000 07318640063280 XH001680434 NOINFO 3.000 MT53H7A4400-EU LITECOM PMR 446 HEADBAND 3.000 402663430500010 AAJ ZD/454/2024 AAO BX 1 0.015 3.810 0000 BATTERIES, DRY IND_LIMITED_QTY=N|IND_EXCEPTED_QTY=N| ICA International Air Transport Dangerous Goods Regulations - Passenger Aircraft NO_INFORMATION NO_INFORMATION MARINE_POLLUTANT N FLASHPOINT NO_INFORMATION PACKAGING_INFORMATION SPA123 3.000 EA MT53H7A4400-EU LITECOM PMR 446 HEADBAND 3.00000000000000 EA MT53H7A4400-EU LITECOM PMR 446 HEADBAND NODAMAGE NODAMAGE
```
GS1-TI - Exception example
```XML
<problem xmlns="urn:ietf:rfc:7807">
    <messageId>12893752289</messageId>
    <reference>TRL1036LNUM</reference>
    <title>Invalid XML according to schema</title>
    <status>400</status>
    <detail>Elements in the XML are invalid, see details in errors</detail>
    <instance>api/v0/gs1-ti</instance>
    <type>https://httpstatuses.com/400</type>
    <timestamp>2021-06-14 09:13:18<timestamp>
    <errors>The element 'transportInstruction' has invalid child element 'NonExistent'. List of possible elements expected: 'logisticServicesSeller'; 
            The 'date' element is invalid - The value 'aaa' is invalid according to its datatype. http://www.w3.org/2001/XMLSchema:date' - The string 'aaa' is not a valid Date value
    </errors>
</problem> 
```