How to use the API to get Site listing with list of devices that are assigned to the site.
Release : 3.6, 3.7, DX Netops 20.2
Component : IM Reporting / Admin / Configuration
For this you can use the CAPC/Portal Group rest service:
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:
You may need to adjust the protocol and port if you are using https for example.