GET /campaign/flat/template/:id

Retrieve an existing Campaign Template from the system. Only Templates associated with the account identified by the security token can be retrieved.
Header Parameters:

Parameter Value Required?
X-Security-Token [your security token] Yes
Accept application/json or application/xml Yes

URL Parameters:

Parameter Value Required?
id The GUID of the Campaign Template to be retrieved Yes

Expected Result:
Header:

HTTP/1.1 200 OK

Body:

A representation of the retrieved Campaign Template

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"
}

Comments are closed.