User Tools

Site Tools


api:dk:number:update

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 POST
Access level ADMIN.
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 bad_request Number not found in request URI
422 operator Operator is not valid
404 number Number not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/dk/number/update.txt · Last modified: 2014/06/07 10:25 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki