LeadNoteDTO
Lead note object — the response row of GET /v1/open-api/lead-note/{leadId}/list,
POST /v1/open-api/lead-note/filter and POST /v1/open-api/lead-event/filter. The write
body of POST .../list accepts only the subset in LeadNoteSaveRequestDTO.
Note ID (null when creating)
7001Whether the note is pinned.
falsefalseNote text. Required, length 1–500.
Possible values: non-empty and <= 500 characters
Client requested a callbackLead note type enum.
SIMPLE— ordinary noteSMS— a sent SMSPHONE— a phone call note
Possible values: [SIMPLE, SMS, PHONE]
SIMPLESIMPLEID of the lead the note belongs to. Response only — ignored if sent in a request. The only way to attribute a note to a lead when it comes back from a company-wide POST /v1/open-api/lead-event/filter or POST /v1/open-api/lead-note/filter (no leadIds in the request).
26801createdBy objectnullable
Employee who wrote the note. Response only — ignored if sent in a request. Filter with createdByIds.
Employee ID
201Employee full name
David WilsonTime the note was written, epoch seconds. Response only.
1730000000deletedBy objectnullable
Employee who deleted the note — pairs with deletedTimestamp. null when not deleted.
Employee ID
201Employee full name
David WilsonDeletion time (epoch seconds); null when not deleted.
nulltrue when the note is soft-deleted.
falsefiles object[]nullable
Files attached to the note. null when the caller path does not load files
(GET /v1/open-api/lead-event/filter's note rows); an empty array means no files
attached. Populated on GET .../list and POST /v1/open-api/lead-note/filter.
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 createdBy.id.
95{
"id": 7001,
"isPin": false,
"text": "Client requested a callback",
"type": "SIMPLE",
"leadId": 26801,
"createdBy": {
"id": 201,
"fullName": "David Wilson"
},
"createdTimestamp": 1730000000,
"deletedBy": {
"id": 201,
"fullName": "David Wilson"
},
"deletedTimestamp": null,
"deleted": false,
"files": [
{
"absolutePath": "https://minio.uysot.uz/uysot/files/201/avatar.png?X-Amz-Expires=3600",
"thumbAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_thumb.png?X-Amz-Expires=3600",
"smallestAbsolutePath": "https://minio.uysot.uz/uysot/files/201/avatar_small.png?X-Amz-Expires=3600"
}
]
}