Update a Device Metatype
put
/api/device/MetaTypes/{id}
Updates the properties of the device metatype that matches the specified ID.
Request
Path Parameters
-
id(required): integer(int32)
The device metatype ID.
Supported Media Types
- application/json
Root Schema : schema
Type:
Show Source
object-
DeviceMetaTypeName: string
The device metatype name.Example:
ADBaseDN -
Filterable: integer
Whether a meta type can be used to filter events (1 for true) or not (0 for false).Example:
1 -
RenderTypeID: integer
ID of property value renderer for the Meta Tag.Example:
1
Response
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SuccessfulUpdateOperation
Type:
Show Source
object-
message: string
The response message.Example:
Updated record -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
Nested Schema : type
Type:
Show Source
object-
data: array
data
The properties of the updated device metatype.
-
total: integer
The total number of results regardless of paging.Example:
1
Nested Schema : deviceMetaTypesRead
Type:
Show Source
object-
DeviceCount: integer
The total number of devices that contain this meta type.Example:
1 -
DeviceMetaTypeID: integer
The device metatype ID.Example:
12 -
DeviceMetaTypeName: string
The device metatype name.Example:
ADBaseDN -
Filterable: integer
Whether a meta type can be used to filter events (1 for true) or not (0 for false).Example:
1 -
FilterableIcon: string
Icon for indicating filterable. Possible values: - 0 => "OrbRed.png" - 1 => "OrbGreen.png"Example:
OrbGreen.png -
RenderTypeID: integer
ID of property value renderer for the Meta TagExample:
1 -
RenderTypeName: string
Display name of the property value renderer for the Meta TagExample:
String
Default Response
Failed operation
Root Schema : schema
Type:
Show Source
object-
errors: array
errors
The list of errors reported. Validation errors will be keyed by record field.
-
message: string
The response message.Example:
Exception thrown -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
false
Nested Schema : errors
Type:
arrayThe list of errors reported. Validation errors will be keyed by record field.
Show Source
Nested Schema : items
Type:
object