Quantcast
Channel: Topliners: Message List
Viewing all articles
Browse latest Browse all 3431

How to create a campaign based on a template using the REST API

$
0
0

Hi CodeIt-ers,

I'm using the REST API to create campaigns in Eloqua 10, all works well except for 1 thing: I can't seem to create a campaign based on an existing Campaign template.

Based on the documentation on REST API - Accessing Campaigns I've tried using "sourceTemplateId" (code snippet below) but that did not do the trick.

Does that functionality simply not work or am I missing something?

Thanks!

Ferry

 

$campaign_data = new Campaign(); 

$campaign_data->sourceTemplateId='442';

$campaign_data->folderId='1137';

$campaign_data->currentStatus='draft';


Viewing all articles
Browse latest Browse all 3431

Trending Articles