Client

Client represents a customer using your service. Client object allows you to perform the following operations:

  • Retrieve a specific client or a list of clients
  • Create a client
  • Update a client
  • Delete a client

  • cURL
  • NODE.JS
  • PHP
  • C#
  • PYTHON
  • JAVA
NameDescriptionFormatAttributes
nameClient or customer namestringFilterable, Sortable
MaxLength = 65
addressAddress of a client Address
assignedGroups []List of assigned groups AssignedGroup
clientSinceDate when the business was initiated between the company and the client in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
companyClient's company namestringMaxLength = 55
createdByIdIdentifier of the user who created this objectuuidFilterable
createdOnDate and time when this object was created (UTC Now), in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-timeFilterable, Sortable
currencyIdIdentifier of the client's currency multiplieruuid
currencyNameName of a currency, e.g., U.S.Dollar, British Poundstring
customFields []Represents a list of custom fields CustomFieldData
defaultGroupName of the default groupstring
defaultGroupIdIdentifier of the group to which a client belongsuuid
feeScheduleIdRepresents the fee schedule identifier. Fee schedules are unique fee structures with special bill rates and cost rates by employee, activity item, expense item or groupuuidFilterable
feeScheduleNameName of the fee schedulestringFilterable, Sortable
firstNameFirst name of a clientstringMaxLength = 45
idObject identifieruuidFilterable
lastNameLast name of the clientstringMaxLength = 45
lastUpdatedLast updated date and time value of this object in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-timeFilterable, Sortable
lastUpdatedByIdIdentifier of the user who last updated this objectuuidFilterable
mainExpenseTaxMain expense tax applied to the expense amount on a client invoicedouble
mainServiceTaxMain service tax applied to the labor/service amount on a client invoicedouble
managerName of the employee who is a manager of the clientstringFilterable, Sortable
managerIdIdentifier of a client manageruuidFilterable
memoRecords any extra information of a client for recapitulationstring
messageOnInvoiceCustom message printed on a client invoicestring
middleInitialMiddle initial of the clientstringMaxLength = 1
objectStateRepresents the state of the object. e.g., new, unchanged, modified or deleted ObjectState
statusCurrent status of the client, e.g., Active or InActive Status Filterable, Sortable
taxIdRepresents a federal tax identifier.string
termName of the termstring
termIdIdentifier of a term (frequency) with which a client will make a paymentuuid
tokenRepresents the token for update operationsint32
typeGets or sets the type. ClientType
versionImplements concurrency on this objectbyte

Use this method to retrieve a list of clients. Optionally pass where, orderBy and page as the query parameters to filter the result. The fields parameter is used to request a flat subset of the model and the expand parameter is used to request nested properties in the model. The expand parameter is used to request nested properties in the model.

Request URL
base_url/client

Method Overview

HTTP Method:

GET

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Headers:

Access Token

Module:

Client

Required Scopes:

read:core

Required Subscription:

View Subscription


