GetMailsRequestDto
Filters for GET Api/Mails — the outgoing physical post, not Emails.
Every field except pagination is optional; an absent field means the condition is not applied.
statusFilter.available is the universe the counts are computed over, statusFilter.selected is the choice; an absent or empty selected means every status. The counts describe the slice left by the other filters, not the whole table.
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/Mail/Requests/GetMailsRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
pagination | Pagination | да | — | Pagination |
statusFilter | PaginationFilter<MailStatusDto> | нет | Status facet. available is the universe the counts are computed over, selected is the choice; an absent or empty selected means every status, so no condition is applied. | — |
createdAt | PaginationRangeFilter<string> | нет | ISO 8601 range over the creation timestamp. | — |
updatedAt | PaginationRangeFilter<string> | нет | ISO 8601 range over the last-update timestamp. Mails never updated are excluded. | — |
externalTypes | ExternalTypeDto[] | нет | Entity kind the mail belongs to. | — |
externalId | number | нет | Identifier within externalTypes. | — |
senderFullName | string | нет | Prefix match on the sender full name. | — |
Пример
json
{
"pagination": "<Pagination>",
"statusFilter": "<PaginationFilter<MailStatusDto>>",
"createdAt": "<PaginationRangeFilter<string>>",
"updatedAt": "<PaginationRangeFilter<string>>",
"externalTypes": [],
"externalId": 0,
"senderFullName": "string"
}