Versions Compared

Key

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

...

Code Block
curl --location --request GET 'https://ws.di.no/ws/json/parcel/servicePoint/v-1/5' \
--header 'Content-Type: application/json' \
--header 'Authorization: Bearer Token

Response

List of servicePoint objects

ServicePoint

Name

Type

Example

Description

servicePointExternalId

whole number

3452

ID for the location

servicePointName

String

My local store

Name of location

openingHours

List of opening hours

There may be more than 1 time intervall for each day, this will be shown as two separate objects E.g. Monday 08:00-10:00 and Monday 14:00-18:00

visitingAddress

Address object

deliveryAddress

Address object

routingCode

String

WJE

Used on labels and sorting systems

eligibleParcelOutlet

boolean

true

servicePointCoordinates

List og of coordinate objects

Examples

Expand
titleExample response 1
Code Block
[
    {
        "servicePointExternalId": "11931",
        "servicePointName": "MENY OSLO CITY",
        "openingHours": [],
        "visitingAddress": {
            "postalCode": "50",
            "countryCode": "NO",
            "streetNumber": "1",
            "streetName": "STENERSGATA",
            "postalName": "OSLO"
        },
        "deliveryAddress": {
            "postalCode": "50",
            "countryCode": "NO",
            "streetNumber": "1",
            "streetName": "STENERSGATA",
            "postalName": "OSLO"
        },
        "routingCode": null,
        "eligibleParcelOutlet": true,
        "servicePointCoordinates": [
            {
                "northing": 10.75289535522461,
                "easting": 59.91301727294922
            }
        ]
    }
  ]

...