Request Parameters asterisk denotes required
NameParameter TypeDescriptionFormat
fields Query Specifies the model properties you want in the response bodystring
where Query Specifies only those records that match an expression in the query.string
orderBy Query Specifies the order of the records.string
page Query Specifies the page number and number of records on each page.string
expand Query Specifies the nested model properties you want in the response bodystring
Response Body
NameDescriptionFormat
name Client or customer namestring
address Address of a client Address
assignedGroups []List of assigned groups AssignedGroup
clientSince Date when the business was initiated between the company and the client in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
company Client's company namestring
createdById Identifier of the user who created this objectuuid
createdOn Date and time when this object was created (UTC Now), in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
currencyId Identifier of the client's currency multiplieruuid
currencyName Name of a currency, e.g., U.S.Dollar, British Poundstring
customFields []Represents a list of custom fields CustomFieldData
defaultGroup Name of the default groupstring
defaultGroupId Identifier of the group to which a client belongsuuid
feeScheduleId Represents the fee schedule identifier. Fee schedules are unique fee structures with special bill rates and cost rates by employee, activity item, expense item or groupuuid
feeScheduleName Name of the fee schedulestring
firstName First name of a clientstring
id Object identifieruuid
lastName Last name of the clientstring
lastUpdated Last updated date and time value of this object in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
lastUpdatedById Identifier of the user who last updated this objectuuid
mainExpenseTax Main expense tax applied to the expense amount on a client invoicedouble
mainServiceTax Main service tax applied to the labor/service amount on a client invoicedouble
manager Name of the employee who is a manager of the clientstring
managerId Identifier of a client manageruuid
memo Records any extra information of a client for recapitulationstring
messageOnInvoice Custom message printed on a client invoicestring
middleInitial Middle initial of the clientstring
objectState Represents the state of the object. e.g., new, unchanged, modified or deleted ObjectState
status Current status of the client, e.g., Active or InActive Status
taxId Represents a federal tax identifier.string
term Name of the termstring
termId Identifier of a term (frequency) with which a client will make a paymentuuid
token Represents the token for update operationsint32
type Gets or sets the type. ClientType
version Implements concurrency on this objectbyte
Example Request
Example Response
[
  {
    "name": "Client",
    "address": {
      "entityId": "0a57067b-6d48-4002-9b39-6c3f865ec2ab",
      "entityType": null,
      "name": "Address",
      "city": "city",
      "communications": [
        {
          "addressId": "d6fe5a25-8985-42b9-a386-705c77cf4989",
          "typeId": "1f36f0dc-4cfc-4eaf-81d1-b44c933cb647",
          "value": "value",
          "createdById": "9e4fff84-bfca-466d-8265-80604d1646bd",
          "createdOn": "2022-12-07T06:36:49Z",
          "id": "affc53a0-3641-48ba-8ae9-bfd3260a7508",
          "lastUpdated": "2022-12-07T06:36:49Z",
          "lastUpdatedById": "2b3a7584-db7d-4720-b1a2-87e7501d33a1",
          "objectState": null,
          "sortOrder": 0,
          "token": 0,
          "typeName": "typeName",
          "version": "U3dhZ2dlciByb2Nrcw=="
        }
      ],
      "country": "country",
      "createdById": "a79fcec5-026e-421a-af98-adaf6011efea",
      "createdOn": "2022-12-07T06:36:49Z",
      "id": "4b1ad9c8-8e75-49f6-81c9-1a77b8897f90",
      "isDefault": true,
      "lastUpdated": "2022-12-07T06:36:49Z",
      "lastUpdatedById": "e5082466-b916-4006-9329-1a968ac2f8a7",
      "objectState": null,
      "sortOrder": 0,
      "state": "state",
      "street1": "street1",
      "street2": "street2",
      "token": 0,
      "version": "U3dhZ2dlciByb2Nrcw==",
      "zip": "zip"
    },
    "assignedGroups": [
      {
        "description": "AssignedGroup Description",
        "id": "cdb77678-32ac-4ead-942b-8142068a327a",
        "name": "AssignedGroup"
      }
    ],
    "clientSince": "2022-12-07T06:36:49Z",
    "company": "company",
    "createdById": "257d86d5-9c87-482b-80c4-b62bb586c47a",
    "createdOn": "2022-12-07T06:36:49Z",
    "currencyId": "598fe56d-4056-45e0-adca-de9bc05f0de9",
    "currencyName": "currencyName",
    "customFields": [
      {
        "definitionId": "ce0a3d67-d75b-4dfe-b1d3-201e0cd91a98",
        "createdById": "23ec3468-dfa3-4206-933b-7b50bf192f88",
        "createdOn": "2022-12-07T06:36:49Z",
        "description": "CustomFieldData Description",
        "id": "c3c85b1d-7231-4e95-8720-7e3e2f3ec9ec",
        "label": "label",
        "lastUpdated": "2022-12-07T06:36:49Z",
        "lastUpdatedById": "66d0f24c-2468-4e28-b20c-6243c9dae279",
        "objectState": null,
        "token": 0,
        "type": null,
        "value": "value",
        "version": "U3dhZ2dlciByb2Nrcw=="
      }
    ],
    "defaultGroup": "defaultGroup",
    "defaultGroupId": "4cf1b2b3-4c3f-4818-a398-91c4c7f8f1ca",
    "feeScheduleId": "40321262-38eb-45dd-988d-f0328805283f",
    "feeScheduleName": "feeScheduleName",
    "firstName": "John",
    "id": "83799a01-2749-490b-8abf-fe59f63a3649",
    "lastName": "Doe",
    "lastUpdated": "2022-12-07T06:36:49Z",
    "lastUpdatedById": "013aad13-f98b-4e8e-9752-3142f090d537",
    "mainExpenseTax": 1,
    "mainServiceTax": 1,
    "manager": "manager",
    "managerId": "1916a2e1-1553-4e8b-b784-e1db77d03573",
    "memo": "memo",
    "messageOnInvoice": "messageOnInvoice",
    "middleInitial": "middleInitial",
    "objectState": null,
    "status": null,
    "taxId": "taxId",
    "term": "term",
    "termId": "c1037d3e-e803-46f4-8520-ae4b9bbe08e8",
    "token": 0,
    "type": null,
    "version": "U3dhZ2dlciByb2Nrcw=="
  }
]

