LeadTaskResponseDTO
Lead task information object returned in the filter response.
idint64
Lead task ID
Example:
501leadIdint64
Lead ID the task belongs to
Example:
34606leadNamestring
Lead name
Example:
New apartment buyercreatedTimestampint64
Creation time (epoch seconds)
Example:
1730000000deadlineStartTimestampint64
Task deadline start (epoch seconds, 0 if not set)
Example:
1730419200deadlineFinishTimestampint64
Task deadline finish (epoch seconds, 0 if not set)
Example:
1733011200leadTaskTypeIdint64
Task type ID
Example:
7textstring
Task text
Example:
Call the clientassignedByIdint32
Assignee employee ID
Example:
95statusLeadTaskStatus
Lead task status enum.
OPEN— OpenSUCCESS— Closed successfullyFAILED— Closed with failureDELETED— Deleted
Possible values: [OPEN, SUCCESS, FAILED, DELETED]
Example:
OPENclosedTimestampint64
Close time (epoch seconds, null if open)
Example:
1731000000closedTextstring
Close note
Example:
Done by phoneclosedByIdint32
Employee who closed the task
Example:
95LeadTaskResponseDTO
{
"id": 501,
"leadId": 34606,
"leadName": "New apartment buyer",
"createdTimestamp": 1730000000,
"deadlineStartTimestamp": 1730419200,
"deadlineFinishTimestamp": 1733011200,
"leadTaskTypeId": 7,
"text": "Call the client",
"assignedById": 95,
"status": "OPEN",
"closedTimestamp": 1731000000,
"closedText": "Done by phone",
"closedById": 95
}