Why is device hostname and ID not in Open API results for the group?

book

Article ID: 210713

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

Example Query Expression, URL and Results:


http://DA:8581/odata/api/groups?$expand=devices,components&$select=Name,devices/ID,devices/HostName,components/ID,components/Name,components/DeviceItemID&$filter=((Name eq 'top group'))

Cause

The group contains no devices.

Environment

Release : 20.2

Component : DX Netops Performance Management 

 

Resolution

As the group does not contain devices, the device ID and hostname fields in the results would not be populated.

Attachments