Use this method to retrieve a specific client. Pass id as the parameter.

Request URL
base_url/client/{id}

Method Overview

HTTP Method:

GET

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Headers:

Access Token

Module:

Client

Required Scopes:

read:core

Required Subscription:

View Subscription


Request Parameters asterisk denotes required
NameParameter TypeDescriptionFormat
id Path Client identifierstring
Response Body
NameDescriptionFormat
name Client or customer namestring
address Address of a client Address
assignedGroups []List of assigned groups AssignedGroup
clientSince Date when the business was initiated between the company and the client in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
company Client's company namestring
createdById Identifier of the user who created this objectuuid
createdOn Date and time when this object was created (UTC Now), in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
currencyId Identifier of the client's currency multiplieruuid
currencyName Name of a currency, e.g., U.S.Dollar, British Poundstring
customFields []Represents a list of custom fields CustomFieldData
defaultGroup Name of the default groupstring
defaultGroupId Identifier of the group to which a client belongsuuid
feeScheduleId Represents the fee schedule identifier. Fee schedules are unique fee structures with special bill rates and cost rates by employee, activity item, expense item or groupuuid
feeScheduleName Name of the fee schedulestring
firstName First name of a clientstring
id Object identifieruuid
lastName Last name of the clientstring
lastUpdated Last updated date and time value of this object in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
lastUpdatedById Identifier of the user who last updated this objectuuid
mainExpenseTax Main expense tax applied to the expense amount on a client invoicedouble
mainServiceTax Main service tax applied to the labor/service amount on a client invoicedouble
manager Name of the employee who is a manager of the clientstring
managerId Identifier of a client manageruuid
memo Records any extra information of a client for recapitulationstring
messageOnInvoice Custom message printed on a client invoicestring
middleInitial Middle initial of the clientstring
objectState Represents the state of the object. e.g., new, unchanged, modified or deleted ObjectState
status Current status of the client, e.g., Active or InActive Status
taxId Represents a federal tax identifier.string
term Name of the termstring
termId Identifier of a term (frequency) with which a client will make a paymentuuid
token Represents the token for update operationsint32
type Gets or sets the type. ClientType
version Implements concurrency on this objectbyte
Example Request
Example Response
{
  "name": "Client",
  "address": {
    "entityId": "fa5e56fb-71b5-4cca-a6e9-a5f741f03099",
    "entityType": null,
    "name": "Address",
    "city": "city",
    "communications": [
      {
        "addressId": "eb8eab4f-9a32-4e44-9f73-4b97ffac744a",
        "typeId": "ac2bddd4-d7b0-416c-907b-d3f4503a6209",
        "value": "value",
        "createdById": "2e6c4e7a-c299-435c-87bd-393e2c4d7b30",
        "createdOn": "2022-12-07T06:36:50Z",
        "id": "55fb8c80-1c0d-4297-af28-f82b36b600f4",
        "lastUpdated": "2022-12-07T06:36:50Z",
        "lastUpdatedById": "861f396b-5352-4050-b601-9ab8cf08f11e",
        "objectState": null,
        "sortOrder": 0,
        "token": 0,
        "typeName": "typeName",
        "version": "U3dhZ2dlciByb2Nrcw=="
      }
    ],
    "country": "country",
    "createdById": "485fc5ec-e4d9-406e-bf89-24bc3cd6db4f",
    "createdOn": "2022-12-07T06:36:50Z",
    "id": "30fb669b-7af6-4d27-85a0-a41383582aec",
    "isDefault": true,
    "lastUpdated": "2022-12-07T06:36:50Z",
    "lastUpdatedById": "7320eda8-57bb-4eab-b91c-65c06d7acbdd",
    "objectState": null,
    "sortOrder": 0,
    "state": "state",
    "street1": "street1",
    "street2": "street2",
    "token": 0,
    "version": "U3dhZ2dlciByb2Nrcw==",
    "zip": "zip"
  },
  "assignedGroups": [
    {
      "description": "AssignedGroup Description",
      "id": "30e25e3e-1783-427a-b6d5-98e556eeacf1",
      "name": "AssignedGroup"
    }
  ],
  "clientSince": "2022-12-07T06:36:50Z",
  "company": "company",
  "createdById": "9c86292c-348f-4967-bba1-aef21519baf6",
  "createdOn": "2022-12-07T06:36:50Z",
  "currencyId": "b0bbdd41-f5c9-422d-8bf4-82f3b560645b",
  "currencyName": "currencyName",
  "customFields": [
    {
      "definitionId": "6cceecf8-a0b4-4e26-a9ce-ed260be54ecc",
      "createdById": "f9b63739-d89c-409c-b8ac-070122782229",
      "createdOn": "2022-12-07T06:36:50Z",
      "description": "CustomFieldData Description",
      "id": "f4dd0270-7720-4ead-827d-0948522a06ca",
      "label": "label",
      "lastUpdated": "2022-12-07T06:36:50Z",
      "lastUpdatedById": "920d531a-e6fd-42d4-9d7e-70d0e7d8cb04",
      "objectState": null,
      "token": 0,
      "type": null,
      "value": "value",
      "version": "U3dhZ2dlciByb2Nrcw=="
    }
  ],
  "defaultGroup": "defaultGroup",
  "defaultGroupId": "7ebf3b77-bda5-4cef-a4b5-6d6901b52699",
  "feeScheduleId": "f7efb675-9552-4b94-a023-b4da312ccd18",
  "feeScheduleName": "feeScheduleName",
  "firstName": "John",
  "id": "fef7b6ee-d9e8-4cfc-896a-91a39e398d09",
  "lastName": "Doe",
  "lastUpdated": "2022-12-07T06:36:50Z",
  "lastUpdatedById": "7f980e6f-61df-4bc8-bd3a-41553405450d",
  "mainExpenseTax": 1,
  "mainServiceTax": 1,
  "manager": "manager",
  "managerId": "955b390a-ec9d-452f-ab38-6cd255f80b35",
  "memo": "memo",
  "messageOnInvoice": "messageOnInvoice",
  "middleInitial": "middleInitial",
  "objectState": null,
  "status": null,
  "taxId": "taxId",
  "term": "term",
  "termId": "c0e3b759-c804-4b4a-b779-56312b6db63e",
  "token": 0,
  "type": null,
  "version": "U3dhZ2dlciByb2Nrcw=="
}

