This request will change the mobile network for the specified MVNO account. It is used to switch between Telenor and TDC mobile network.
| 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 | |
https://api.telecomx.dk/mvno/1234567890ABCDEF12345678/changenetwork/1234567890123456789 https://api.telecomx.dk/mvno/1234567890ABCDEF12345678/changenetwork/eSim https://api.telecomx.dk/mvno/1234567890ABCDEF12345678/changenetwork/autoAssign
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
{ success: true }
| 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> |