Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Rettet hostname i URL

...

Environments / Endpoints

TEST
https://staging-appws.di.no/ws/json/addressHelper/v-2
PRODUCTION
https://appws.di.no/ws/json/addressHelper/v-2

...

Code Block
languagebash
titlegetStreetCollections Request
# NOTE: Remember to concatenate the URL/QueryString - we have spread it over several lines for better readability

curl 'https://appws.di.no/ws/json/addressHelper/v-2/NO/streetSearch/akersgata?apiKey=<your-api-key>'
-H 'referer: <your-web-address>'

...

Code Block
languagebash
titlegetStreetNumbersForCollection request
collapsetrue
# NOTE: Remember to concatenate the URL/QueryString - we have spread it over several lines for better readability

curl 'https://appws.di.no/ws/json/addressHelper/v-2/NO/streetNumberSearch/14881,15003?apiKey=<your-api-key>&streetNumber=1'
-H 'referer: <your-web-address>'

...

Code Block
languagebash
titlegetFloors Request
collapsetrue
# NOTE: Remember to concatenate the URL/QueryString - we have spread it over several lines for better readability

curl 'https://appws.di.no/ws/json/addressHelper/v-2/NO/address/431980/floors?apiKey=<your-api-key>'
-H 'referer: <your-web-address>'

...

Code Block
languagebash
titlegetHouseholdsOnFloor Request
collapsetrue
# NOTE: Remember to concatenate the URL/QueryString - we have spread it over several lines for better readability

curl 'https://appws.di.no/ws/json/addressHelper/v-2/NO/address/1220170/floor/H-3?apiKey=<your-api-key>'
-H 'referer: <your-web-address>'

...

Code Block
languagebash
titledistributionSupport Request
collapsetrue
# NOTE: Remember to concatenate the URL/QueryString - we have spread it over several lines for better readability

curl 'https://appws.di.no/ws/json/addressHelper/v-2/NO/address/508042/distributionSupport/CS-PROD?apiKey=<your-api-key>'
-H 'referer: <your-web-address>'

...

Code Block
languagebash
titleDistributions Request
collapsetrue
# NOTE: Remember to concatenate the URL/QueryString - we have spread it over several lines for better readability

curl 'https://appws.di.no/ws/json/addressHelper/v-2/NO/distributionDates/CS-PROD/2017-12-13/2017-12-23?apiKey=<your-api-key>'
-H 'referer: <your-web-address>'

...