Use this method to retrieve the list of contacts assigned to this client.

Request URL
base_url/client/{id}/contacts

Method Overview

HTTP Method:

GET

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Headers:

Access Token

Module:

Client

Required Scopes:

read:core

Required Subscription:

View Subscription


Request Parameters asterisk denotes required
NameParameter TypeDescriptionFormat
fields Query string
where Query string
orderBy Query Specifies the order of the recordsstring
page Query Specifies the page number and number of records on each pagestring
id Path Client identifierstring
expand Query Specifies the nested model properties you want in the response bodystring
Response Body
NameDescriptionFormat
contactName User friendly identifier of a contactstring
entityId Identifier of an entityuuid
entityType Determines the entity type ModuleNames
address []List of addresses associated with a contact Address
company Contact's company namestring
createdById Identifier of the user who created this objectuuid
createdOn Date and time when this object was created (UTC Now), in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
customFields []List of custom fields in the contacts CustomFieldData
department Name of the department in which the client contact worksstring
firstName First name of a contactstring
id Object identifieruuid
isPrimaryContact Indicates whether a client contact is main (primary) or notboolean
lastName Last name of a contactstring
lastUpdated Last updated date and time value of this object in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
lastUpdatedById Identifier of the user who last updated this objectuuid
memo Represents a memo to record additional information about a client contactstring
middleInitial Middle initial of a contactstring
objectState Represents the state of the object. e.g., new, unchanged, modified or deleted ObjectState
salutation Salutation used for a client contactstring
title Job or professional title of a client contactstring
token Represents the token for update operationsint32
version Implements concurrency on this objectbyte
Example Request
Example Response
[
  {
    "contactName": "contactName",
    "entityId": "d770d24d-de2f-4f3a-b3ce-9cdb4b23b642",
    "entityType": null,
    "address": [
      {
        "entityId": "1ed9958a-e386-4e9b-ab34-3676e5375eb6",
        "entityType": null,
        "name": "Address",
        "city": "city",
        "communications": [
          {
            "addressId": "b0065423-5a5f-49d3-9bde-15dd6b2591da",
            "typeId": "f433a2d5-bdc0-4845-9e8c-31949e39f238",
            "value": "value",
            "createdById": "d29c9d4c-d491-48ae-a3fd-e6b3b860b308",
            "createdOn": "2022-12-07T06:36:50Z",
            "id": "ee8f39fd-3010-4644-a4da-767a5421810c",
            "lastUpdated": "2022-12-07T06:36:50Z",
            "lastUpdatedById": "794c3364-f10c-490c-8f1e-f5e7feaeab3f",
            "objectState": null,
            "sortOrder": 0,
            "token": 0,
            "typeName": "typeName",
            "version": "U3dhZ2dlciByb2Nrcw=="
          }
        ],
        "country": "country",
        "createdById": "762dc9be-6175-47c7-808a-8773b4a2f0b9",
        "createdOn": "2022-12-07T06:36:50Z",
        "id": "838efd33-e0fa-4a4b-83ed-33be169c732a",
        "isDefault": true,
        "lastUpdated": "2022-12-07T06:36:50Z",
        "lastUpdatedById": "2ad89591-39e7-4732-9d0a-4dfdb3b50442",
        "objectState": null,
        "sortOrder": 0,
        "state": "state",
        "street1": "street1",
        "street2": "street2",
        "token": 0,
        "version": "U3dhZ2dlciByb2Nrcw==",
        "zip": "zip"
      }
    ],
    "company": "company",
    "createdById": "b4acbf71-9113-4f5d-9ff6-2cacc9bbba58",
    "createdOn": "2022-12-07T06:36:50Z",
    "customFields": [
      {
        "definitionId": "cb3f95f6-5cf6-4c9b-909b-1efbab2ec8bc",
        "createdById": "5776312a-d959-4de7-a6ac-6aae15a4293f",
        "createdOn": "2022-12-07T06:36:50Z",
        "description": "CustomFieldData Description",
        "id": "6d31eceb-62e5-40ac-881e-7a5c0e7e357e",
        "label": "label",
        "lastUpdated": "2022-12-07T06:36:50Z",
        "lastUpdatedById": "a857d49e-2462-4518-b68f-113392d9a4a9",
        "objectState": null,
        "token": 0,
        "type": null,
        "value": "value",
        "version": "U3dhZ2dlciByb2Nrcw=="
      }
    ],
    "department": "department",
    "firstName": "John",
    "id": "76dcd5ca-2f31-49c8-a2c4-74088240eecc",
    "isPrimaryContact": true,
    "lastName": "Doe",
    "lastUpdated": "2022-12-07T06:36:50Z",
    "lastUpdatedById": "9f0aa21f-f40b-47f5-8eec-8c2a09d16714",
    "memo": "memo",
    "middleInitial": "middleInitial",
    "objectState": null,
    "salutation": "salutation",
    "title": "title",
    "token": 0,
    "version": "U3dhZ2dlciByb2Nrcw=="
  }
]

