LeadTaskFieldDTO
Lead task custom field definition, returned by GET /v1/open-api/lead-task-field.
Same shape as ContractFieldDTO, plus requiredStatuses. Null-valued properties are
omitted from the response JSON entirely (not sent as null).
Field ID
12Field name
Contact methodCustom field type, shared by every custom-field family (contract, flat, payment and
lead task). Serialized by name. Identical value set to ContractFieldType, which
remains as the contract-family alias.
Possible values: [TEXT, EXTENDED_TEXT, DATE, SELECT, MULTI_SELECT, RADIO, TOGGLE_SWITCH, URL, TAG, LOCATION, COUNTER, ADDRESS, EMPLOYEE, FILE, NUMBER]
SELECToptions object[]nullable
Field options (for SELECT/MULTI_SELECT/RADIO/TOGGLE_SWITCH).
Option ID
1Option name
PhoneOption description
Display color
#FF5733Display order
1Whether the field is mandatory
falseStatuses the task is required to have this field filled in before it can be
transitioned to — a status-conditional form of required. Specific to the lead
task field family; empty array [] when not restricted.
Possible values: [OPEN, SUCCESS, FAILED, DELETED]
[]Field description
Icon code
Max element count for multi-value types
For type: NUMBER — how the value is formatted.
Possible values: [NUMBER, PERCENT, CURRENCY]
NUMBERFor type: NUMBER — decimal places.
For type: NUMBER — display style.
Possible values: [BAR, RING, NUMBER]
NUMBERFor type: NUMBER — upper bound.
Display order
{
"id": 12,
"name": "Contact method",
"type": "SELECT",
"options": [
{
"id": 1,
"name": "Phone",
"description": "string",
"color": "#FF5733",
"sortOrder": 1
}
],
"required": false,
"requiredStatuses": [],
"description": "string",
"icon": "string",
"maxElements": 0,
"numberFormat": "NUMBER",
"decimalPlaces": 0,
"visualization": "NUMBER",
"maxValue": 0,
"orders": 0
}