This request will update multiple roaming partners at once. Can be used together with the “upload” endpoint, to upload multiple roaming partners in an Excel file, and then save them.
| URL | https://api.telecomx.dk/mvno/roamingpartner | |||
|---|---|---|---|---|
| Method | POST | |||
| Access level | ADMIN. | |||
| Body | Array | Array containing all of the roaming partners to be created or updated, see definition below. | ||
| Mvno Roaming Partner | ||
|---|---|---|
| _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. |
https://api.telecomx.dk/mvno/roamingpartner/update
| 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> |