question

hamoody-abdulla1771 avatar image
hamoody-abdulla1771 asked ·

Setting subscriptions aggregated query parameter to true using the c#.net SDK

In the API Docs, it states if you want the subscription to return certain parameters, lets say, dndStatus on a Presence event, the aggregated query parameter on the subscription request need to be set to true. I am unable to see where you can set this parameter to true using the c# .NET SDK. Is this not a option using the SDK?

topic-default
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

benjamin-dean avatar image
benjamin-dean answered ·
Hey Hamody,

Sorry to hear you're hitting an issue. Have you posted this in the Github issue tracker for the RingCentral C# SDK?

That is probably the "best" place to get an answer quickly. I've not used this feature, but have you tried enabling the detailedPresence query parameter by setting it to true to see if you receive the data you expect?
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

hamoody-abdulla1771 avatar image
hamoody-abdulla1771 answered ·
Benjamin, I have posted on github per your advice. Also I have tried the detailed Presence to no avail. Same thing applies to it with the aggregated boolean needing to be true. Regards
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

hamoody-abdulla1771 avatar image
hamoody-abdulla1771 answered ·
The github issue I posted resulted in a solution. Tylerlong responded that you just add a the parameter on the end of the request URL like this: /restapi/v1.0/account/~/extension/~/presence?aggregated=true You can find the issue on github at this link: Issue 21 Thanks for the help.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

benjamin-dean avatar image
benjamin-dean answered ·
That's all Tyler's awesome doing there...but happy to facilitate.
Share
1 |1000 characters needed characters left characters exceeded

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.