Group
JSON Format
Name | Type | Read-only | Mandatory | Comment |
|---|---|---|---|---|
| id | integer | yes | no | |
| name | string | no | yes | |
| comments | string | no | no | |
| active | boolean | no | false | |
| assetTrackerType | string | no | no | One of: EHD, ZEN10, NONE |
| categoryIds | array | no | no | array of Category.id |
| requireCategory | boolean | no | no |
URIs
Uri | Method | Request Data | Success Response Code | Description |
|---|---|---|---|---|
| /api/groups | GET | 200 | Returns an Array of all Groups | |
| /api/groups/{id} | GET | 200 | Returns one Group | |
| /api/groups | POST | Group | 201 | Create new Group |
| /api/groups/{id} | PUT | Group | 204 | Update an existing Group |
| /api/groups/{id} | DELETE | 200 | Delete a Group |
