Skip to main content

LeadEventDataType

Type discriminator for one LeadEventJournalDTO record — determines which payload fields are filled and doubles as a component of LeadEventOrderField's tie-breaker.

  • LEAD_EVENT — a change on the lead itself; fills event
  • CONTACT_EVENT — a change on one of the lead's contacts; fills event
  • LEAD_TASK — an action on one of the lead's tasks (created, completed, result added, text changed, deleted); fills task, taskAction and event. Its eventId is the event's ID, not the task's
  • LEAD_NOTE — a note written on the lead; fills note
  • LEAD_TASK_OVERDUE — an open task whose deadline has passed; fills task and taskAction. There is no event behind it, so it carries no event and its eventId is the task's ID
stringLeadEventDataType

Type discriminator for one LeadEventJournalDTO record — determines which payload fields are filled and doubles as a component of LeadEventOrderField's tie-breaker.

  • LEAD_EVENT — a change on the lead itself; fills event
  • CONTACT_EVENT — a change on one of the lead's contacts; fills event
  • LEAD_TASK — an action on one of the lead's tasks (created, completed, result added, text changed, deleted); fills task, taskAction and event. Its eventId is the event's ID, not the task's
  • LEAD_NOTE — a note written on the lead; fills note
  • LEAD_TASK_OVERDUE — an open task whose deadline has passed; fills task and taskAction. There is no event behind it, so it carries no event and its eventId is the task's ID

Possible values: [LEAD_EVENT, CONTACT_EVENT, LEAD_TASK, LEAD_NOTE, LEAD_TASK_OVERDUE]

Example: LEAD_EVENT
LeadEventDataType
"LEAD_EVENT"