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