GetInsuranceCompaniesRequestDto
Filters for GET Api/InsuranceCompanies. Every field except pagination is optional — an absent field means the condition is not applied.
Backend-источник: core.businesslogicservice/Core.BusinessLogicService/Nuget.BusinessApiClient/Dto/InsuranceCompany/Requests/GetInsuranceCompaniesRequestDto.cs (core.businesslogicservice).
Поля
| Поле | Тип (TS) | Обязательное | Описание | Тип (C#) |
|---|---|---|---|---|
pagination | Pagination | да | — | Pagination |
statusFilter | PaginationFilter<InsuranceCompanyStatusDto> | нет | 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. | — |
name | string | нет | Prefix match on the name. | — |
cashRegisterNumber | string | нет | Prefix match on the cash register number. | — |
createdAt | PaginationRangeFilter<string> | нет | ISO 8601 range over the creation timestamp. | — |
updatedAt | PaginationRangeFilter<string> | нет | ISO 8601 range over the last-update timestamp. Companies never updated are excluded. | — |
billingAddress | string | нет | Substring match on the billing address, which is a single free-text field. | — |
phoneNumber | string | нет | Exact match. Normalized before comparison (digits only, 49-prefixed). | — |
email | string | нет | Exact match. Stored as a value object, so a partial address does not match. | — |
fax | string | нет | Prefix match on the fax number, which is plain text rather than a value object. | — |
careServiceTypes | CareServiceTypeDto[] | нет | Matches companies having a branch that offers any of the listed care service types. | — |
branchAddress | string | нет | Substring match on the address of any branch. | — |
branchesCount | PaginationRangeFilter<number> | нет | Range over the number of branches. | — |
Пример
json
{
"pagination": "<Pagination>",
"statusFilter": "<PaginationFilter<InsuranceCompanyStatusDto>>",
"name": "string",
"cashRegisterNumber": "string",
"createdAt": "<PaginationRangeFilter<string>>",
"updatedAt": "<PaginationRangeFilter<string>>",
"billingAddress": "string",
"phoneNumber": "+49123456789",
"email": "user@example.com",
"fax": "string",
"careServiceTypes": [],
"branchAddress": "string",
"branchesCount": "<PaginationRangeFilter<number>>"
}