Personal
Return, update, create and delete a personal contact.
Released
Updated
| URL | Supports |
|---|---|
/{cf_uri}/Contact/Personal | |
/{cf_uri}/Contact/Personal{contact_uid}/Photo | |
| Please note: The /{cf_uri}/Contact/Personal/{contact_uid}/Photo endpoint is only available when using AccountRight. | |
Attribute Details
Paging: default page size is set to 400 with a maximum of 5000 results (contacts only).
| Attribute | Type | Notes |
|---|---|---|
UID | Guid (36) | Unique personal contact identifier in the form of a guid. ONLY required for updating an existing contact NOT required when creating a new contact. |
CompanyName | String (50) | Company name of the personal contact. ONLY required when creating a company contact with IsIndividual set to false. |
LastName | String (50) | Last name for an individual contact |
FirstName | String (20) | First name for an individual contact |
IsIndividual | Boolean | True indicates the personal contact represents an individual. False indicates the personal contact represents a company. |
DisplayID | String (15) | Personal contact card id. { 'DisplayID': 'PER00001' } |
IsActive | Boolean | True indicates the personal contact is active. False indicates the personal contact is inactive. |
Addresses | array | The following set of information pulls through details for a contact address |
Addresses.Location | Integer | One contact can have up to five address records. |
Addresses.Street | String (255) | Full content of Address field. |
Addresses.City | String (255) | City of address record. |
Addresses.State | String (255) | State of address record. |
Addresses.PostCode | String (11) | Postcode of address record. |
Addresses.Country | String (255) | Country of location for address record. |
Addresses.Phone1 | String (21) | Phone number 1 of address record. |
Addresses.Phone2 | String (21) | Phone number 2 of address record. |
Addresses.Phone3 | String (21) | Phone number 3 of address record. |
Addresses.Fax | String (21) | Fax number of address record. |
Addresses.Email | String (255) | Email contact of address record. |
Addresses.Website | String (255) | World wide web address for contact. |
Addresses.ContactName | String (25) | Contact Name on address record. |
Addresses.Salutation | String (15) | Salutation text for address record. |
Notes | String (255) | Notes for the personal contact. |
Identifiers | array | The following set of information pulls through details for a contact identifier |
Identifiers.Label | String (30) | Name attached to the identification alphabet letter. |
Identifiers.Value | String | Identifiers convert bits to actual letters, one of the 26 letters in the alphabet can be used. |
CustomList1 | object | The following set of information pulls through details for a contact custom list |
CustomList1.Label | String (30) | Name of CustomList1 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 1 could be changed to Melbourne, click here for more information on how to edit labels |
CustomList1.Value | String (30) | Custom list text entry populated for CustomList1. |
CustomList2 | object | The following set of information pulls through details for a contact custom list |
CustomList2.Label | String (30) | Name of CustomList2 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 2 could be changed to Sydney, click here for more information on how to edit labels |
CustomList2.Value | String (30) | Custom list text entry populated for CustomList2. |
CustomList3 | object | The following set of information pulls through details for a contact custom list |
CustomList3.Label | String (30) | Name of CustomList3 applicable to the custom list text, labels can be edited within the AccountRight interface ONLY. For example CustomList # 3 could be changed to Tasmania, click here for more information on how to edit labels |
CustomList3.Value | String (30) | Custom list text entry populated for CustomList3. |
CustomField1 | object | The following set of information pulls through details for a contact custom field |
CustomField1.Label | String (30) | Name of CustomField1 applicable to the custom field text, labels can be edited within the AccountRight interface ONLY. For example CustomField # 1 could be changed to South Australia, click here for more information on how to edit labels |
CustomField1.Value | String (30) | Custom field text entry populated for CustomField1. |
CustomField2 | object | The following set of information pulls through details for a contact custom field |
CustomField2.Label | String (30) | Name of CustomField2 applicable to the custom field text, labels can be edited, for example CustomField # 2 could be changed to Queensland |
CustomField2.Value | String (30) | Custom field text entry populated for CustomField2. |
CustomField3 | object | The following set of information pulls through details for a contact custom field |
CustomField3.Label | String (30) | Name of CustomField3 applicable to the custom field text, labels can be edited within the AccountRight interface ONLY. For example CustomField # 3 could be changed to ACT, click here for more information on how to edit labels |
CustomField3.Value | String (30) | Custom field text entry populated for CustomField3. |
CurrentBalance | Decimal (13.6) | Personal contact balance. |
LastModified | DateTime | Extracts the last modification date for the contact resource. |
PhotoURI | String | This is an AccountRight only field . Uniform resource identifier associated with a photo image. |
URI | String | Uniform resource identifier encompasses all types of names and addresses that refer to objects on the web. |
RowVersion | String | Number value that changes upon a record update, can be used for change control but does does not preserve a date or a time. ONLY required for updating an existing contact NOT required when creating a new contact. |
Example json GET response
Example
{
"UID": "0a30ff19-e8d7-4699-8efc-e05b6ff67190",
"LastName": "Wilson",
"FirstName": "Penny",
"IsIndividual": true,
"DisplayID": "PER00001",
"IsActive": true,
"Location": null,
"Street": "199 Zander Avenue",
"City": "Melbourne",
"State": "VIC",
"PostCode": "3000",
"Country": "Australia",
"Phone1": "03 8897 9459",
"Phone2": "03 8897 2756",
"Phone3": "03 8897 7349",
"Fax": "03 8897 4547",
"Email": "penny@yahoo.com.au",
"Website": "www.myob.com.au",
"ContactName": "David",
"Salutation": "Hello",
"Notes": "Description for Penny",
"Label": "Custom Field No. 3",
"Value": "Tasmania",
"CustomList1": null,
"CustomList2": null,
"CustomList3": null,
"CurrentBalance": null,
"LastModified": null,
"PhotoURI": "{cf_uri}/Contact/Personal/0a30ff19-e8d7-4699-8efc-e05b6ff67190/Photo\"",
"URI": "{cf_uri}/Contact/Personal/0a30ff19-e8d7-4699-8efc-e05b6ff67190\"",
"RowVersion": "5302707086252048001"
}The {cf_uri} is provided by the businessId parameter as described here.