前のトピック: CA User Activity Reporting Module API について

次のトピック: CA User Activity Reporting Module API の構造

API コールの結果

getQueryViewer と getReportViewer を除くすべての API コマンドでは、コマンドが成功したかどうか、および失敗した場合はその理由を記述した XML で要素が返されます。

API の結果の例

<?xml version="1.0" encoding="UTF-8" ?> 
<Result>
<Value>true</Value> 
<Description>Get Object Successful. Type [getQueryList]</Description> 
<Items>
<Item edit="false">
	<Panel id="Subscription/panels/Unclassified_Event_Detail" name="Unclassified Event Detail" shortname="Detail" subscription="true" type="EventViewer" version="12.0.46.5">
	<Description>Provides event details for unclassified event activity</Description> 

この場合、結果値は「true」となっており、成功したことを示しています。また <Description> タグ内には実行されたコマンドが記述されています。