User Tools

Site Tools


api:roaming:data:list

API : Roaming Data List

Introduction

This request will return all roaming data prices for mobile phones while roaming.

Request

URL https://api.telecomx.dk/roaming/data
Method GET
Access level VIEWER, MANAGER, OWNER, RESELLER, ADMIN.

Query examples

https://api.telecomx.dk/roaming/data

Response

The response is an array of roaming data object.

Roaming data object (JSON)
_id Id Id
stayingRegion String The region the mobile phone is staying in: NORDIC, EU, REST_OF_EUROPE, WORLD1, WORLD2, WORLD3.
cost Number Pr. mb data cost (ADMIN only).
wholesale Number Pr. mb data reseller cost (RESELLER/ADMIN only).
price Number Pr. mb data customer price.

Note that properties holding no value may be omitted from the object.

Response example

[
  {
    _id: '123457890ABCDEF1234578',
    stayingRegion: 'EU',
    cost: 0.5,
    wholesale: 1,
    price: 1.5
  },
  {
    ...
  }
]

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/roaming/data/list.txt · Last modified: 2014/06/04 13:48 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki