Query device type based on device ID.
/plat/res/category/{id}
Path parameter | |
---|---|
id |
Device type ID.
Integer type. Required. No default value.
|
<deviceCategory> <id>0</id> <name>Router</name> <preDefined>true</preDefined> </deviceCategory>
deviceCategory sub-elements | |
---|---|
id |
Device type ID, which uniquely identifies a device type.
Integer type.
|
name |
Device type name.
String type.
|
preDefined |
System defined.
Boolean type.
|
Query device type with the ID 0.
GET http://host:8080/imcrs/plat/res/category/0 accept: application/xml ...
HTTP/1.1 200 OK Content-Type: application/xml ... <deviceCategory> <id>0</id> <name>Router</name> <preDefined>true</preDefined> </deviceCategory>