AssetType
JSON Format
Name | Type | Read-only | Mandatory | Comment |
|---|---|---|---|---|
| id | integer | yes | no | |
| name | string | no | yes | |
| notes | string | no | no | |
| fieldGroupIds | array | no | no | Array of AssetFieldGroup IDs associated with this AssetType |
URIs
Uri | Method | Request Data | Success Response Code | Description |
|---|---|---|---|---|
| /api/asset-types | GET | 200 | Returns an Array of all AssetTypes | |
| /api/asset-types/{id} | GET | 200 | Returns one AssetType | |
| /api/asset-types | POST | AssetType | 201 | Create new AssetType |
| /api/asset-types/{id} | PUT | AssetType | 204 | Update an existing AssetType |
| /api/asset-types/{id} | DELETE | 200 | Delete an AssetType |
