User Tools

Site Tools


api:porting:confirm

API : Porting Confirm

Introduction

This request will confirm/approve an out porting. This is used when a number/series of numbers are to be ported to another operator.

Request

URL https://api.telecomx.dk/porting/PORTING_ID/confirm
Method GET
Access level ADMIN.
Param PORTING_ID Id of the porting (24 hex-char string)
Query date The date we approve the porting to be carried out, must be the requested date or a later date if we have just cause for choosing that. The date cannot be more than 2 months into the future.

Query example

https://api.telecomx.dk/porting/1234567890ABCDEF12345678/confirm?date=2014-01-01

Response

Json object
success Boolean True if request was sucessful.

Example

{
  success: true
}

Errors

Error code Message Description
400 bad_request Porting id not found in requested URI
422 date Date is not valid
422 date The date cannot precede the requested date
422 date The date cannot be more than 1 month into the future
403 id Porting is not at the right stage to be confirmed
404 not_found Porting not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/porting/confirm.txt · Last modified: 2014/10/17 15:39 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki