Relationships are created and deleted using the following methods:
PUT http://hostname:port/rest/endpoint/id/relatesto/endpoint/id DELETE http://hostname:port/rest/endpoint/id/relatesto/endpoint/id
You can also view nested relationships using the following method:
http://hostname:port/rest/endpoint/id/relatesto/endpoint/endpoint
Example
Use the following URL to see all groups and devices that are associated with a specific monitoring profile ID 781:
GET http://hostname:port/rest/monitoringprofile/781/relatesto/groups/devices
The response URL lists all the groups and devices that are related to the specified monitoring profile ID with the attributed listed in the current getlist.xsd file.
|
Copyright © 2015 CA Technologies.
All rights reserved.
|
|