Picture of Ralf 5242
Registered 4 years 125 days
Ralf 5242 Wednesday, 3 February 2021, 09:55 AM
PbxAdminApi - Get information about groups
Hello,

when using the SOAP-API we can get information about all the "objects" in the pbx. Especailly we need to get information about "groups"/"waiting queues"/....

When using the PbxAdminApi function "GetGroups" we get the names of the groups delivered (see below).
When we then try to get information about the groups we only get information about "Attendant" (because there exists a pbx object with the same name as the group).
We also need to get information about the other groups/waiting queue/....

How can we get the other pbx objects like "waiting queue", "call broadcast", ...?


{
"api": "PbxAdminApi",
"mt": "GetGroupsResult",
"groups": [
"Attendant",
"agents",
"gruppe1",
"gruppe2",
"zentrale"
]
}



Thanks
Picture of Carmen Álvarez Méndez (innovaphone)
Moderator Registered 7 years 143 days
Carmen Álvarez Méndez (innovaphone) Thursday, 11 February 2021, 03:14 PM
1 of 1 users consider this post helpful
Re: PbxAdminApi - Get information about groups
Hi Ralf,

You can use GetPseudoObjects:
https://sdk.innovaphone.com/doc/appwebsocket/PbxAdminApi.htm#GetPseudoObjects

Setting the pseudo parameter as waiting you will get an array with all the Waiting Queues and then you can send a GetObject JSON with every cn from every Waiting Queue to get all the data for the given Waiting Queue. This logic also applies to other pseudo types of objects.

Greetings,
Carmen
Picture of Ralf 5242
Registered 4 years 125 days
Ralf 5242 Friday, 12 February 2021, 09:42 AM
Re: PbxAdminApi - Get information about groups
Hi Carmen,

thanks, that's what I was looking for.

Greetings,
Ralf
← You can define your color theme preference here