Reference Guide
The attributes associated with the individual entries of the DeviceGroupToDeviceGroup section of the
returned payload are described in the following table.
Attribute Name
Description
Id
The identifier of the relationship.
DeviceGroupId
The device group identifier of the child device group.
ParentDeviceGroupId
The device group identifier of the parent device group.
The attributes associated with the individual entries of the DeviceGroupToDevice section of the returned
payload are described in the following table.
Attribute Name
Description
Id
The identifier of the relationship.
DeviceId
The device identifier of the child device.
ParentGroupId
The device group identifier of the parent device group.
2.5.1 Retrieving Device Hierarchy Information That Has Changed
To retrieve device hierarchy information that has changed, the DeviceGroupHierarchy GET API is used by
providing the timestamps as part of the command construction:
<BASE_URI>/DeviceGroupHierarchy/{HierarchyAddedOrUpdatedTimestamp}&
{HierarchyDeletedTimestamp}&{ DeviceGroupAddedOrUpdatedTimestamp}&{
DeviceGroupDeletedTimestamp}&{ DeviceToGroupAddedOrUpdatedTimestamp}&{
DeviceToGroupDeletedTimestamp}
Operations Supported
: GET
For example, to get the complete device hierarchy, the following API can be used:
http://<OME_SERVER>:2607/api/OME.svc/DeviceGroupHierarchy
To retrieve device hierarchy information that has changed use a command such as the following:
https://OME_SERVER>:2607/api/OME.svc/DeviceGroupHierarchy/0,0,0,0,0,2,32,205&0,0,0,0,0,2,32,20
5&0,0,0,0,0,2,32,204&0,0,0,0,0,2,32,204&0,0,0,0,0,2,32,207&0,0,0,0,0,2,32,207
35 REST API Guide – OpenManage Essentials | Revision A02