GET Products?searchText={searchText}&page={page}&pageSize={pageSize}
Gets all the products, represented as ProductDto.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| searchText |
Filter by name or code, null for all (optional, null by default). |
string |
None. |
| page |
The page (optional, 1 by default). |
integer |
Default value is 1 |
| pageSize |
The page size (optional, 50 by default). |
integer |
Default value is 50 |
Body Parameters
None.
Response Information
Resource Description
A collection of products.
ResponseContainerOfProductDto| Name | Description | Type | Additional information |
|---|---|---|---|
| Content | Collection of ProductDto |
None. |
|
| TotalCount | integer |
None. |
|
| TotalPages | integer |
None. |
|
| PageSize | integer |
None. |
|
| CurrentPage | integer |
None. |
Response Formats
application/json, text/json
Sample:
Sample not available.