Skip to content

List Ware Categories ​

Returns a paginated list of ware categories, sorted by internal ID ascending. This endpoint needs no additional license.

Request ​

GET /api/oauth/v2/resource/wares/categories

HeaderValue
AuthorizationBearer {access_token}

Query parameters ​

ParameterTypeRequiredDescription
offsetintegerNoStart position (default: 0)
limitintegerNoNumber of results (default: 50, max: 200)

Response ​

Success (200 OK) ​

json
{
  "data": [
    {
      "id": "d4e5f6a7-b8c9-0123-defa-123456789012",
      "name": "Hilfsmittel",
      "color": "#74AFAD",
      "tenancies": ["f0e1d2c3-b4a5-6789-fedc-ba9876543210"]
    }
  ],
  "meta": {
    "total": 12,
    "offset": 0,
    "limit": 50
  }
}

Response fields ​

FieldTypeDescription
dataArrayList of ware categories
data[].idstring (UUID)Unique ID of the category
data[].namestringName of the category
data[].colorstringColor as hex code (e.g. #74AFAD)
data[].tenanciesArray<string (UUID)>IDs of the assigned tenants
meta.totalintegerTotal number of categories
meta.offsetintegerCurrent start position
meta.limitintegerNumber of returned entries
Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/wares/categories?offset=0&limit=50" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors ​

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope wares not present

Offisy GmbH