...
Note: The API will only accept POST requests.
Before you can stop a recording you must first obtain a timestamp and a security token via the Authentication method.
There are two forms of the stop method; one which takes the extension number to start recording on and the other takes the uniquecallid generated by asterisk.
...
Code Block | ||
---|---|---|
| ||
httphttps://<server host>/servicemanager/rest/CallManagementAPI/stop?extenOrUniqueId=410& agentLoginName=Fred&timeStamp=1264853382&hash=45678905678956789678906789apiKey=f863246a-973e-11e6-8784-08002718f5b5 |
This method returns the standard HTTP status '200' on success otherwise an error message is returned.
...
Code Block | ||
---|---|---|
| ||
httphttps://<server host>/servicemanager/rest/CallManagementAPI/stop?extenOrUniqueId=12347811.214& agentLoginName=Fred&timeStamp=1264853382&hash=45678905678956789678906789 |
apiKey=f863246a-973e-11e6-8784-08002718f5b5
|
This method returns the standard HTTP status '200' on success otherwise an error message is returned.
Code Block | ||
---|---|---|
| ||
https://<server host>/rest/CallManagementAPI/stop?extenOrUniqueId=410& agentLoginName=Fred&timeStamp=1264853382&hash=45678905678956789678906789 apiKey=f863246a-973e-11e6-8784-08002718f5b5 |