Versions Compared

Key

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

Insert a new lead into the Noojee Campaigner. Lead data is to be POSTed and encoded as json.

Entry point:

Code Block
linenumberstrue
http://<server host>/servicemanager/rest/CampaignAPI/insertLead

...

Code Block
linenumberstrue
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"}' 'http://<server host>/servicemanager/rest/CampaignAPI/insertLead?fTemplateId=41&fCampaignId=41&fAllocationId=38&apiKey=f863246a-973e-11e6-8784-0800
2718f5b508002718f5b5&allowDuplicates=true'


Sample success response:

...