cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
536
Views
2
Helpful
4
Replies
Highlighted
Cisco Employee

finesse NonGadget-how to correlate REST request with notification

I am making custom webapp using finesse NonGadget sample, i get stuck in the below situations:

when agent is ready, i send out a logout request to finesse server using REST api, the server's response is 202,

and the response doesn't contain info about whether this logout action is valid or not, and then i get a notification from finesse notification server, it says my logout action is invalid but in this notification there is no unique id which i can use to match my logout request, so i need to know how to correlate the logout request with the notification using finesse NonGadget api, thanks a lot.

1 ACCEPTED SOLUTION

Accepted Solutions
Contributor

Re: finesse NonGadget-how to correlate REST request with notification

There is no example in the Dev guide yet. But that will be updated soon with an example.


What you could do:


The ‘requestId’ could be part of the HTTP header sent to Finesse. The header name should be ‘requestId’, and the value a unique string.

The value will be returned as part of the response/notificationrequestid.

View solution in original post

4 REPLIES 4
Contributor

Re: finesse NonGadget-how to correlate REST request with notification

You could add the RequestId to the User object when performing a PUT. Let me know if this helps.

Cisco Employee

Re: finesse NonGadget-how to correlate REST request with notification

could you please provide a sample xml about how to add request id to user object, thanks a lot.

Contributor

Re: finesse NonGadget-how to correlate REST request with notification

There is no example in the Dev guide yet. But that will be updated soon with an example.


What you could do:


The ‘requestId’ could be part of the HTTP header sent to Finesse. The header name should be ‘requestId’, and the value a unique string.

The value will be returned as part of the response/notificationrequestid.

View solution in original post

Cisco Employee

Re: finesse NonGadget-how to correlate REST request with notification

Thanks Edwin, it works well.

Looking forward to the new Dev guide with complete finesse api and examples, thanks a lot.

CreatePlease to create content
Content for Community-Ad
August's Community Spotlight Awards