This request will return a single roaming text price object.
| URL | https://api.telecomx.dk/roaming/text/TEXT_ID | |
|---|---|---|
| Method | GET | |
| Access level | VIEWER, MANAGER, OWNER, RESELLER, ADMIN. | |
| Param | TEXT_ID | Id of the roaming text (24-char hex string). |
https://api.telecomx.dk/roaming/text/1234567890ABCDEF12345678
The response is a roaming text object.
| JSON object | ||
|---|---|---|
| _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. |
| wholesale | Number | Pr. message reseller cost. |
| price | Number | Pr. message customer price. |
Note that properties holding no value may be omitted from the object.
{ _id: '123457890ABCDEF1234578', stayingRegion: 'EU', cost: 0.1, wholesale: 0.2, price: 0.5 }
| Error code | Message | Description |
|---|---|---|
| 400 | bad_request | Id not found in request URI |
| 404 | id | Roaming text not found |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |