Skip to content

GetMailsRequestDto

← Mail DTO

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#)
paginationPaginationдаPagination
statusFilterPaginationFilter<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.
createdAtPaginationRangeFilter<string>нетISO 8601 range over the creation timestamp.
updatedAtPaginationRangeFilter<string>нетISO 8601 range over the last-update timestamp. Mails never updated are excluded.
externalTypesExternalTypeDto[]нетEntity kind the mail belongs to.
externalIdnumberнетIdentifier within externalTypes.
senderFullNamestringнетPrefix match on the sender full name.

Пример

json
{
  "pagination": "<Pagination>",
  "statusFilter": "<PaginationFilter<MailStatusDto>>",
  "createdAt": "<PaginationRangeFilter<string>>",
  "updatedAt": "<PaginationRangeFilter<string>>",
  "externalTypes": [],
  "externalId": 0,
  "senderFullName": "string"
}