Name | Type | Read-only | Mandatory | Comment |
|---|---|---|---|---|
| id | integer | yes | no | |
| name | string | no | yes | |
| categoryId | integer | no | yes | Category.id |
| active | boolean | no | no |
Uri | Method | Request Data | Success Response Code | Description |
|---|---|---|---|---|
| /api/category-options | GET | 200 | Returns an Array of all CategoryOptions | |
| /api/category-options/{id} | GET | 200 | Returns one CategoryOption | |
| /api/category-options | POST | CategoryOption | 201 | Create new CategoryOption |
| /api/category-options/{id} | PUT | CategoryOption | 204 | Update an existing CategoryOption |
| /api/category-options/{id} | DELETE | 200 | Delete a CategoryOption |