Get a Device Metatype by ID
get
/api/device/MetaTypes/{id}
Gets the device metatype that matches the specified ID.
Request
Path Parameters
-
id(required): integer(int32)
The device metatype ID.
There's no request body for this operation.
Back to TopResponse
Supported Media Types
- application/json
200 Response
Successful operation
Nested Schema : SuccessfulGetOperation
Type:
Show Source
object-
message: string
The response message.Example:
Loaded 1 entries -
success: boolean
Whether the operation was a success (true) or a failure (false).Example:
true
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