Insert a new lead into the Noojee Campaigner.
Entry point:
http://<server host>/servicemanager/rest/CampaignAPI/insertLead
Parameters:
Parameter | Description |
fTemplateId | Campaign Template id of the Template that the lead will be associated with. |
fCampaignId | Campaign id of the Campaign that the lead will be associated with. |
fAllocationId | Allocation id of the Campaign that the lead will be associated with. |
allowDuplicates | If true checking for duplicate phone numbers will NOT be performed . |
timeStamp | the authentication timestamp. |
hash | the authentication signature or hash. |
Sample query:
http://<server host>/servicemanager/rest/CampaignAPI/insertLead?fTemplateId=37&fCampaignId=42&fAllocationId=47& timeStamp=1412212472393& hash=b529f3e9d6d20e40ff232a07c02bcad62fe6da45755abfeb618af09c9f781bf7
Sample success response:
{"type":"Campaign","entities":[{"id":42,"name":"Jan16a"},{"id":44,"name":"updatetest"}],"code":0,"message":"OK"}