Table of Contents

API : MVNO Deleted Accounts : Restore

Introduction

This request will restore a MVNO account that has been terminated. MVNO accounts can only be restored within 30 days of termination.

Request

URL https://api.telecomx.dk/mvno/deleted/ACCOUNT_ID/restore
Method POST
Access level ADMIN
RESELLER_ADMIN.
Param ACCOUNT_ID Id of the MVNO account (24 hex-char string)
Body ratePlan [optional] Id of rateplan that the MVNO account should use after restoration - can be used in case the MVNO account's original rateplan was deleted
newRatePlan [optional] Id of rateplan the MVNO account should switch to when the month is over - can be used in case the MVNO account's original rateplan was deleted

Query example

https://api.telecomx.dk/mvno/deleted/1234567890ABCDEF12345678/restore

Response

Json object
success Boolean True if data is successfully bought and added to the mobile account.

Example

{
  success: true
}

Errors

Error code Message Description
404 id MVNO account not found
404 ratePlan Rate plan not found
404 newRatePlan New rate plan not found
500 internal_error <Unspecified>