Jump to: navigation, search

Answering a call

Now that your agent is ready to receive calls, you can answer one by sending a request that will look a lot like this. Note that the string at the end of the URL is the ID associated with the call resource:

curl -X POST -H "Content-Type: application/json" -d '{"operationName":"Answer"}' -u ksippo: http://000.111.222.333/api/v2/me/calls/0071023821aec011

If your request is successful, you will receive a status code of 0:

{"statusCode":0}

Web Services operations are asynchronous. When a request returns "statusCode":0, this doesn't indicate a successful change of state — only that the request was successfully sent to T-Server.

What's next?

Now that you have learned some of the basic features of the Web Services API, you may want take a look at the rest of the API, as it will let you do just about anything you might want to with the Genesys software.

This page was last modified on May 19, 2017, at 10:15.

Feedback

Comment on this article:

blog comments powered by Disqus