GetPartnersRequestDto
Filters for GET Api/Partners. 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/Partner/Request/GetPartnersRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
pagination | Pagination | да | — | Pagination |
statusFilter | PaginationFilter<PartnerStatusDto> | нет | 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. | — |
tagFilters | number[] | нет | — | List<int>? |
categoryFilters | PartnerCategoryDto[] | нет | — | — |
regionCodeIds | number[] | нет | — | — |
city | string | нет | Full-text match on the city, with a trigram fallback for typos. | — |
hasFlyer | boolean | нет | — | — |
flyerSentFrom | string | нет | ISO date (yyyy-MM-dd). | — |
flyerSentTo | string | нет | ISO date (yyyy-MM-dd). | — |
name | string | нет | Prefix match on the partner name. | — |
createdAt | PaginationRangeFilter<string> | нет | ISO 8601 range over the creation timestamp. | — |
updatedAt | PaginationRangeFilter<string> | нет | ISO 8601 range over the last-update timestamp. Partners never updated are excluded. | — |
postalCode | string | нет | Prefix match on the postal code. | — |
street | string | нет | Prefix match on the street. | — |
house | string | нет | Prefix match on the house number. | — |
region | string | нет | Prefix match on the free-text region field, independent of regionCodeIds. | — |
country | string | нет | Prefix match on the country. | — |
site | string | нет | Prefix match on the web site. | — |
email | string | нет | Exact match against the partner email and its linked email contacts. Stored as a value object, so a partial address does not match — pass the full address. | — |
phoneNumber | string | нет | Exact match against the linked phone contacts. Normalized before comparison (digits only, 49-prefixed), so +49 221 12345 and 0221 12345 both work, but a partial number does not match. | — |
flyersCount | PaginationRangeFilter<number> | нет | Range over the number of flyers sent to the partner. | — |
Пример
json
{
"pagination": "<Pagination>",
"statusFilter": "<PaginationFilter<PartnerStatusDto>>",
"tagFilters": [],
"categoryFilters": [],
"regionCodeIds": [],
"city": "string",
"hasFlyer": false,
"flyerSentFrom": "2026-05-05T08:00:00Z",
"flyerSentTo": "2026-05-05T08:00:00Z",
"name": "string",
"createdAt": "<PaginationRangeFilter<string>>",
"updatedAt": "<PaginationRangeFilter<string>>",
"postalCode": "string",
"street": "string",
"house": "string",
"region": "string",
"country": "string",
"site": "string",
"email": "user@example.com",
"phoneNumber": "+49123456789",
"flyersCount": "<PaginationRangeFilter<number>>"
}