How to fetch subscribers name and userid for particular workitem through REST SDK API
One answer
wi.getSubscriptions() returns a collection. The way you cast indicates you do not see the information. See https://rsjazz.wordpress.com/2015/09/30/learning-to-fly-getting-started-with-the-rtc-java-apis/ how to set this up to be able to see the info.
There is no magic here. You iterate the subscribers and resolve the handles. The reverse API is explained here https://rsjazz.wordpress.com/2012/08/02/subscribing-to-a-work-item-using-the-java-api/
Comments
Himanshu Vashisth
Nov 16 '19, 10:09 a.m.