17.0 Get Campaign List

17.0 Get Campaign List

Retrieve a list of Campaigns from Campaign Templates supplied. 

Entry point:

https://<server host>/servicemanager/rest/CampaignAPI/getCampaignList

URL Args:

Parameter

Description

fTemplateId

optional - comma delimited list of Campaign Template id's. Leave blank to return all Campaigns

See 16.0 Get Campaign Template List to obtain Template Id's

apiKey

api key provided by Noojee Support

 

Sample query:

https://<server host>/servicemanager/rest/CampaignAPI/getCampaignList?fTemplateId=37,39& apiKey=f863246a-973e-11e6-8784-08002718f5b5

 

Curl example:

curl "https://<server host>/servicemanager/rest/CampaignAPI/getCampaignList?fTemplateId=37,39&apiKey=f863246a-973e-11e6-8784-08002718f5b5"

 

 

Sample success response:

{"type":"Campaign","entities":[{"id":42,"name":"Jan16a"},{"id":44,"name":"updatetest"}],"code":0,"message":"OK"}