Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Warning

API still in development, will not work in production. Planned delivered in production in august 2022. This message will be removed when the API is ready

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

(tick)

Tracking reference for the item, typically a SSCC gs1 code.

eventTime

string

2020-01-31T00:01:00.000+01:00

n/a

(tick)

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

(tick)

Identifier for what has happened to the parcel, see list of possible event here (Same as the list of possible events returned in the Event log API and push service).

communicationChannelcomChannelType

string

SMS

n/a

 

Communication channel only used for event types within event group "communication".

ComChannelTypes  in use:

  • SMS

  • EMAIL

message

string

255

 

Optional message from the system registering the event

...