Purpose:
This method used to update the contact information.
Request URL:
https://api.apptivo.com/app/dao/v6/contacts?a=update&contactData={CONTACT_DATA_VALUES}&attributeNames=[CONTACT_DATA_NAME]&objectId=4&contactId=CONTACT_ID&isEmailAddressUpdate=EMAIL_UPDATE&apiKey=API_KEY&accessKey=ACCESS_KEY
Request Parameters:
Parameter | Data Type | Description |
CONTACT_ID | Contact ID | |
CONTACT_DATA_VALUES | Updated field value | |
CONTACT_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 contact data with JSON format.
Sample Request URL:
https://app.apptivo.com/app/dao/v6/contacts?a=update&contactData={"contactId":2693983,"firstName":"","lastName":"TestContact update","fullName":"TestContact","jobTitle":"","customerNumber":"","assigneeObjectRefId":77021,"assigneeObjectRefName":"Db2Es s","assigneeObjectId":8,"description":"","faceBookURL":"","linkedInURL":"","twitterURL":"","marketName":"","segmentName":"","skypeName":"","industryName":"","objectStatus":0,"contactType":305381,"contactTypeName":"E-Commerce User","website":"","phoneticName":"","nickName":"","syncToGoogle":"Y","hobbies":"","foods":"","languageCode":"en","languageName":"English","contactStatusName":"Active","contactStatusId":10000,"isPrimary":"Y","bestWayToContactName":"Email","bestWayToContactId":10000,"isUnsubscribed":"Y","isResponded":"Y","labels":[],"removeLabels":[],"addresses":[{"addressId":12937152,"addressAttributeId":"address_section_attr_id","addressType":"Billing Address","addressTypeCode":"1","addressLine1":"","addressLine2":"","city":"","state":"","stateCode":"","countryId":70,"countryName":"India","countryCode":"IN","zipCode":"","addressGroupName":"Address1","isAdded":false}],"removeAddresses":[],"phoneNumbers":[],"removePhoneNumbers":[],"emailAddresses":[],"removeEmailAddresses":[],"customAttributes":[],"categories":[],"contactAttributes":[],"notes":[],"accounts":[],"isBounced":"Y","firmId":218079,"lastContactedDate":"Not Contacted","createdBy":76130,"lastUpdatedBy":76130,"createdByName":"Db2Es s","creationDate":"2017-10-07 05:19:01","lastUpdateDate":"2017-10-07 05:19:01","lastUpdatedByName":"Db2Es s","version":1,"externalRefId":"","logoUrl":"https://d13d1qr27dbvhu.cloudfront.net/app/v1.1/war/app/images/profilebg128x128px.png","tags":[],"salutations":[{"id":29685675,"code":"Dr.","name":"Dr."},{"id":29685800,"code":"Miss.","name":"Miss."},{"id":29685672,"code":"Mr.","name":"Mr."},{"id":29685673,"code":"Mrs.","name":"Mrs."},{"id":29685674,"code":"Ms.","name":"Ms."}],"isDirtypage":null,"dateOfBirth":"","followUpDate":"N/A"}
&objectId=2&contactId=2693983&attributeName:["lastName","emailAddresses"]