User Tools

Site Tools


api:tce:swap

API : TCE box Swap

Introduction

This request is used to replace a defective TCE box with a new one.

Request

URL https://api.telecomx.dk/tce/TCE_ID/swap/NEW_TCE_ID
Method GET
Access level ADMIN
Param TCE_ID MAC address of TCE box.
NEW_TCE_ID MAC address of replacement TCE box.

Query examples

https://api.telecomx.dk/tce/123456789012/swap/345678909876

Response

JSON object
success True on success

Example

{
  success: true
}

Errors

Error code Message Description
403 access_denied Insufficient access level
404 id Id not found
409 newid New MAC address is already in use
404 newid New MAC address is invalid
500 internal_error <Unspecified>
api/tce/swap.txt · Last modified: 2016/08/05 12:04 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki