Get group states#
Minimum API level
API version 2.0 or higher
Function call | Permissions | Possible parameters |
---|---|---|
/app_group_logstate | user / sub-admin | none |
Example call:
https://192.168.0.240/app_group_logstate
Info
When logging in as "Admin", the web server returns an empty array, displayed as [].
Response type | Possible content |
---|---|
grpId | Unique group number (not the group call number). |
nr | Internal phone number of the group. |
name | Displays the name of the group. |
kommend | Shows the status of the log state "coming": 0 switched off, 1 switched on |
gehend | Shows the status of the log state "going": 0 switched off, 1 switched on |
Example response
[
{
"grpId": 8224,
"nr": "301",
"name": "Test",
"kommend": 1,
"gehend": 0
},
{
"grpId": 5476,
"nr": "302",
"name": "",
"kommend": 1,
"gehend": 0
},
{
"grpId": 8014,
"nr": "303",
"name": "Amt 2",
"kommend": 1,
"gehend": 0
},
{
"grpId": 4142,
"nr": "308",
"name": "Service",
"kommend": 1,
"gehend": 0
}
]