api:mvno:account:changenumber
Table of Contents
API : MVNO Account Change Number
Introduction
This request will change the phone number for the specified MVNO account. It is only possible to change to a number that exists in the unassigned numbers pool.
Request
| URL | https://api.telecomx.dk/mvno/ACCOUNT_ID/changenumber/NEW_NUMBER | |
|---|---|---|
| Method | GET | |
| Access level | MANAGER or OWNER when user belongs to the customer. RESELLER if customer belongs to the reseller. ADMIN. |
|
| Param | ACCOUNT_ID | Id of the MVNO account (24 hex-char string). |
| NEW_NUMBER | New phone number (E.164 format). | |
Query example
https://api.telecomx.dk/mvno/1234567890ABCDEF12345678/changenumber/+4512345678
Response
| Json object | ||
|---|---|---|
| success | Boolean | True on success |
| number | String | The new phone number |
Example
{ success: true, number: '+4512345678' }
Errors
| Error code | Message | Description |
|---|---|---|
| 404 | mvnoAccount | MVNO account not found |
| 422 | number | New number is invalid |
| 404 | number | New number not found or not available |
| 409 | number | New number is not a mobile number |
| 500 | internal_error | <Unspecified> |
api/mvno/account/changenumber.txt · Last modified: 2023/06/13 13:19 by Joakim Andersen