Use this method to save the client. Pass client as the parameter.

Request URL
base_url/client

Method Overview

HTTP Method:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Headers:

Access Token

Module:

Client

Required Scopes:

readwrite:core

Required Subscription:

View Subscription


Request Parameters asterisk denotes required
NameParameter TypeDescriptionFormat
body Body Client objectClient
Response Body
NameDescriptionFormat
name Client or customer namestring
address Address of a client Address
assignedGroups []List of assigned groups AssignedGroup
clientSince Date when the business was initiated between the company and the client in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
company Client's company namestring
createdById Identifier of the user who created this objectuuid
createdOn Date and time when this object was created (UTC Now), in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
currencyId Identifier of the client's currency multiplieruuid
currencyName Name of a currency, e.g., U.S.Dollar, British Poundstring
customFields []Represents a list of custom fields CustomFieldData
defaultGroup Name of the default groupstring
defaultGroupId Identifier of the group to which a client belongsuuid
feeScheduleId Represents the fee schedule identifier. Fee schedules are unique fee structures with special bill rates and cost rates by employee, activity item, expense item or groupuuid
feeScheduleName Name of the fee schedulestring
firstName First name of a clientstring
id Object identifieruuid
lastName Last name of the clientstring
lastUpdated Last updated date and time value of this object in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
lastUpdatedById Identifier of the user who last updated this objectuuid
mainExpenseTax Main expense tax applied to the expense amount on a client invoicedouble
mainServiceTax Main service tax applied to the labor/service amount on a client invoicedouble
manager Name of the employee who is a manager of the clientstring
managerId Identifier of a client manageruuid
memo Records any extra information of a client for recapitulationstring
messageOnInvoice Custom message printed on a client invoicestring
middleInitial Middle initial of the clientstring
objectState Represents the state of the object. e.g., new, unchanged, modified or deleted ObjectState
status Current status of the client, e.g., Active or InActive Status
taxId Represents a federal tax identifier.string
term Name of the termstring
termId Identifier of a term (frequency) with which a client will make a paymentuuid
token Represents the token for update operationsint32
type Gets or sets the type. ClientType
version Implements concurrency on this objectbyte
Example Request
Example Response
{
  "name": "Client",
  "address": {
    "entityId": "af729098-a31d-4d31-a6f6-5277f9a77037",
    "entityType": null,
    "name": "Address",
    "city": "city",
    "communications": [
      {
        "addressId": "ef366606-fd14-4451-be45-9bb65d4d9885",
        "typeId": "f6bdcd86-5e7a-43ec-978c-8c0dc2609e22",
        "value": "value",
        "createdById": "06b81eb9-7644-4dae-b894-189f6228f61f",
        "createdOn": "2022-12-07T06:36:49Z",
        "id": "143bc1cd-1056-4553-9213-63a35b3fca42",
        "lastUpdated": "2022-12-07T06:36:49Z",
        "lastUpdatedById": "77184799-1dc2-4e47-a1ff-76aede5f79a2",
        "objectState": null,
        "sortOrder": 0,
        "token": 0,
        "typeName": "typeName",
        "version": "U3dhZ2dlciByb2Nrcw=="
      }
    ],
    "country": "country",
    "createdById": "0a0405a9-86d1-46a5-8d5d-d6427bdc1466",
    "createdOn": "2022-12-07T06:36:49Z",
    "id": "58c9d8ec-5fa1-48e0-9ef0-199a85ac123c",
    "isDefault": true,
    "lastUpdated": "2022-12-07T06:36:49Z",
    "lastUpdatedById": "5cf75d18-6fd1-4aca-8192-31bc29efb38d",
    "objectState": null,
    "sortOrder": 0,
    "state": "state",
    "street1": "street1",
    "street2": "street2",
    "token": 0,
    "version": "U3dhZ2dlciByb2Nrcw==",
    "zip": "zip"
  },
  "assignedGroups": [
    {
      "description": "AssignedGroup Description",
      "id": "23058ade-9f08-40ed-bcdc-2b3696b46728",
      "name": "AssignedGroup"
    }
  ],
  "clientSince": "2022-12-07T06:36:49Z",
  "company": "company",
  "createdById": "7f45f46b-e848-4874-9d27-382954c86ab2",
  "createdOn": "2022-12-07T06:36:49Z",
  "currencyId": "abca7d92-2a4e-4833-80fd-8edcc5d09892",
  "currencyName": "currencyName",
  "customFields": [
    {
      "definitionId": "8e9fbf71-b081-4d94-a370-d911b2e87fe9",
      "createdById": "9d2d8f36-f8e5-40b2-a5ca-953479014dab",
      "createdOn": "2022-12-07T06:36:49Z",
      "description": "CustomFieldData Description",
      "id": "d0f2eca8-1fe6-43f5-86a4-40f1aeae6a48",
      "label": "label",
      "lastUpdated": "2022-12-07T06:36:49Z",
      "lastUpdatedById": "7c371825-5a16-4352-9edc-51e03f5f369f",
      "objectState": null,
      "token": 0,
      "type": null,
      "value": "value",
      "version": "U3dhZ2dlciByb2Nrcw=="
    }
  ],
  "defaultGroup": "defaultGroup",
  "defaultGroupId": "702b66b0-d0a5-492f-ad68-1f237c4260d6",
  "feeScheduleId": "fc929de8-b581-4a00-b403-165fd8312e87",
  "feeScheduleName": "feeScheduleName",
  "firstName": "John",
  "id": "8343db11-b047-4fe9-b104-01d4cf63bf8c",
  "lastName": "Doe",
  "lastUpdated": "2022-12-07T06:36:49Z",
  "lastUpdatedById": "244741db-bafa-4fb4-8144-c54d6d66330f",
  "mainExpenseTax": 1,
  "mainServiceTax": 1,
  "manager": "manager",
  "managerId": "15e71bdb-c180-4394-aeb5-c5e70983b599",
  "memo": "memo",
  "messageOnInvoice": "messageOnInvoice",
  "middleInitial": "middleInitial",
  "objectState": null,
  "status": null,
  "taxId": "taxId",
  "term": "term",
  "termId": "772c4c55-3420-44da-be94-e916edbf92f5",
  "token": 0,
  "type": null,
  "version": "U3dhZ2dlciByb2Nrcw=="
}

