User Tools

Site Tools


api:porting:reject

API : Porting Reject

Introduction

This request will reject an out porting. This is used when a number/series of numbers are to be ported to another operator but for some reason the porting cannot be approved.

Request

URL https://api.telecomx.dk/porting/PORTING_ID/reject
Method GET
Access level ADMIN.
Param PORTING_ID Id of the porting (24 hex-char string)
Query reason The reason code for why the out porting cannot be approved:
AUTH_MISSING - No Power Of Attorney document received.
WRONG_OWNER - The POA documents does not match the owner of the number(s).
SIM_MISMATCH - ICC/SIM card number is not correct (only valid for MVNO porting).
NOT_IN_USE - The number(s) is not in use.
CUSTOMER_REJECT - The customer does not want the porting to happen.
RANGE_MISMATCH - The range to port does not match the range we hold.

Query example

https://api.telecomx.dk/porting/1234567890ABCDEF12345678/reject?reason=AUTH_MISSING

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 reason Reason is not valid
403 access_denied Porting is not at the right stage to be rejected
404 not_found Porting not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/porting/reject.txt · Last modified: 2014/10/16 22:20 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki