Wednesday, June 5, 2013

Checking if Queue has available experts via a Rest API call

IQMV4 has a REST API call which returns back JSON response as follows:

[{"totalExperts":"XXXXX","availableExperts":"XXXXXX"}]

If the count of available experts is more than 0 then it would indicate that Queue is ready to service incoming seeker requests.

You will need to make a GET request to the following URL:
http://<<server>>/ITFramework/SessionDetails?queueName=<<Queue Name>>

For a working demo refer the following sample:
http://chatui.instant-tech.com/ITFramework/expert.html

No comments: