Update an existing Campaign Template in the system. The GUID provided in the body of the message must match the ID of a Campaign Template in the system.
Resource URL:
POST http://slingshot.surgentnetworks.com/api/campaign/flat/template
Header Parameters:
Parameter | Value | Required? |
X-Security-Token | [your security token] | Yes |
Content-Type | application/json or application/xml | Yes |
Example Content / JSON
{ "guid":"1234567890", "campaignDescription":"Some Test Campaign", "campaignPriority":1, "campaignTitle":"Title", "accountGuid":"111222333444", "testMode":false, "respectDoNotCallList":true, "ignoreDuplicates":true, "campaignCallbackNumberPhone":"+15556667777", "campaignCallbackNumberSms":"+5557776666", "messagePhoneType":"VXML", "messagePhoneLiveBody":"http://liveVxml.vxml", "messagePhoneAnsweringMachineBody":"http://amVxml.vxml", "messageSmsType":"SMS", "messageSmsBody":"This is an SMS text", "messageMailBody":"This is an e-mail Message" }
Expected Result:
Header:
HTTP/1.1 200 OK
Body:
None