Versions Compared

Key

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

Anbefalte antall kommer fra Schibsted sin ML modell.

Dokumentasjon vi har fra før om hvordan Aftonbladet henter og poster data fra/til DI:

/wiki/spaces/DI/pages/20939228 - Novus

Returen kommer fra Advantops/Voice Providor løsningen (Tidsam retur).

The webservice for postal deviation is to be used for fetching postal distribution deviations reported by Posten Norge, when handling subscribers that have had errors in their deliveries.

...

This document describes the setup for the new webservice (API).

 

URL PROD: postaldeviation.di.no/lookup

URL STG: https://postaldeviations.stg.media.aws.di.no/lookup

Method: POST

Key: x-api-key

Value: one-time-secret password provided from DI

Body, example:

Code Block
{
  "postalNumber" : 2662,
  "fromDate": "2022-12-24",
  "toDate": "2022-12-24",
  "subscriberId" : "888888",
 

.

...

fromdate: startdate of the deviation (for postal deviations, fromdate and todate are always the same), on the form ‘yyyy-mm-dd’

...

todate: stopdate of the deviation (for postal deviations, fromdate and todate are always the same), on the form ‘yyyy-mm-dd’

...