This request will return upload an excel file of roaming partners, and return them as JSON.
| URL | https://api.telecomx.dk/mvno/roamingpartner | ||
|---|---|---|---|
| Method | POST | ||
| Access level | ADMIN. | ||
| Property | Type | Description | |
| file | file | Excel file of roaming partners. Can contain both existing and new roaming partners. | |
https://api.telecomx.dk/mvno/roamingpartner/upload
| JSON object | |
|---|---|
| total | Number of documents that are returned. |
| roamingPartners | Array of documents, see definition below |
| Document object (JSON) | ||
|---|---|---|
| _id | String | 5 char ID code for the telecom. |
| operator | String | 5 char ID code for the telecom. |
| country | string | Name of the country the telecom operates in. |
| countryCode | String | ISO3166-2 2-char country code. |
| code | Number | Operator code as used in billing data. |
| region | String | Region telecom belongs to: euNordic, restOfEurope, world1, world2, world3. |
Note that properties holding no value may be omitted from the object.
{ "total": 2, "roamingPartners": [ { "_id": "ABCDF", "operator": "Nordic Telecom", "country": "Sweden", "countryCode": "SE", "code": 77781, "region": "world1" }, { "_id": "EFGHAS", "operator": "Polynesia Mobilea", "country": "French Polynesia", "countryCode": "PF", "code": 12345, "region": "world3" } ] }
| Error code | Message | Description |
|---|---|---|
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |