AnsweredAssumed Answered

How to subscribe to pub sub nodes in Finesse

Question asked by yogeshkumarlog on Dec 30, 2013
Latest reply on Apr 3, 2014 by bilalahmed54

I am trying to subscribe an agent to Team and Queue notification.

I have used(edited) code from non gadget sample.


The request captured from fiddler looks something similar to:

For Team Subscription:

POST /finesse/api/Team/8945/Users HTTP/1.1

Where 8945 is the agent ID

Response :

                HTTP/1.1 404 Not Found


                To test it I also tried User notification:

                                POST /finesse/api/User/8945 HTTP/1.1


                                HTTP/1.1 405 Method Not Allowed

                                Allow: GET,OPTIONS,HEAD,PUT

The added code to non gadget sample for team subscription:


  this.subscribeToTeam = function (agentId, resource, handler, errHandler) {

        var method = "POST",

        url = _webappPath + "/api/Team/" + agentId + "/Users",

        params = { "resource": resource };

        _sendReq(url, method, null, params, handler, errHandler);



Can someone please help me to subscribe to the new nodes for notification in Finesse?