User Tools

Site Tools


api:mvnoroamingpartners:update

API : MVNO roaming partners Update

Introduction

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.

Request

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.

Query examples

https://api.telecomx.dk/mvno/roamingpartner/update

Response

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.

Example - normal

{
    "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"
        }
     ]
}

Errors

Error code Message Description
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/mvnoroamingpartners/update.txt · Last modified: 2020/02/21 13:52 by Joakim Andersen

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki