Note |
---|
API still in development. It is planned to be finished during september 2022. This message will be removed when the API is done. API request keys and response data/structure may change without notice (will be updated in this documentation only). |
The purpose of this API is to registrere an event to a parcel. An event is information about something happening that has happened the specific parcel, e.g. it can be a status update or information about consumer communications. Events added will be available for all clients entitled to information about that specific parcel (through Parcel Event Log API v1, Parcel Event Log API v2 or Event Log push service), and used by them as they see fit. If you are uncertain of which fields to populate and how the data will be used consult your carrier.
...
Name | Type | Example | Max Length | Mandatory | Description |
---|---|---|---|---|---|
trackingReference | string | (00)370724760010119754 | 35 | Tracking reference for the item, typically a SSCC gs1 code. | |
eventTime | string | 2020-01-31T00:01:00.000+01:00 | n/a | Time of the event registered in originating system. Datetime format ISO-8601 : yyyy-MM-ddTHH:mm:ss+HH:mm | |
lat | double | 59.911096 | 9 |
| Latitude for the location of the event |
lon | double | 10.752457 | 9 |
| Longitude for the location of the event |
locationContext | string | Oslo | 255 |
| Address or description of the location/ context of the event. This is typically show to the consumer directly so we recommend sharing a general location, e.g. postal name. |
locationContextId | string | 34567 | 10 |
| Unique identification of the locationContext |
eventType | string | 001 | n/a | Identifier for what has happened to the parcel, see list of possible event IDs here (Same IDs as the list of possible events returned in the Event log API and push service). ⚠️ Include the whole number, also leading 0 | |
additionalInfo | string | 001 | n/a | Identifier for additional info on what happened, see list of possible additional info IDs here (Same IDs as the list of possible events returned in the Event log API and push service). ⚠️ Include the whole number, also leading 0 | |
comChannelType | string | SMS | n/a |
| Communication channel only used for event types within event group "communication". ComChannelTypes in use:
|
message | string | 255 |
| Optional message from the system registering the event |
...