I currently have set up a poll from RC to get the presence data every 20 seconds. Currently we are running into issues. I am moving over to polling RC once a day to get the initial data and then using subscription to get the rest of the data. I have read some blogs on here linked below. But I can't seem to find a way to subscribe to the entire companies presence data.
The reason for this is we have a KPI board that shows whos in the queue and whos not.
Currently in my program. I have the subscription set up like so:
`subscription.EventFilters.Add("/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true");`
I am logging in with a super admin username and password,
`login = await ringCentral.Authorize("16503514555", "", "xxxxxxx");`
but the subscription that it looks like it is creating is
`/restapi/v1.0/account/134091004/extension/134091004/presence?detailedTelephonyState=true`
Any help would be much appreciated.
Thank You
Andy
Blogs that relate:
https://devcommunity.ringcentral.com/ringcentraldev/topics/explain-subscription-api-presence-api?top...
https://devcommunity.ringcentral.com/ringcentraldev/topics/requesting-presence-for-all-extensions-al...
The reason for this is we have a KPI board that shows whos in the queue and whos not.
Currently in my program. I have the subscription set up like so:
`subscription.EventFilters.Add("/restapi/v1.0/account/~/extension/~/presence?detailedTelephonyState=true");`
I am logging in with a super admin username and password,
`login = await ringCentral.Authorize("16503514555", "", "xxxxxxx");`
but the subscription that it looks like it is creating is
`/restapi/v1.0/account/134091004/extension/134091004/presence?detailedTelephonyState=true`
Any help would be much appreciated.
Thank You
Andy
Blogs that relate:
https://devcommunity.ringcentral.com/ringcentraldev/topics/explain-subscription-api-presence-api?top...
https://devcommunity.ringcentral.com/ringcentraldev/topics/requesting-presence-for-all-extensions-al...