User Tools

Site Tools


api:pbx:app:grouppermissions

API : PBX : APP: Group Permissions

Introduction

This request is used to check if the user has the rights to perform actions on a given target.

Request

URL https://api.telecomx.dk/pbx/app/grouppermissions
Method GET
Access level PERSONAL, VIEWER, MANAGER, OWNER, RESELLER, ADMIN.
Query target Id of the extension we wish to perform an action on.

Query examples

https://api.telecomx.dk/pbx/app/grouppermissions?target=12345678901234567890ABCD

Response

JSON object
pickup Boolean True if user may pickup calls from the target extension.
steal Boolean True if user may steal ongoing calls from the target extension.
spy Boolean True if user may listen in on calls on the target extension.
setPresence Boolean True if user may set the presence for the target extensions employee.
queueMember Boolean True if user may add and remove the extension to/from a queue.
viewOtherParty Boolean True if user may see who the extension is talking to.
readCalendar Boolean True if user may read the extensions employees calendar.
writeCalendar Boolean True if user may write to the extensions employees calendar.
readPhonebook Boolean True if user may read the extensions employees phonebook.
writePhonebook Boolean True if user may write to the extensions employees phonebook.
controlSipDevices Boolean True if user may control the extensions sip devices (make calls, hangup etc).

Example - normal

{
  "pickup": true,
  "steal": true,
  "spy": false,
  "setPresence": true,
  "queueMember": true,
  "viewOtherParty": false,
  "readCalendar": false,
  "writeCalendar": false,
  "readPhonebook": false,
  "writePhonebook": false,
  "controlSipDevices": false
}

Errors

Error code Message Description
422 target Target is missing or invalid
500 internal_error <Unspecified>
api/pbx/app/grouppermissions.txt · Last modified: 2025/08/12 12:06 by Per Møller

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki