LeadTaskSaveDTO
Lead task save (or update if id is provided) request body.
Lead task ID. Omit for create; provide to update.
501Task description
Call the clientTask type ID (required)
7Assignee employee ID (required)
95Task deadline start (epoch seconds, required, min 1)
Possible values: >= 1
1730419200Task deadline finish (epoch seconds, required, min 1)
Possible values: >= 1
1733011200fields object[]nullable
Custom field values, full-replace semantics: any field not present in this
list has its existing value cleared (uysot-v2's
AbstractCustomFieldValueService.saveAll). Send the entire list on every
save — including on update — not just the changed field. Omitting fields, or
sending an empty array, clears all existing values.
Lead task custom field ID this value belongs to. Always required.
91Single-valued types (TEXT, SELECT, DATE, ADDRESS — as a uuid, LOCATION — as JSON).
PhoneMulti-valued types (MULTI_SELECT, EMPLOYEE) — a write-time convenience, one entry per selected value.
For type: NUMBER.
For type: NUMBER when numberFormat: CURRENCY — required in that case.
For type: FILE — the ID of an already-uploaded file.
{
"id": 501,
"text": "Call the client",
"leadTaskTypeId": 7,
"assignedById": 95,
"deadlineStartTimestamp": 1730419200,
"deadlineFinishTimestamp": 1733011200,
"fields": [
{
"fieldId": 91,
"value": "Phone",
"values": [
"string"
],
"number": 0,
"currencyId": 0,
"fileId": 0
}
]
}