Live webinar What's new in Sodium: Information Requests, plus Q&A. Thu 19 Nov, 12 noon Information Requests + Q&A, Thu 19 Nov Reserve your place

UpdateCustomFieldDefinitionRequest

Properties

Name Type Description
labelstring
dataTypeenum

Text Number Date Boolean Select MultiSelect TextArea Address Email File Link RichText

Text Number Date Boolean Select MultiSelect TextArea Address Email File Link RichText

optionsarray of string
maxLengthinteger
linesinteger
displayWidthenum

Small Medium Large Full

Small Medium Large Full

booleanDisplayModeenum

Toggle Checkbox YesNo

Toggle Checkbox YesNo

isFullRowboolean

Whether the field takes a whole row of its card on the record, rather than one column of it.
DisplayWidth then applies within that row. Only for types whose metadata has HasFullRow.

Whether the field takes a whole row of its card on the record, rather than one column of it.
DisplayWidth then applies within that row. Only for types whose metadata has HasFullRow.

numberDecimalPlacesinteger

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.

numberThousandsSeparatorboolean

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.

numberCurrencySymbolboolean

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.

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
isArchivedboolean
sortOrderinteger

JSON Example

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

Used By Operations