Skip to content

GetPartnersRequestDto ​

← Partner DTO

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#)
paginationPaginationда—Pagination
statusFilterPaginationFilter<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.—
tagFiltersnumber[]нет—List<int>?
categoryFiltersPartnerCategoryDto[]нет——
regionCodeIdsnumber[]нет——
citystringнетFull-text match on the city, with a trigram fallback for typos.—
hasFlyerbooleanнет——
flyerSentFromstringнетISO 8601 timestamp, lower bound of the flyer send time.—
flyerSentTostringнетISO 8601 timestamp, upper bound of the flyer send time.—
namestringнетPrefix match on the partner name.—
createdAtPaginationRangeFilter<string>нетISO 8601 range over the creation timestamp.—
updatedAtPaginationRangeFilter<string>нетISO 8601 range over the last-update timestamp. Partners never updated are excluded.—
postalCodestringнетPrefix match on the postal code.—
streetstringнетPrefix match on the street.—
housestringнетPrefix match on the house number.—
regionstringнетPrefix match on the free-text region field, independent of regionCodeIds.—
countrystringнетPrefix match on the country.—
sitestringнетPrefix match on the web site.—
emailstringнет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.—
phoneNumberstringнет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.—
flyersCountPaginationRangeFilter<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>>"
}