...
Code Block | ||
---|---|---|
| ||
httphttps://<server host>/servicemanager/rest/CampaignAPI/getAllocationList |
Parameters:
Parameter | Description |
fCampaignId | optional - comma delimited list of Campaign id's. Leave blank to return all Allocations |
See 17.0 Get Campaign List to obtain a list of campaign Id's. | |
apiKey | api key provided by Noojee Support |
Sample query:
Code Block | ||
---|---|---|
| ||
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 | ||
---|---|---|
| ||
{"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"} |
...