...
Code Block |
---|
|
extenOrUniqueId - the internal or agent extension.
apiKey - api key provided by Noojee Support
– OR --
timeStamp - the authentication timestamp.
hash - the authentication signature or hash.
|
Sample Hangup query using API Key:
Code Block |
---|
|
http://<server host>/servicemanager/rest/CallManagementAPI/hangup?
apiKey=f863246a-973e-11e6-8784-08002718f5b5&
extenOrUniqueId=100 |
Sample Hangup query using timestamp/hash:
Code Block |
---|
|
http://<server host>/servicemanager/rest/CallManagementAPI/hangup?
timeStamp=1412212472393&
hash=b529f3e9d6d20e40ff232a07c02bcad62fe6da45755abfeb618af09c9f781bf7&
extenOrUniqueId=100 |
Sample success response:
Code Block |
---|
|
{"Message":"Channel Hungup","Code":0} |
Sample expired timestamp response. When the timestamp expires, the call must be repeated with a newly acquired timestamp.
Code Block |
---|
|
{"Message":"Expired TimeStamp","Code":-1} |