QHow to get a list of items in a group
search cancel

QHow to get a list of items in a group

book

Article ID: 200906

calendar_today

Updated On:

Products

CA Infrastructure Management CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

How to use the API to get Site listing with list of devices that are assigned to the site.

 

Environment

Release : 3.6, 3.7, DX Netops 20.2

Component : IM Reporting / Admin / Configuration

Resolution

For this you can use the CAPC/Portal Group rest service:

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/performance-management/3-7/apis/performance-center-rest-web-services/groups-web-service.html

The documentation outlines how to get the id of the group, and then once you have that you can get the items as in the following example:

http://:8181/pc/center/webservice/groups/groupItemId/ITEMIDHERE/items

You may need to adjust the protocol and port if you are using https for example.