Versions Compared

Key

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

...

TEST

Status
colourBlue
titlePOST


https://dev-ws.di.no/ws/json/parcel/booking/v-1/details/${shipmentId}

PRODUCTION

Status
colourBlue
titlePOST


https://ws.di.no/ws/json/parcel/booking/v-1/details/${shipmentId}

Authentication

This endpoint requires the user to be authenticated. Refer to the documentation here for more information on how to obtain a valid token to use in your request. 

...

Name

Type

Example

Mandatory

Max Length

Description

shipmentId

String path-variable

https://dev-ws.di.no/ws/json/parcel/booking/v-1/details/70724760322429069

yes

35

The id-number of the shipment is given as a value in the URL

Response

Name

Type

Example

Mandatory

Description

shipmentId

String

70724760322429069

yes

The id-number of the shipment

ediStatus

String

EXPORT_OK

yes

The current EDI-status of the shipment

items

Array

yes

List of one or more items in the shipment

items-trackingReference

String

370724760322429077

yes

Tracking number for the given item

items-myPackGoSubmissionCode

String

TESTCODE

no

Submission code received from PostNord in case this is a myPackGo item

Examples

Expand
Example 1
titleApi response example
Code Block
{
    "shipmentId": "70724760322429069",
    "ediStatus": "EXPORT_OK",
    "items": [
        {
            "trackingReference": "370724760322429077",
            "myPackGoSubmissionCode": "TESTCODE"
        }
    ]
}

Expand
titleExample 2

Error handling

...