Add one notification to the Queue
Resource URL:
PUT http://slingshot.surgentnetworks.com/api/queue
Header Parameters:
Parameter | Value | Required? |
X-Security-Token | [your security token] | Yes |
Content-Type | application/json or application/xml | Yes |
Example Content / JSON
{ "callReferenceId":"D8B599", "outboundNumber":"15556667777", "notificationType":2, "application":1, "callBackNumber":"15557776666", "message":"Default Message" }
Example Content / XML
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <notification> <callReferenceId>D8B599</callReferenceId> <outboundNumber>15556667777</outboundNumber> <callBackNumber>15557776666</callBackNumber> <notificationType>1</notificationType> <application>1</application> <message>Some Message</message> </notification>
Expected Result:
Header:
HTTP/1.1 201 Created
Body:
None