Table of Contents

API : Porting Split

Introduction

This request is used to split a porting in to multiple portings. Needed when a donor operator requires landline numbers to be ported separately.

Request

URL https://api.telecomx.dk/porting/PORTING_ID/split
Method GET
Access level OWNER, RESELLER, RESELLER_ADMIN or ADMIN.
Param PORTING_ID Id of the porting (24 hex-char string)

Query example

https://api.telecomx.dk/porting/1234567890ABCDEF12345678/split

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
404 not_found Porting not found
409 additionalNumbers Porting cannot be split - it only has a single number
409 stage Porting is not at the right stage to be split
403 access_denied Insufficient access level
500 internal_error <Unspecified>