...
Code Block | ||
---|---|---|
| ||
httphttps://<server host>/servicemanager/rest/CampaignAPI/insertLead |
...
Parameter | Description |
fTemplateId | Campaign Template id of the Template that the lead will be associated with. See 16.0 Get Campaign Template List to obtain Template Id's |
fCampaignId | Campaign id of the Campaign that the lead will be associated with. See 17.0 Get Campaign List to obtain a list of campaign Id's. |
fAllocationId | Allocation id of the Campaign that the lead will be associated with. See 18.0 Get Allocation List to obtain a list of allocations. |
allowDuplicates | If true checking for duplicate phone numbers will NOT be performed . |
timeStamp | the authentication timestamp. |
hash | the authentication signature or hash. |
apiKey | api key provided by Noojee Support |
System fields that can be part of the json data:
...
Code Block | ||
---|---|---|
| ||
curl -v -H "Accept: application/json" -H "Content-Type: application/json" -X POST -d '{"Name":"Jane Smith","StreetAddress":"Suite 8/10 Hoddle St", "City": "Abbotsford", "State":"Vic", "PostCode":"3064", "FirstPhone":"0383218199"}' 'httphttps://<server host>/servicemanager/rest/CampaignAPI/insertLead?fTemplateId=41&fCampaignId=41&fAllocationId=38&apiKey=f863246a-973e-11e6-8784-08002718f5b5&allowDuplicates=true' |
...