Versions Compared

Key

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

...

System fields that can be part of the json data:

ParameterDescription
njExternalLeadIdA reference, account number or the like taken from the external data source. Also used to identify lead when updates are made.
njDispositionDisposition code. Any Dispositon Actions associated with the new Disposition (via the value in njDispositon) WILL be triggered .
njCallBackDateThe date on which the lead is to be called. If not specified the lead is treated as a 'new' lead and will be called on a first come first served basis.
njCallbackTimeThe time on which the lead is to be called. If not specified the lead is treated as a 'new' lead and will be called on a first come first served basis. Mandatory if njCallBackDate is supplied.
njPriorityA priority between 0 and 100. The lower the number the higher the priority. Higher priority leads will be called before lower priority calls. Default priority is 10.


Sample query:

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-08002718f5b5&allowDuplicates=true'

...