Skip to main content

LeadTaskFieldValueRequestDTO

Write-variant of LeadTaskFieldValueDTO — used inside LeadTaskSaveDTO.fields to create or update a single lead task custom field value.

For a multi-select-like type (MULTI_SELECT, EMPLOYEE) send the selected values in values, symmetric with the read shape; the server expands each one into its own row before publishing downstream (one value per row is expected there).

fieldIdint64required

Lead task custom field ID this value belongs to. Always required.

Example: 91
valuestringnullable

Single-valued types (TEXT, SELECT, DATE, ADDRESS — as a uuid, LOCATION — as JSON).

Example: Phone
valuesstring[]nullable

Multi-valued types (MULTI_SELECT, EMPLOYEE) — a write-time convenience, one entry per selected value.

numberdoublenullable

For type: NUMBER.

currencyIdint32nullable

For type: NUMBER when numberFormat: CURRENCY — required in that case.

fileIdint32nullable

For type: FILE — the ID of an already-uploaded file.

LeadTaskFieldValueRequestDTO
{
"fieldId": 91,
"value": "Phone",
"values": [
"string"
],
"number": 0,
"currencyId": 0,
"fileId": 0
}