api:mvno:account:changenetwork
Table of Contents
API : MVNO Account Change Network
Introduction
This request will change the mobile network for the specified MVNO account. It is used to switch between Telenor and TDC mobile network.
Request
| URL | https://api.telecomx.dk/mvno/ACCOUNT_ID/changenetwork/NEW_SIM_NUMBER | |
|---|---|---|
| Method | GET | |
| Access level | OWNER when user belongs to the customer. RESELLER if customer belongs to the reseller. RESELLER_ADMIN. ADMIN. |
|
| Param | ACCOUNT_ID | Id of the MVNO account (24 hex-char string). |
| NEW_SIM_NUMBER | ICC number of the new SIM card to use on the other network (19-20 digits), or the phrase “eSim” to auto-assign a new eSim, or “autoAssign” to use an auto-assign SIM-card | |
Query examples
https://api.telecomx.dk/mvno/1234567890ABCDEF12345678/changenetwork/1234567890123456789 https://api.telecomx.dk/mvno/1234567890ABCDEF12345678/changenetwork/eSim https://api.telecomx.dk/mvno/1234567890ABCDEF12345678/changenetwork/autoAssign
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ success: true }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | mvnoAccount | MVNO account not found |
| 404 | sim | SIM card not found, not available or on the wrong network |
| 403 | state | Network cannot be changed due to the current state of the account |
| 403 | porting | Network cannot be changed while the account is in porting |
| 404 | esim | Out of eSim - none available |
| 500 | internal_error | <Unspecified> |
api/mvno/account/changenetwork.txt · Last modified: 2024/02/16 09:22 by Joakim Andersen