api:roaming:text:list
Table of Contents
API : Roaming Text List
Introduction
This request will return all roaming text (SMS) prices for mobile phones while roaming.
Request
| URL | https://api.telecomx.dk/roaming/text | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | |
Query examples
https://api.telecomx.dk/roaming/text
Response
The response is an array of roaming text object.
| Roaming text 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. message cost (ADMIN only). |
| wholesale | Number | Pr. message reseller cost (RESELLER/ADMIN only). |
| price | Number | Pr. message customer price. |
Note that properties holding no value may be omitted from the object.
Response example
[ { _id: '123457890ABCDEF1234578', stayingRegion: 'EU', cost: 0.1, wholesale: 0.2, price: 0.5 }, { ... } ]
Errors
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/roaming/text/list.txt · Last modified: 2014/06/30 19:43 by Per Møller