Skip to main content

LeadEventObjectRefDTO

Reference to another object an event relates to — its ID and the name it had at the time of the event. Used inside LeadEventDTO as client and relatedLead.

Neither value is re-read from the database: id comes from the event's objectId and name from its current / previous. The object may have been renamed since — fetch it by id for the current state.

idint64

ID of the referenced object

Example: 5821
namestringnullable

Its name at the time of the event

Example: Alisher Yusupov
LeadEventObjectRefDTO
{
"id": 5821,
"name": "Alisher Yusupov"
}