/brands
List brands
Returns brands ordered by code. `search` matches code and name, case-insensitively and on any part of the value. The response is a paged envelope: `{ items, totalCount, page, pageSize, totalPages, hasPreviousPage, hasNextPage }`. `pageSize` defaults to 50 and is capped at 200.
Frågeparametrar
| Fält | Typ | Beskrivning |
|---|---|---|
search
|
string | Case-insensitive partial match on code and name. |
page
|
integer | |
pageSize
|
integer |
Svar
PagedResult_PublicBrandResponse
Paginerat svar: raderna nedan ligger i items[], omgivna av totalCount, page, pageSize, totalPages, hasPreviousPage och hasNextPage. Paginerad
| Fält | Typ | Beskrivning |
|---|---|---|
code
Krävs
|
string · nullable | Business key. Stable, and what item rows reference. |
createdDate
|
string(date-time) | |
description
|
string · nullable | |
isActive
|
boolean | |
links
|
Links | Hypermedia links for a public API resource. Exposed as a computed `links` property on the public response DTOs so that create and read responses carry the same self-reference — the canonical URL is derived from the business key already present on the DTO and can never drift from the route it points at. |
logoUrl
|
string · nullable | |
name
Krävs
|
string · nullable | |
sortOrder
|
integer | |
websiteUrl
|
string · nullable |
Standardfel:
401
403
Felhantering
Exempel
curl "https://api.fluit.cloud/preview/brands"
{
"hasNextPage": true,
"hasPreviousPage": true,
"items": [
{
"code": "string",
"createdDate": "2026-06-11T09:24:13.418",
"description": "string",
"isActive": true,
"links": {
"self": "string"
},
"logoUrl": "https://cdn.fluit.cloud/assets/widget-a-front.jpg",
"name": "Fluit",
"sortOrder": 42,
"websiteUrl": "https://cdn.fluit.cloud/assets/widget-a-front.jpg"
}
],
"page": 1,
"pageSize": 50,
"totalCount": 137,
"totalPages": 3
}
Bas-URL https://api.fluit.cloud/preview. Svarsexemplet är genererat ur schemat: formen stämmer, värdena är påhittade.