Get a Contact
GET
/api/contacts/{id}.json
Get the properties for a single Contact.
This resources allows you to get:
- all basic contact information for a Contact, including their first name, last name etc.
- all read only properties defined for a Contact.
- the primary address for the Contact.
- all website access roles granted to a user.
Example JSON response
{
"contact": {
"id": "13",
"firstname": "Bob",
"lastname": "Bobsworth",
"company": "Examples",
"registeredNumber": "",
"taxNumber": "",
"position": "",
"phone": "01473 694 515",
"mobile": "",
"email": "bob.bobsworth@azx.com",
"username": "",
"website": "",
"facebook": null,
"flickr": null,
"googlePlus": null,
"linkedIn": null,
"pinterest": null,
"instagram": null,
"twitter": null,
"vimeo": null,
"youTube": null,
"thumbnail": "https://cdn.evance.me/.../image.png",
"biography": "",
"department": "",
"isUser": true,
"isGuest": false,
"isBranch": false,
"isHQ": false,
"isRecipient": false,
"hasNoType": false,
"type": "user",
"hasPassword": true,
"created": "2015-11-13T10:09:02+00:00",
"address": {
"id": "549",
"title": "",
"firstname": "Toby",
"lastname": "Wilson",
"company": "Tobys Tackle",
"line1": "2 Sorrel Horse Mews",
"line2": "Grimwade Street",
"line3": "",
"city": "Ipswich",
"region": "Suffolk",
"country": "United Kingdom",
"countryCode": "GB",
"zip": "IP4 1LN",
"latitude": "52.05345000",
"longitude": "1.16292100",
"isPrimary": true
},
"accessRoles": {
"customer": {
"name": "Customer",
"reference": "customer"
},
"trade-account": {
"name": "Trade Account",
"reference": "trade-account"
}
}
}
}