PUT/phone/dnd

Function


With the PUT/phone/dnd method you can activate or deactivate the Do Not Disturb status on the Teleconsole and any physical phone that is associated with it. When DND status is activated calls will go directly to voicemail.

 
Parameters


There are no parameters in the header. All parameters go in the body in JSON Raw format.


ParameterTypeOperation
activeBooleanA value of 1 will activate the DND status on the Teleconsole.

A value of 0 will deactivate the DND status on the Teleconsole.
phonesstringThe phone lines to set the DND status for. Leave empty to set the status for all phones of the user, or specify one or several lines separated by a comma.

If using the web version of the Teleconsle, please refresh your browser to see the change in DND status.


Example


To activate the Do Not Disturb status for phone line 124380 use the following syntax:


HTTP method: PUT


Header


webserv.telebroad.com/api/teleconsole/rest/phone/dnd


Body


{"active":"1", "phones":"124380"}


Response:


A "null" error indicates successful change of status. 


{

    "error": null,

    "result": "true"

}

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.