updateLead

Purpose:

This method used to update the lead information.

Request URL:

https://api.apptivo.com/app/dao/leads?a=updateLead&leadData={LEAD_DATA_VALUES}&attributeNames=[LEAD_DATA_NAME]&objectId=4&leadId=LEAD_ID&isEmailAddressUpdate=EMAIL_UPDATE&apiKey=API_KEY&accesKey=ACCESS_KEY

Request Parameters:

Parameter Data Type Description
LEAD_ID Lead ID
LEAD_DATA_VALUES Updated field value
LEAD_DATA_NAME Updated field name
EMAIL_UPDATE If Email updated, it should be true or false by default, it is false
SESSION_KEY Apptivo session key from username and password

* – Mandatory parameter

Output:

This will return the details of updated lead data with JSON format.

Sample Request URL:

https://api.apptivo.com/app/dao/leads?a=updateLead&leadData=[{"firstName":"Mark","lastName":"Henry","description":"Decision maker for A.G ParrL Inc","jobTitle":"Director of Accounting management","emailAddresses":[{"communicationId":"6108443","emailAddress":"henryreag@appsio.com","emailType":"Business","emailTypeCode":"BUSINESS"}]}&attributeNames=["firstName","lastName","description","jobTitle","contactEmail"]&objectId=4&leadId=142724&isEmailAddressUpdate=true&apiKey=3f465de0-a2f9-4f11-8f07-98472bc10ad9&accessKey=cDxRzRzJVzTT-CHVDHAhEZOtT-4e2e159a-34b9-4536-a964-776b0454ecf5