Telenor Stores API

API Reference

This API lets your app retrieve a list of Telenor stores and their details

telenor-stores

GET /telenor-stores/v1 Returns a list of all the Telenor stores ("Telenorbutikken")

Implementation notes

Parameters

  • Authorization*
  • The authorization header containing the access token. See the oauth-v2 API for how to obtain the token. Example: "Authorization: Bearer 065d160140eea13e72cde31a7b857bbfa37390e5"
  • header
  • string

Response class (Status 200)

telenorStoreIdinteger
The id of the store
namestring
The name of the store
storeTypestring
The type of the store
openingHoursstring
The opening hours of the store
phonenumberstring
The phone number to the store
emailAddressstring
The email address to the store
addressstring
The address to the store
postCodestring
The post code to the store
citystring
The city of the address of the store
longitudestring
The longitude part of the GPS coordinates of the store, ex "10.9602237" on <a href="http://en.wikipedia.org/wiki/Decimal_degrees">decimal degrees format</a>, with length of decimals at least 4 and max 8.
latitudestring
The latitude of the GPS coordinates of the store, ex "59.9278477" on <a href="http://en.wikipedia.org/wiki/Decimal_degrees">decimal degrees format</a>, with length of decimals at least 4 and max 8.
{
  "telenorStoreId": "int",
  "name": "string",
  "storeType": "string",
  "openingHours": "string",
  "phonenumber": "string",
  "emailAddress": "string",
  "address": "string",
  "postCode": "string",
  "city": "string",
  "longitude": "string",
  "latitude": "string"
}

Error responses

400
Bad Request:
Error code 40001 - Missing or invalid enduserId
401
Unauthorized:
Error code 40101 - Invalid resource
Error code 40102 - Missing authorization header
Error code 40103 - No API product found
Error code 40104 - Not authorized to use given MSISDN
Error code 40105 - Invalid access token
Error code 40106 - Access token expired
Error code 40107 - Basic authentication not allowed for external access or not allowed for client
Error code 40108 - Invalid client id or secret for basic authentication
403
Forbidden:
Error code 40301 - Invalid scope
404
Not Found:
Error code 40401 - Path or method not found
Error code 4042000 - Path or method not found on back-end server
429
Too Many Requests:
Error code 42901 - Rate limit quota violation
Error code 42902 - Spike arrest violation
500
Internal Server Error:
Error code 50001 - Internal Server Error
Error code 50002 - Failed to validate acr
Error code 50003 - Failed to validate subscription
Error code 500100 - Internal server error
The Try-It functionality is only available when logged in to the portal.