Use this method to save multiple clients. Pass model as the parameter.

Request URL
base_url/client/batch

Method Overview

HTTP Method:

POST

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Headers:

Access Token

Module:

Client

Required Scopes:

readwrite:core

Required Subscription:

View Subscription


Request Parameters asterisk denotes required
NameParameter TypeDescriptionFormat
body Body Client objectClientBatchRequest
Response Body
NameDescriptionFormat
batchSize Represents the number of entities in a batchint64
createdById Identifier of the user who created this objectuuid
createdOn Date and time when this object was created (UTC Now), in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
id Object identifieruuid
lastUpdated Last updated date and time value of this object in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
lastUpdatedById Identifier of the user who last updated this objectuuid
objectState Represents the state of the object. e.g., new, unchanged, modified or deleted ObjectState
progress Represents the total number of entities processedint64
status Represents the status of a job e.g., ready, running, completed, or terminatedstring
token Represents the token for update operationsint32
type Represents the type of a job e.g., create, update, or deletestring
version Implements concurrency on this objectbyte
Example Request
Example Response
{
  "batchSize": 0,
  "createdById": "44706d3d-4576-486f-b04e-04fa7b8496ce",
  "createdOn": "2022-12-07T06:36:50Z",
  "id": "ddbde47f-a0a4-4e99-91a9-56d9906fb7f0",
  "lastUpdated": "2022-12-07T06:36:50Z",
  "lastUpdatedById": "88981417-fd0c-48fd-a065-ccbcc8071b59",
  "objectState": null,
  "progress": 0,
  "status": "status",
  "token": 0,
  "type": "type",
  "version": "U3dhZ2dlciByb2Nrcw=="
}

