10-19-2020 09:44 AM
Hello everyone,
is there a way to subscribe an entire group to a call event using one of HTTP Contact or Event Channel methods.
We were able to subscribe single users but for an entire group, if we do not know how many users that group has, that would be hard.
We would like to be able to subscribe all the users of a group with a single XSI call. If this is not possible, is there a call to get all the users of a group?
Thanks
10-22-2020 05:56 AM
Hi,
Can you try subscribing to an event for a group using "http(s)://<hostaddress:port>/com.broadsoft.xsi-events/v2.0/serviceprovider/<serviceproviderid>/group/<groupid>"
Hopefully subscribing an event for a group, will include subscription for users as well.
"
"
10-22-2020 09:26 AM
Thanks for you answer,
we are able to create a subscription via the endpoint you provided (but we don't get any POST to the HTTPContact uri).
In response we receive a subscription id and we get that in the subscriptions list:
http://<hostaddress:port>/com.broadsoft.xsi-events/v2.0/subscription
We can even see the expire time going down with multiple call.
The problem is that as soon as we make a call the subscription disappear (get deleted?)
We are not sure about the serviceproviderid we are using. Where we can find that info? Is there an endpoint?
Thanks
10-23-2020 02:24 AM
Hi ,
If you have any user under the group, you can try to get the user profile using
http(s)://<hostaddress:port>/com.broadsoft.xsi-actions/v2.0/user/<userid>/profile |
In the response to the above API request, you will get the ServiceProvider info, to which the requested User's group belongs to.
10-23-2020 02:31 AM
Thanks,
that's what we have done, so we were right using the serviceprovider returned by that endpoint.
Any clues about the deletion of the subscription on the first call? Maybe we are not supposed to subscribe for a group in the
sandbox?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide