LeadTaskResponseDTO
Lead task information object — returned by POST /v1/open-api/lead-task/filter and,
as the task payload, on LEAD_TASK/LEAD_TASK_OVERDUE lead history records. The
flat leadTaskTypeId/leadTaskTypeName/assignedById/closedById fields shipped in
an earlier release and are kept for existing integrators, but are superseded by
leadTaskType/assignedBy/closedBy.
Lead task ID
501Lead ID the task belongs to
34606Lead name
New apartment buyerleadTaskType objectnullable
Task type. Superset of the deprecated leadTaskTypeId/leadTaskTypeName.
Task type ID
7Task type name
CallTask type icon — a Material Icons code
callTask text
Call the clientLead task status enum.
OPEN— OpenSUCCESS— Closed successfullyFAILED— Closed with failureDELETED— Deleted
Possible values: [OPEN, SUCCESS, FAILED, DELETED]
OPENassignedBy objectnullable
Assignee employee. Matches assignedByIds in the filter.
Employee ID
201Employee full name
David WilsoncreatedBy objectnullable
Employee who created the task. Matches createdByIds in the filter.
Employee ID
201Employee full name
David WilsonclosedBy objectnullable
Employee who closed the task.
Employee ID
201Employee full name
David WilsondeletedBy objectnullable
Employee who deleted the task.
Employee ID
201Employee full name
David WilsonCreation time (epoch seconds)
1732924800Task deadline start (epoch seconds, 0 if not set)
1730419200Task deadline finish (epoch seconds, 0 if not set)
1733011200Close time (epoch seconds, null if open).
1731000000Close note.
Deletion time (epoch seconds), null if not deleted.
Boolean form of deletedTimestamp.
falsefields object[]nullable
The task's custom field values — see GET /v1/open-api/lead-task-field for the
field definitions. null when the caller did not load them (the lead-history
path).
Field ID
91Custom field value, resolved per type (e.g. ADDRESS → full address JSON, LOCATION → left in latitude/longitude instead).
PhoneCustom field 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]
SELECTWhether value is mandatory
Display order
Numeric value — only for type: NUMBER.
Currency ID — only for type: NUMBER.
Ordered list of values for multi-row types (MULTI_SELECT/EMPLOYEE). Always an array, empty when not applicable.
[]Latitude — only for type: LOCATION.
Longitude — only for type: LOCATION.
files object[]
Attached files — only for type: FILE. Always an array, empty when not applicable.
Presigned URL to the full-size file
https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600Presigned URL to the thumbnail rendition
https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600Presigned URL to the smallest rendition
https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600Deprecated — use leadTaskType.id instead.
7Deprecated — use leadTaskType.name instead.
CallDeprecated — use assignedBy.id instead.
95Deprecated — use closedBy.id instead.
{
"id": 501,
"leadId": 34606,
"leadName": "New apartment buyer",
"leadTaskType": {
"id": 7,
"name": "Call",
"icon": "call"
},
"text": "Call the client",
"status": "OPEN",
"assignedBy": {
"id": 201,
"fullName": "David Wilson"
},
"createdBy": {
"id": 201,
"fullName": "David Wilson"
},
"closedBy": {
"id": 201,
"fullName": "David Wilson"
},
"deletedBy": {
"id": 201,
"fullName": "David Wilson"
},
"createdTimestamp": 1732924800,
"deadlineStartTimestamp": 1730419200,
"deadlineFinishTimestamp": 1733011200,
"closedTimestamp": 1731000000,
"closedText": "string",
"deletedTimestamp": 0,
"deleted": false,
"fields": [
{
"fieldId": 91,
"value": "Phone",
"name": "Contact method",
"type": "SELECT",
"required": true,
"sortOrder": 0,
"number": 0,
"currencyId": 0,
"values": [],
"latitude": 0,
"longitude": 0,
"files": []
}
]
}