18.0 Get Allocation List
Retrieve a list of Allocations from the Campaign supplied.
Entry point:
https://<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:
https://<server host>/servicemanager/rest/CampaignAPI/getAllocationList?fCampaignId=37,39 &apiKey=f863246a-973e-11e6-8784-08002718f5b5
Curl Example
curl "https://<server host>/servicemanager/rest/CampaignAPI/getAllocationList?fCampaignId=37,39&apiKey=f863246a-973e-11e6-8784-08002718f5b5"
Sample success response:
{"type":"Campaign Allocation" ,"entities":[{"id":54,"name":"Fred"},{"id":50,"name":"Mobiles"},{"id":44,"name":"MyMobile"} ,{"id":49,"name":"NewMobiles"},{"id":48,"name":"Hot Leads"}] ,"code":0,"message":"OK"}