...
Code Block |
---|
{"fieldname1": "lead 1 field 1 value", "fieldname2" , "lead 1field 2 value"}
, {"fieldname1": "lead 2 field 1 value", "fieldname2" , "lead 2 field 2 value"} |
...
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"}' 'https://<server host>/servicemanager/rest/CampaignAPI/insertLeadFast?fTemplateId=41&fCampaignId=41 &fAllocationId=38&apiKey=f863246a-973e-11e6-8784-08002718f5b5&allowDuplicates=true' |
...