Purpose:
This method used to get the number of leads in Apptivo based on the email address.
Request URL:
https://api.apptivo.com/app/dao/leads?a=getAllLeadsByAdvancedSearch&objectId=4&numRecords=NUM_OF_RECORDS&searchData={SEARCH_DATA}&multiSelectData={}&apiKey=API_KEY&accesKey=ACCESS_KEY
Request Parameters:
Parameter | Data Type | Description |
SEARCH_DATA | search data with Json format | please see the sample request URL |
NUM_OF_RECORDS | number of records to return | |
SESSION_KEY | Apptivo session key from username and password |
* – Mandatory parameter
Output:
This will return the number of leads 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" target="_blank">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