api:porting:cancel
Table of Contents
API : Porting Cancel
Introduction
This request will cancel a porting.
Request
| URL | https://api.telecomx.dk/porting/PORTING_ID/cancel | |
|---|---|---|
| Method | GET | |
| Access level | OWNER if user belongs to the customer. RESELLER if customer belongs to the reseller. RESELLER_ADMIN, ADMIN. |
|
| Param | PORTING_ID | Id of the porting (24 hex-char string) |
Query example
https://api.telecomx.dk/porting/1234567890ABCDEF12345678/cancel
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 |
| 403 | access_denied | Porting is not at the right stage to be cancelled |
| 403 | access_denied | Insufficient access level |
| 403 | numberType | MVNO portings must be cancelled by deleting the MVNO account |
| 404 | voiceAccount | The voice account the MVNO porting belongs to was not found - unable to determine mobile network provider |
| 500 | internal_error | <Unspecified> |
api/porting/cancel.txt · Last modified: 2023/12/19 15:54 by Per Møller