API Version: 6.3
System-Admin
or Company-Admin
with 'default' company access. If promoting a phone to a non-default company, a Company-Admin
also needs access to the target company./rest/dialplan/inactive/
{
"type": "phone"
}
{
"result": "success",
"values": [
{
"phoneid": "phone id",
"type": "phone type description"
"created": creation epoch-time
}
],
"numrows": rows-returned
}
phoneid
value is the handset identifier which is it's mac address and it's 'port' number combined. For most devices, the port number is a 0
./rest/dialplan/promote/
company
value can be specified to promote and assign the handset in one operation. If omitted, the device is promoted into the default
company. The user must have permission, and the company must exist.{
"type": "phone",
"scope": {
"phoneid": "0123456789ab0"
},
"values": {
"company": "acompany"
}
}
{
"result": "success",
"numrows": rows-updated
}
/rest/dialplan/demote/
{
"type": "phone",
"scope": {
"phoneid": "0123456789ab0"
}
}
{
"result": "success",
"numrows": rows-removed
}