PUT /campaign/flat/template

Create a new Campaign Template.
Resource URL:

PUT 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

{
"campaignDescription":"Some Test Campaign",
"campaignPriority":1,
"campaignTitle":"Title",
"accountGuid":"111222333444",
"guid":"1234567890",
"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 201 Created

Body:

None

Comments are closed.