User Tools

Site Tools


api:pbx:sipphone:reboot

API : PBX: SIP phone Reboot

Introduction

This request will ask the SIP phone to reboot immediately.

Request

URL https://api.telecomx.dk/pbx/sipphone/SIPPHONE_ID/reboot
Method GET
Access level MANAGER, OWNER if user belongs to the customer.
RESELLER if customer belongs to the reseller.
ADMIN.
Param SIPPHONE_ID Id of the SIP phone (24 hex-char string).

Query example

https://api.telecomx.dk/pbx/sipphone/1234567890ABCDEF12345678/reboot

Response

JSON object
success Boolean True on success.

Example

{
  success: true
}

Errors

Error code Message Description
400 bad_request Id not found in request URI
404 not_found SIP phone not found
403 access_denied Insufficient access level
500 internal_error <Unspecified>
api/pbx/sipphone/reboot.txt · Last modified: 2015/11/06 07:11 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki