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 is addressed to.—
externalIdnumberнетIdentifier within externalTypes.—
externalFullNamestringнетPrefix match on the name of the addressee, as stored on the mail.—
senderFullNamestringнетPrefix match on the full name of the user the mail originated from.—

Пример ​

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