Properties
| Name | Type | Description |
|---|---|---|
| code | string | The unique code for this custom field definition |
The unique code for this custom field definition | ||
| label | string | The display label shown to users for this field |
The display label shown to users for this field | ||
| entityType | enum | Client |
Client | ||
| dataType | enum | Text Number Date Boolean Select MultiSelect TextArea Address Email File Link RichText |
Text Number Date Boolean Select MultiSelect TextArea Address Email File Link RichText | ||
| options | array of string | The list of allowed options for Select and MultiSelect fields. Null for other data types. |
The list of allowed options for Select and MultiSelect fields. Null for other data types. | ||
| clientTypes | array of enum | The types of clients this custom field is applicable to. |
The types of clients this custom field is applicable to. | ||
| billableServiceCodes | array of string | The codes of the services a client must hold for this custom field to apply to them. |
The codes of the services a client must hold for this custom field to apply to them. | ||
| isRequired | boolean | Whether a value must be held for this field on every client the field applies to. |
Whether a value must be held for this field on every client the field applies to. | ||
| maxLength | integer | Maximum character length for Text and TextArea types. Null means no limit. |
Maximum character length for Text and TextArea types. Null means no limit. | ||
| lines | integer | Number of visible text lines for TextArea type. Null defaults to 3. |
Number of visible text lines for TextArea type. Null defaults to 3. | ||
| displayWidth | enum | Small Medium Large Full |
Small Medium Large Full | ||
| booleanDisplayMode | enum | Toggle Checkbox YesNo |
Toggle Checkbox YesNo | ||
| isFullRow | boolean | Whether the field takes a whole row of its card on the record, rather than one column of it. |
Whether the field takes a whole row of its card on the record, rather than one column of it. | ||
| numberDecimalPlaces | integer | Number fields only: decimal places the value renders with in templates (0 to 2). Null keeps the decimals as entered. |
Number fields only: decimal places the value renders with in templates (0 to 2). Null keeps the decimals as entered. | ||
| numberThousandsSeparator | boolean | Number fields only: whether the value renders in templates with a thousands separator. |
Number fields only: whether the value renders in templates with a thousands separator. | ||
| numberCurrencySymbol | boolean | Number fields only: whether the value renders in templates with the practice currency symbol. |
Number fields only: whether the value renders in templates with the practice currency symbol. | ||
| customFieldGroupCode | string | The code of the group this field belongs to |
The code of the group this field belongs to | ||
| hasValues | boolean | Whether any entities have values stored for this field. Only populated on detail responses. |
Whether any entities have values stored for this field. Only populated on detail responses. | ||
| workflowCount | integer | How many workflows use this field as a group or step condition |
How many workflows use this field as a group or step condition | ||
| dataFormCount | integer | How many data forms ask for this field or use it as a condition |
How many data forms ask for this field or use it as a condition | ||
| isArchived | boolean | Whether this custom field definition has been archived |
Whether this custom field definition has been archived | ||
| sortOrder | integer | The display order of this field relative to other custom fields |
The display order of this field relative to other custom fields | ||
JSON Example
{
"code": "string",
"label": "string",
"entityType": "Client",
"dataType": "Text",
"options": [
"string"
]
}