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.
If you are using the web version of the Teleconsle, please refresh your browser to see the change in DND status.
There are no parameters in the header. All parameters go in the body in JSON Raw format.
|active||Boolean||A value of 1 will activate the DND status on the Teleconsole.|
A value of 0 will deactivate the DND status on the Teleconsole.
|phones||string||The 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.|
To activate the Do Not Disturb status for phone line 124380 use the following syntax:
HTTPS method: PUT
A "null" error indicates successful change of status.