使用下列方法可建立和刪除資料驅動 REST Web 服務的關係:
PUT http://hostname:port/rest/endpoint/id/relatesto/endpoint/id DELETE http://hostname:port/rest/endpoint/id/relatesto/endpoint/id
您也可以使用下列方法來檢視巢狀關係:
http://hostname:port/rest/endpoint/id/relatesto/endpoint/endpoint
範例
使用下列 URL 可查看與特定監控設定檔 ID 781 相關聯的所有群組和裝置:
GET http://hostname:port/rest/monitoringprofile/781/relatesto/groups/devices
此回應 URL 列出與指定的監控設定檔 ID (其屬性列在目前的 getlist.xsd 檔案中) 相關的所有群組和裝置。
|
Copyright © 2014 CA Technologies.
All rights reserved.
|
|