Skip to main content

LeadTaskResponseDTO

Lead task information object returned in the filter response.

idint64

Lead task ID

Example: 501
leadIdint64

Lead ID the task belongs to

Example: 34606
leadNamestring

Lead name

Example: New apartment buyer
createdTimestampint64

Creation time (epoch seconds)

Example: 1730000000
deadlineStartTimestampint64

Task deadline start (epoch seconds, 0 if not set)

Example: 1730419200
deadlineFinishTimestampint64

Task deadline finish (epoch seconds, 0 if not set)

Example: 1733011200
leadTaskTypeIdint64

Task type ID

Example: 7
textstring

Task text

Example: Call the client
assignedByIdint32

Assignee employee ID

Example: 95
statusLeadTaskStatus

Lead task status enum.

  • OPEN — Open
  • SUCCESS — Closed successfully
  • FAILED — Closed with failure
  • DELETED — Deleted

Possible values: [OPEN, SUCCESS, FAILED, DELETED]

Example: OPEN
closedTimestampint64

Close time (epoch seconds, null if open)

Example: 1731000000
closedTextstring

Close note

Example: Done by phone
closedByIdint32

Employee who closed the task

Example: 95
LeadTaskResponseDTO
{
"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
}