前のトピック: フィルタ属性次のトピック: Web サービスの使用


データ駆動型 REST Web サービス用の基本的関係の管理

データ駆動型 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 に関連するデバイスとグループすべてをリスト表示します。この監視プロファイル ID には、現在の getlist.xsd ファイルにリスト表示されている属性が備わっています。