Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
linenumberstrue
httphttps://<server host>/servicemanager/rest/CampaignAPI/getAllocationList

Parameters:

ParameterDescription
fCampaignId

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

timeStampthe authentication timestamp.hashthe authentication signature or hash.

See 17.0 Get Campaign List to obtain a list of campaign Id's.

apiKeyapi key provided by Noojee Support


Sample query:

Code Block
linenumberstrue
httphttps://<server host>/servicemanager/rest/CampaignAPI/getAllocationList?fCampaignId=37,39
timeStamp=1412212472393&
hash=b529f3e9d6d20e40ff232a07c02bcad62fe6da45755abfeb618af09c9f781bf7
&apiKey=f863246a-973e-11e6-8784-08002718f5b5

Curl Example

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


Sample success response:

Code Block
linenumberstrue
{"type":"Campaign Allocation"
,"entities":[{"id":54,"name":"Fred"},{"id":50,"name":"MobRossMobiles"},{"id":44,"name":"MyMobile"}
	,{"id":49,"name":"NewMobNewMobiles"},{"id":48,"name":"RossMobHot Leads"}]
,"code":0,"message":"OK"}

...