Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
linenumberstrue
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
linenumberstrue
http://<server host>/servicemanager/rest/CallManagementAPI/hangup?
apiKey=f863246a-973e-11e6-8784-08002718f5b5&
extenOrUniqueId=100

Sample Hangup query using timestamp/hash:

Code Block
linenumberstrue
http://<server host>/servicemanager/rest/CallManagementAPI/hangup?
timeStamp=1412212472393&
hash=b529f3e9d6d20e40ff232a07c02bcad62fe6da45755abfeb618af09c9f781bf7&
extenOrUniqueId=100

Sample success response:

Code Block
linenumberstrue
{"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
linenumberstrue
{"Message":"Expired TimeStamp","Code":-1}