Versions Compared

Key

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

...

Info
  • Clients using this API should not fail if new optional fields are added to the API. If a new field is added to the request or response on a later stage, existing clients should handle this in a way such as they just ignore the field.

  • Only parcels marked with API Key 124 will possibly provide results. Do not use this API for parcels who do not have that mark.

  • Client should handle empty images URLs, the URL may point to an empty site at any point and will always be empty after 30 days

Request header

Key

Value

Authorization

Code Block
Bearer $SECRET_WS_TOKEN

see Setup

Content-Type

application/json

Path parameters

parameter

Example

Description

shipmentid

70724760120000880

35

Globally unique identifier for the shipment, typically a GINC code. Typically named MessageNumber, DocumentNumber or ConsignorsReference in EDI

trackingreference

370724760120000898

35

Unique identifier for an item/kolli in the shipment. This can be a SSCC code according to gs1, or a UPU S10 identifier.

Typically named TransporterInstructionMark in EDI.

pickupcode

R-12345

10

Optional additional unique identifier, used for pick up parcels

Curl request example

Code Block
curl -X GET \
  https://ws.di.no/ws/json/parcel/tracking/v-2/fetch/370724760120000898/NO/false \
  -H 'Authorization: Bearer $SECRET_WS_TOKEN' \
  -H 'Content-Type: application/json' \


Response

Name

Type

Example

Mandatory

Description

parcelDeliveryProof

TrackingReference

URL

Examples

Note

Guidelines for use of image URLs

  • Clients should always link to URLs provided in this API when displaying the images.

  • Clients should NOT store a copy of the images provided though URL on their side. It is a violation of GDPR to store the image on client side.

  • Do not use the image provided directly on other sites, such as e-mail and SMS communication. Always provide a link to a site where the information is loaded directly from this API. If used directly the image may not be altered or removed by owner.

  • Do not send the URL we provide directly to a consumer, link consumers to a site where the client use the image URLs

  • We do not take responsibility for image quality or content

...