Milestone Interface

Goal is to keep SAP up to date with status information for each milestone in the transport process provided by the carrier. Additionally Viya will map towards the SAP source system.

Requirements:

  • Send Viya-Tracking-XML milestone update to SAP system
  • Mapping of Carrier/Viya codes to SAP milestone codes
  • Validation of SAP codes on SAP entry
  • Retrigger functionality in case of failures

SAP CPI will provide an endpoint based on the XSD provided by Viya.

Endpoint Defintiion

Request

  • Request-Urls: :
TBD
  • Request-Method: POST
  • Accept: application/xml; charset=utf-8
  • Accept-encoding: gzip, deflate
  • TBD

Request Body

Tracking XML - Milestone Update ```xml MPS LOG SRL SAPCARRIERCODE:VENDORID:9483743 mps-logs-srl AB-123-CD 309239032902 6135449611 498fasd0 2024-02-12T18:49:00Z Delivered Henk Tracking_reference New tracking reference AWB_UPDATE BRESCIA GEODIS HUB
Packlist ProofOfDeliveryAttempt Signature base64encoded
```

Response

Response Headers

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

Responses:

Technical Reponses

202 Accepted

  • Payload: No Content

401 Unauthorized

  • Payload: No Content

500 Server Error

  • Payload: No Content

503 Service Unavailable

  • Payload: No Content

Function Responses

TODO: Determine endpoint response structure

Potential errors:

  • Milestone event already exist
  • Mapping incorrect on line X