Purpose:
You can use createContact method to create Contacts in Apptivo with generic fields provided by application.
Request URL:
https://api.apptivo.com/app/dao/v6/contacts?a=save&contactData{Contact_DATA}&apiKey=API_KEY&accessKey=ACCESS_KEY
Request Parameters:
Parameter | Data Type | Description |
contactData* | JSON | Please see the sample request URL |
apiKey* | String | Apptivo API Key |
accessKey* | String | Apptivo Access Key |
* – Mandatory parameter
Output:
This will return the details of the created contact with JSON format.
Sample Request URL:
https://app.apptivo.com/app/dao/v6/contacts?a=save&contactData={"customAttributes":[],"title":null,"firstName":"","externalRefId":"","lastName":"Testcontact","jobTitle":"","contactTypeName":"E-Commerce User","contactType":305381,"accountName":"","customerNumber":"","accountId":null,"customerNumberId":null,"supplierName":"","supplierId":null,"assigneeObjectRefName":"Db2Es s","assigneeObjectRefId":77021,"assigneeObjectId":"8","contactCategoryName":"","categoryId":null,"description":"","skypeName":"","phoneticName":"","nickName":"","dateOfBirth":"","marketName":"","marketId":null,"segmentName":"","segmentId":null,"territoryName":"","territoryId":null,"industryName":"","industryId":null,"hobbies":"","foods":"","faceBookURL":"","twitterURL":"","linkedInURL":"","website":"","createdByName":"","lastUpdatedByName":"","creationDate":"","lastUpdateDate":"","labels":[],"contactStatusName":"Active","contactStatusId":10000,"isPrimary":"Y","bestWayToContactName":"Email","bestWayToContactId":10000,"accounts":[],"isUnsubscribed":"N","isBounced":"N","isResponded":"N","bouncedReason":null,"languageCode":"en","languageName":"English","createdBy":null,"lastUpdatedBy":null,"contactCategoryIds":[],"categories":[],"syncToGoogle":"N","addresses":[{"addressAttributeId":"address_section_attr_id","addressTypeCode":"1","addressType":"Billing Address","addressLine1":"","addressLine2":"","city":"","stateCode":"","addressGroupName":"Address1","state":"","zipCode":"","countryId":70,"countryName":"India","countryCode":"IN","deliveryInstructions":null,"county":null}],"lastContactedDate":null}
&isLeadConvert=N
&isDuplicate=N