Location
JSON Format
Name | Type | Read-only | Mandatory | Comment |
|---|---|---|---|---|
| id | integer | yes | no | |
| name | string | no | yes | |
| comments | string | no | no | |
| active | boolean | no | no |
URIs
Uri | Method | Request Data | Success Response Code | Description |
|---|---|---|---|---|
| /api/locations | GET | 200 | Returns an Array of all Locations | |
| /api/locations/{id} | GET | 200 | Returns one Location | |
| /api/locations | POST | Location | 201 | Create new Location |
| /api/locations/{id} | PUT | Location | 204 | Update an existing Location |
| /api/locations/{id} | DELETE | 200 | Delete a Location |
