2017-09-07 10 views
0

誰もがLR soap APIから何かを得ることができますか?LogRhythm SOAP Apiの問題

私のクエリは、ここでは、非常に簡単である抽出物である:「必要とされるnotifcationsを含めるか含めコメント」ための、意味がありません、私は応答して、次の受信

<soap:Body> 
    <GetAlarmHistoryByID 
     xmlns="http://www.logrhythm.com/webservices" 
     xmlns:ns2="http://schemas.microsoft.com/2003/10/Serialization/Arrays" 
     xmlns:ns3="http://schemas.microsoft.com/2003/10/Serialization/"> 
     <alarmID>140</alarmID> 
     <includeNotifications>false</includeNotifications> 
     <includeComments>false</includeComments> 
    </GetAlarmHistoryByID> 
</soap:Body> 

、しかし、値が低く検出された: includeNotifications:偽(私は渡された値から反転...)

<s:Fault> 
     <faultcode>s:Client</faultcode> 
     <faultstring xml:lang="en-US">Include notifcations or include comments is required.</faultstring> 
     <detail> 
      <LogRhythmWebServiceFault 
       xmlns="http://www.logrhythm.com/webservices" 
       xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> 
       <FaultID>4d12a9ed-bff7-4dfb-ad71-29372c12544d</FaultID> 
       <Details>Error getting Alarm history (includeNotifications: 140 include comments: False) for ID False</Details> 
       <FaultTime>2017-09-07T17:46:22.5779477Z</FaultTime> 
       <ErrorID>3024</ErrorID> 
      </LogRhythmWebServiceFault> 
     </detail> 
    </s:Fault> 

方法:GetAlarmHistoryByID

は、アラームステータスとコメントアップデートのリストを取得し140をコメントを含めます。アラームIDはGetFirstPageAlarmsまたはGetNextPageAlarmsメソッド呼び出しの1つから派生します。

alarmID long No The unique ID of the alarm. 
includeNotifications boolean No If true, include notification history. 
includeComments boolean No If true, include comments history. 

出力 アラーム履歴。

答えて

0

私は同様の問題があり、LogRhythm側の呼び出しでバグが発生しました。決断のためにチケットを買うことをお勧めします。あなたがまだそれを理解していない場合