api:dk:number:update
Table of Contents
API : DK Number Update
Introduction
This request will update the operator that a Danish number is located with. This is a failsafe method in case the Danish number table holds incorrect data. It should never be used in daily operations as these data are automatically updated based OCH porting data.
Request
| URL | https://api.telecomx.dk/dk/number/NUMBER | |
|---|---|---|
| Method | GET | |
| Access level | RESELLER_ADMIN, ADMIN with PORTING feature. | |
| Param | NUMBER | Phone number to update, E.164 or 8 digit. |
| query | operator | The CPS code of the operator the number is located with. |
Query examples
https://api.telecomx.dk/dk/number/81808888?operator=01060
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 |
| 403 | access_denied | Insufficient access level |
| 422 | number | Number is invalid |
| 422 | operator | 5-digit operator code |
| 500 | internal_error | <Unspecified> |
api/dk/number/update.txt · Last modified: 2026/05/28 11:49 by Mikkel Meerwaldt Jørgensen