Request
POST https://api.aptania.com/services/updateContact
Update an existing contact record
Request body parameters
Parameter name | Value | Description | Additional |
---|---|---|---|
tokenUUID | String | Unique api token used for each request. | Required |
contactUUID | String | Identifier for the contact record to update. | Required |
contactTitle | String | The title for the contact. | Optional |
contactFirstname | String | The firstname for the contact. | Optional |
contactLastname | String | The lastname for the contact. | Optional |
contactEmailaddress | String | The emailaddress for the contact. | Optional |
contactTelephone | String | The telephone number for the contact. | Optional |
contactJobRole | String | The job role for the contact. | Optional |
tag | JSON Array | Array containing the tag objects to update. | Optional |
contactAttr | JSON Array | Array containing the attributes to update. | Optional |
Example Request
{ "tokenUUID": "xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx", "contactUUID" : "xxxxxxxx-xxx-xxxx-xxxx-xxxxxxxxxxx", "contactTitle": "Mr", "contactFirstname": "John", "contactLastname": "Doe", "contactEmailaddress": "john.doe@xxxxxxx.com", "contactTelephone": "", "contactMobile": "", "contactJobRole": "", "tag": [{ "tagID": "xxx", "opt": false }, { "tagID": "xxx", "opt": true }, { "tagID": "xxx", "opt": false }], "contactAttr": [{ "attrID": "xxx", "attrValue": "Tennis" }, { "attrID": "xxx", "attrValue": "Toyoto Proace" }, { "attrID": "xxx", "attrValue": "15/03/1986" }] }
Response body
Parameter name | Value | Description |
---|---|---|
error | Boolean | True or false value. True if the contact is already matched against an existing record. |
status | String | Status code for the response. |
Example Response
{ "status": "200" }
To use this api you must have an account together with an api key. Please contact us for further information.