API Access Token

v1_client_contact API

/**
 * REST API end-points for interacting with the 'client_contact' resource.
 * 
 */
Deletes a client_contact.
@return array The single client_contact record that has been deleted.
Field Description
The ID of the client_contact to delete. Required.
  

Returns information about the 'client_contact' resource (referred to as 'resource' below) filterable by the fields described below.
The client_contact resource is dynamic and can be modified by the end user via the interface.
Resource response fields:
- 'client_contact_id' (primary key, number): The ID of the client_contact resource.
- 'client_id' (foreign key, number): The ID of the client resource that the record belongs to.
- 'client_contact_first_name' (string): The first name of the contact.
- 'client_contact_last_name' (string): The last name of the contact.
- 'client_contact_phone' (string): The phone number of the contact.
- 'client_contact_email' (string): The email address of the contact.
- 'is_deleted' (boolean): Whether the resource is considered deleted or not.
- 'created_on' (datetime): The date and time that the resource was originally created on.
- 'last_modified' (datetime): The date and time that the resource was last modified.
- 'max_last_modified' (datetime): The date and time that the resource is being requested. Used to query for only resources that have changed after this date and time on subsequent requests.
@return array of resources. Returns a single record if the client_contact_id is provided.
Field Description
Comma Separated list of columns to restrict results to. Order is kept. If field does not exist then column will be included, but a blank result will be returned
eg: "name,description,created_by"

Currently only enabled for GET requests using formats of HTML, TSV, CSV
Comma Separated list of columns to exclude from results.
Currently only enabled for GET requests using formats of HTML, TSV, CSV Note: Exclude field will be ignored if fields are supplied.
The unique ID of the desired resource. Returns a single record if it exists. Other filters do not apply.
The unique ID of the client to which the resource belongs.
Flag indicating if the resource is deleted or not. 0 = not deleted, 1 = deleted.
A datetime of which the resource was last modified in the format of YYYY-MM-DD HH:mm:ss. Returns records with a last_modified datetime value greater that the datetime provided.
  

Creates a client_contact with the provided data.
@return array The single client_contact record that has been created.
Field Description
The email address of the contact.
The first name of the contact. Required.
The last name of the contact. Required.
The phone number of the contact. Required.
The ID of the client that the contact belongs to. Required.
  

Updates a client_contact with the provided data.
@return array The single client_contact record that has been updated.
Field Description
The email address of the contact.
The first name of the contact.
The ID of the client_contact to update. Required.
The last name of the contact.
The phone number of the contact.
Whether the client_contact is considered deleted or not. Valid values: 0 = No, 1 = Yes.