Table of Contents

API : Roaming Text List

Introduction

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

Request

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

Query examples

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

Response

The response is an array of roaming text objects.

Roaming Text object (JSON)
_id Id Id
stayingRegion String The region the mobile phone is staying in: EU_NORDIC, REST_OF_EUROPE, WORLD1, WORLD2, WORLD3.
cost Number Pr. message cost (RESELLER_ADMIN/ADMIN only).
wholesale Number Pr. message reseller cost (RESELLER, RESELLER_ADMIN or ADMIN only).
price Number Pr. message customer price.

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

Response example

[
{
  "_id": "650000000000000000000001",
  "stayingRegion": "EU_NORDIC",
  "cost": 1.0,
  "wholesale": 1.5,
  "price": 1.75
}
]

Errors

Error code Message Description
403 access_denied A minimum access level of 'VIEWER' required
500 internal_error <Unspecified>