Versions Compared

Key

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

The purpose of the API is to return last or all events registered for a parcel

...

Name

Type

Example

Max length

Mandatory

Description

id

whole number

1

n/a

(tick)

identifier for the event group

name

string

communcation

n/a

named classification of the group

Group id

Description

1

Information on shipments received/imported in DI

2

Information onĀ transportation

3

Information onĀ communication

4

Information on status updates

5

Information onĀ scanning of shipments

6

Information for shipments transported by others

7

Information from/relating to external systems

8

Information onĀ internal processing

regSystem

Name

Type

Example

Max length

Description

id

whole number

1

n/a

identifier for the originating system

name

string

Postnord

n/a

named classification of the originating system

...

Response from Pacel Event Log APIĀ  (no/en).pdf

Expand
titleList of additional eventsAPI keys

An additional event

i18nkey - translation key

Access level determines start of translation key. Can be either one of:

  • event.type.ai.pub

  • event.type.ai.shopadmin

  • event.type.ai.distr.

I.E event.type.ai.distr.cannot.deliver.customer.absent

additionalinfoAPIkey

i18nkey - translation key

Description

001

.cannot.deliver.missing.deliverypoint

carrier can't find customer

002

.cannot.deliver.missing.key

Key missing

003

.cannot.deliver.parcel.damaged

shipment damaged

004

.cannot.deliver.customer.changed.address

The recipient has changed address

005

.cannot.deliver.customer.absent

The recipient is absent, on vacation or does not collect the shipment

006

.cannot.deliver.shipment.lost.internal

in our value chain

007

.cannot.deliver.shipment.lost.external

before our value chain

008

.consignee.notification.response.updated

with new details

009

.consignee.notification.response.same.address

and confirmed existing delivery address

010

.consignee.notification.response.wrong.address

with a new delivery address

011

.shipment.delivered.door

on the doormat

012

.shipment.delivered.mailbox

in the mailbox

013

.shipment.delivered.bag

Mailbox (Bag and hook)

014

.cannot.deliver.unfit.deliverypoint

Unsuited delivery point

015

.unable.to.pickup.not.found

The parcel was not found

016

.unable.to.pickup.not.marked

The parcel was not clearly marked

017

.unable.to.pickup.not.wrapped

Not packed according to instructions

018

.unable.to.pickup.too.big

The parcel was too heavy/big

019

.unable.to.pickup.no.customer.contact

Unable to reach costumer

020

.unable.to.pickup.missing.key

Key missing

021

.unable.to.pickup.return.lost

Return-parcel lost

022

.shipment.retrieved.at.route.branch

Received at route branch

023

.shipment.retrieved.not.at.rout.branch

Not received at route branch

024

.cannot.deliver.not.received

carrier did not receive the shipment

025

.cannot.deliver.missing.deliverypoint.mailbox

carrier can't find customer. Mailbox delivery

026

.cannot.deliver.missing.deliverypoint.house.door

carrier can't find customer. Delivery at house

027

.cannot.deliver.missing.deliverypoint.apartment.door

carrier can't find customer. Delivery in apartment

028

.cannot.deliver.shipment.lost.stolen

Stolen

Examples

Expand
titleExample response
Code Block
{
    "events": [
        {
            "shipmentNumber": "70724760120000880",
            "trackingNumber": "370724760120000898",
            "eventTime": "2017-11-09 07:00:39",
            "lat": null,
            "lon": null,
            "locationContext": null,
            "eventType": {
                "apiKey": "011",
                "description": "Pakke levert sendt til mottaker"
            },
			"additionalInfo": null,
            "eventGroup": {
                "id": 3,
                "name": "Communication"
            },
            "comChannelType": "SMS",
            "changeUserId": null,
            "regSystem": null,
            "message": null
        },
        {
            "shipmentNumber": "70724760120000880",
            "trackingNumber": "370724760120000898",
            "eventTime": "2017-11-09 04:13:23",
            "lat": null,
            "lon": null,
            "locationContext": "OSLO",
            "eventType": {
                "apiKey": "013",
                "description": "Pakken er levert til mottaker"
            },
            "additionalInfo": null,
			"eventGroup": {
                "id": 4,
                "name": "Status"
            },
            "comChannelType": null,
            "changeUserId": null,
            "regSystem": null,
            "message": null
        },
		{
            "shipmentNumber": "70724760120000880",
            "trackingNumber": "370724760120000898",
            "eventTime": "2017-11-08 23:00:39",
            "lat": null,
            "lon": null,
            "locationContext": "OSLO",
            "eventType": {
                "apiKey": "057",
                "description": "Pakken er ikke levert"
            },
            "additionalInfo": {
                "apiKey": "001",
                "description": ". Finner ikke mottakers leveringspunkt"
            },
            "eventGroup": {
                "id": 4,
                "name": "event.type.group.status"
            },
            "comChannelType": null,
            "changeUserId": null,
            "regSystem": {
                "id": 2,
                "name": "eBudbok"
            },
            "message": null
        },
        {
            "shipmentNumber": "70724760120000880",
            "trackingNumber": "370724760120000898",
            "eventTime": "2017-11-08 15:00:39",
            "lat": null,
            "lon": null,
            "locationContext": "Nettbutikk AS",
            "eventType": {
                "apiKey": "001",
                "description": "Informasjon om forsendelsen er mottatt"
            },
			"additionalInfo": null,
            "eventGroup": {
                "id": 1,
                "name": "Import"
            },
            "comChannelType": null,
            "changeUserId": null,
            "regSystem": null,
            "message": null
        }
    ]
}

...