Skip to content

Get Ware Category ​

Returns the details of a single ware category.

Request ​

GET /api/oauth/v2/resource/wares/categories/{uuid}

HeaderValue
AuthorizationBearer {access_token}

URL parameters ​

ParameterTypeRequiredDescription
uuidstring (UUID)YesUnique ID of the ware category

Response ​

Success (200 OK) ​

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

Response fields ​

See List Ware Categories for the full field reference — the data object here has the same fields as one entry of data[] there.

Beispiele
bash
curl -X GET "https://my.offisy.at/api/oauth/v2/resource/wares/categories/b2c3d4e5-f6a7-8901-bcde-f01234567890" \
  -H "Authorization: Bearer {access_token}"
Parameter
Zuerst Token anfordern

Possible errors ​

StatusCodeDescription
401invalid_clientInvalid or missing access token
403insufficient_scopeScope wares not present
404not_foundWare category not found

Offisy GmbH