Use this method to update a client. Pass id and client as the parameters.

Request URL
base_url/client/{id}

Method Overview

HTTP Method:

PUT

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Headers:

Access Token

Module:

Client

Required Scopes:

readwrite:core

Required Subscription:

View Subscription


Request Parameters asterisk denotes required
NameParameter TypeDescriptionFormat
id Path Client identifierstring
body Body Client objectClient
Response Body
NameDescriptionFormat
name Client or customer namestring
address Address of a client Address
assignedGroups []List of assigned groups AssignedGroup
clientSince Date when the business was initiated between the company and the client in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
company Client's company namestring
createdById Identifier of the user who created this objectuuid
createdOn Date and time when this object was created (UTC Now), in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
currencyId Identifier of the client's currency multiplieruuid
currencyName Name of a currency, e.g., U.S.Dollar, British Poundstring
customFields []Represents a list of custom fields CustomFieldData
defaultGroup Name of the default groupstring
defaultGroupId Identifier of the group to which a client belongsuuid
feeScheduleId Represents the fee schedule identifier. Fee schedules are unique fee structures with special bill rates and cost rates by employee, activity item, expense item or groupuuid
feeScheduleName Name of the fee schedulestring
firstName First name of a clientstring
id Object identifieruuid
lastName Last name of the clientstring
lastUpdated Last updated date and time value of this object in ISO 8601 date time format, such as YYYY-MM-DDThh:mm:ssdate-time
lastUpdatedById Identifier of the user who last updated this objectuuid
mainExpenseTax Main expense tax applied to the expense amount on a client invoicedouble
mainServiceTax Main service tax applied to the labor/service amount on a client invoicedouble
manager Name of the employee who is a manager of the clientstring
managerId Identifier of a client manageruuid
memo Records any extra information of a client for recapitulationstring
messageOnInvoice Custom message printed on a client invoicestring
middleInitial Middle initial of the clientstring
objectState Represents the state of the object. e.g., new, unchanged, modified or deleted ObjectState
status Current status of the client, e.g., Active or InActive Status
taxId Represents a federal tax identifier.string
term Name of the termstring
termId Identifier of a term (frequency) with which a client will make a paymentuuid
token Represents the token for update operationsint32
type Gets or sets the type. ClientType
version Implements concurrency on this objectbyte
Example Request
Example Response
{
  "name": "Client",
  "address": {
    "entityId": "219d1369-0b1a-4b48-8139-769c8b8a628e",
    "entityType": null,
    "name": "Address",
    "city": "city",
    "communications": [
      {
        "addressId": "cb36bfe9-da72-487b-ac1e-de8fc28fa3d0",
        "typeId": "bc0cc4a4-6a09-45fe-9007-bbb1be13b4ac",
        "value": "value",
        "createdById": "6e3b55ed-d0b0-42ad-a917-5e2883d96481",
        "createdOn": "2022-12-07T06:36:50Z",
        "id": "019b3b27-26d1-4d34-94e6-0b7bc5e13a88",
        "lastUpdated": "2022-12-07T06:36:50Z",
        "lastUpdatedById": "61bbd67e-95f1-497f-81bf-96a8d3eb1781",
        "objectState": null,
        "sortOrder": 0,
        "token": 0,
        "typeName": "typeName",
        "version": "U3dhZ2dlciByb2Nrcw=="
      }
    ],
    "country": "country",
    "createdById": "d1e224bd-e076-42bb-8813-1d23dd33a982",
    "createdOn": "2022-12-07T06:36:50Z",
    "id": "6db2eebe-1a37-4a4d-8847-5693b656edbd",
    "isDefault": true,
    "lastUpdated": "2022-12-07T06:36:50Z",
    "lastUpdatedById": "ac0c7f73-fd7e-4679-bdcf-f721a7c636d0",
    "objectState": null,
    "sortOrder": 0,
    "state": "state",
    "street1": "street1",
    "street2": "street2",
    "token": 0,
    "version": "U3dhZ2dlciByb2Nrcw==",
    "zip": "zip"
  },
  "assignedGroups": [
    {
      "description": "AssignedGroup Description",
      "id": "b84018aa-e68c-43d1-8973-4f3edd651b9c",
      "name": "AssignedGroup"
    }
  ],
  "clientSince": "2022-12-07T06:36:50Z",
  "company": "company",
  "createdById": "c373093a-a3ca-4c3c-9a72-c8a318f697d3",
  "createdOn": "2022-12-07T06:36:50Z",
  "currencyId": "53e53361-46fd-473f-a84d-9522909745c7",
  "currencyName": "currencyName",
  "customFields": [
    {
      "definitionId": "4ce789be-9faf-4312-b95c-33ccc50aecff",
      "createdById": "f8d7427d-9922-4483-8f69-55060446a479",
      "createdOn": "2022-12-07T06:36:50Z",
      "description": "CustomFieldData Description",
      "id": "e71e2704-3262-45e0-a764-f1e8a6c92899",
      "label": "label",
      "lastUpdated": "2022-12-07T06:36:50Z",
      "lastUpdatedById": "de6655c0-043b-4154-ac72-1d162cc1199e",
      "objectState": null,
      "token": 0,
      "type": null,
      "value": "value",
      "version": "U3dhZ2dlciByb2Nrcw=="
    }
  ],
  "defaultGroup": "defaultGroup",
  "defaultGroupId": "5309e752-970c-4227-ba71-cb15b63aa2a4",
  "feeScheduleId": "8186d02a-cfae-4c2e-aa6e-56f181934708",
  "feeScheduleName": "feeScheduleName",
  "firstName": "John",
  "id": "50b5dbb8-e6bf-4d7e-9ebd-261dcb5f6e88",
  "lastName": "Doe",
  "lastUpdated": "2022-12-07T06:36:50Z",
  "lastUpdatedById": "580b1808-5e78-4423-b57f-619f71039414",
  "mainExpenseTax": 1,
  "mainServiceTax": 1,
  "manager": "manager",
  "managerId": "b6d5b896-8837-4b68-8b88-e2996a00c9ec",
  "memo": "memo",
  "messageOnInvoice": "messageOnInvoice",
  "middleInitial": "middleInitial",
  "objectState": null,
  "status": null,
  "taxId": "taxId",
  "term": "term",
  "termId": "12b024b5-8019-459a-b9eb-a24f74906e29",
  "token": 0,
  "type": null,
  "version": "U3dhZ2dlciByb2Nrcw=="
}

Use this method to delete a specific client. Pass id as the parameter.

Request URL
base_url/client/{id}

Method Overview

HTTP Method:

DELETE

Content Type:

application/json

Response Format:

N/A

Requires Authentication?

Yes

Headers:

Access Token

Required Scopes:

readwrite:core

Required Subscription:

View Subscription


Request Parameters asterisk denotes required
NameParameter TypeDescriptionFormat
id Path Client identifierstring
Example Request

Use this method to perform partial modifications to a client. Pass id and patch document as parameters.

Request URL
base_url/client/{id}

Method Overview

HTTP Method:

PATCH

Content Type:

application/json

Response Format:

json

Requires Authentication?

Yes

Headers:

Access Token

Module:

Client

Required Scopes:

readwrite:core

Required Subscription:

View Subscription


Request Parameters asterisk denotes required
NameParameter TypeDescriptionFormat
id Path Client identifierstring
body Body A document containing an array of objects with each object representing a single operationClientPatchDocument
Response Body
NameDescriptionFormat
Example Request
Example Response