CreateCustomFieldDefinitionRequest

Properties

Name Type Description
labelstring
entityTypeenum

Client

Client

dataTypeenum

Text Number Date Boolean Select MultiSelect TextArea Address Email File Link

Text Number Date Boolean Select MultiSelect TextArea Address Email File Link

optionsarray of string
maxLengthinteger
linesinteger
displayWidthenum

Small Medium Large Full

Small Medium Large Full

booleanDisplayModeenum

Toggle Checkbox YesNo

Toggle Checkbox YesNo

clientTypesarray of enum

The types of clients this custom field is applicable to.
An empty list means the field is applicable to all client types.

PrivateLimitedCompany PublicLimitedCompany LimitedLiabilityPartnership Partnership Individual Trust Charity SoleTrader Association

The types of clients this custom field is applicable to.
An empty list means the field is applicable to all client types.

PrivateLimitedCompany PublicLimitedCompany LimitedLiabilityPartnership Partnership Individual Trust Charity SoleTrader Association

billableServiceCodesarray of string

The codes of the services a client must hold for this custom field to apply to them.
An empty list means the field applies regardless of the client's services.

The codes of the services a client must hold for this custom field to apply to them.
An empty list means the field applies regardless of the client's services.

isRequiredboolean

Whether a value must be held for this field on every client the field applies to.
A required field restricted by client type or by service is required only on the clients
it applies to.

Whether a value must be held for this field on every client the field applies to.
A required field restricted by client type or by service is required only on the clients
it applies to.

customFieldGroupCode*string
sortOrderinteger

JSON Example

{
  "label": "string",
  "entityType": "Client",
  "dataType": "Text",
  "options": [
    "string"
  ],
  "maxLength": 0,
  "customFieldGroupCode": "string"
}

Used By Operations