api:dk:number:update
Table of Contents
API : DK Number Update
Introduction
This request will manually assign a danish phone number to a telecom operator.
Request
| URL | https://api.telecomx.dk/dk/number/NUMBER | |
|---|---|---|
| Method | GET | |
| Access level | RESELLER_ADMIN with PORTING feature. ADMIN. |
|
| Param | NUMBER | 8 digit phone number to assign (may also be prefixed with +45). |
| Query | operator | Operators CPS code - 5 characters. The operator to assign the number to. |
Query examples
https://api.telecomx.dk/dk/number/71919998?operator=01234
Response
| JSON object | ||
|---|---|---|
| success | Boolean | True on success |
Example
{ "success": true }
Errors
| Error code | Message | Description |
|---|---|---|
| 400 | number | Number is invalid |
| 404 | operator | Operator is not valid |
| 404 | number | Number not found |
| 422 | operator | 5-digit operator code |
| 403 | access_denied | Insufficient access level |
| 500 | internal_error | <Unspecified> |
api/dk/number/update.txt · Last modified: by Mikkel Meerwaldt Jørgensen