Önceki Başlık: getITPamVersionInfoSonraki Başlık: getPendingInteractionRequestForm


getMatchingEvents

Belirli bir abone için eşleşen etkinliklerin listesini almak için bu yöntemi kullanın.

Örnek

Kısmi Eşleşmeye İzin Ver True
<tns:getMatchingEvents xmlns:tns="http://www.ca.com/itpam">
<tns:auth>
<!--xsd:Choice Type-->
<tns:token>token__</tns:token>
<tns:user>Joe</tns:user>
<tns:password>benimparolam</tns:password>
<tns:auth>
<tns:eventName>abc</tns:eventName>
<tns:eventType></tns:eventType>
<tns:eventSource></tns:eventSource>
<tns:eventDestination></tns:eventDestination>
<tns:eventExpression></tns:eventExpression>
<tns:enablePatternMatch></tns:enablePatternMatch>
<tns:allowPartialMatch>true</tns:allowPartialMatch>
<tns:consumeEvents></tns:consumeEvents>
<tns:retrieveAllMatchingEvents>true</tns:retrieveAllMatchingEvents>
<tns:uniqueId></tns:uniqueId>
</tns:getMatchingEvents>

Desen Eşleştirmeyi Etkinleştir True
<tns:getMatchingEvents xmlns:tns="http://www.ca.com/itpam">
<tns:auth>
<tns:user>Joe</tns:user>
<tns:password>benimparolam</tns:password>
<tns:auth>
<tns:eventName>a.*f</tns:eventName>
<tns:eventType></tns:eventType>
<tns:eventSource></tns:eventSource>
<tns:eventDestination></tns:eventDestination>
<tns:eventExpression></tns:eventExpression>
<tns:enablePatternMatch>true</tns:enablePatternMatch>
<tns:allowPartialMatch></tns:allowPartialMatch>
<tns:consumeEvents></tns:consumeEvents>
<tns:retrieveAllMatchingEvents>true</tns:retrieveAllMatchingEvents>
<tns:uniqueId></tns:uniqueId>
</tns:getMatchingEvents>

SOAP İsteği

<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<tns:getMatchingEvents xmlns:tns="http://www.ca.com/itpam">
<tns:auth>
<tns:user>Joe</tns:user>
<tns:password>benimparolam</tns:password>
<tns:auth>
<tns:eventName>abc</tns:eventName>
<tns:eventType/>
<tns:eventSource/>
<tns:eventDestination/>
<tns:eventExpression/>
<tns:enablePatternMatch/>
<tns:allowPartialMatch/>
<tns:consumeEvents/>
<tns:retrieveAllMatchingEvents>true</tns:retrieveAllMatchingEvents>
<tns:uniqueId/>
</tns:getMatchingEvents>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>

<eventName>, etkinliğin adını tanımlar (isteğe bağlı).

<eventType>, etkinliğin tipini tanımlar (isteğe bağlı).

<eventSource>, etkinliğin kaynağını tanımlar (isteğe bağlı).

<eventDestination>, etkinliğin hedefini tanımlar (isteğe bağlı).

<eventExpression>, diğer etkinlik parametreleri için bir Boole ifadesidir. Bu ifade, bir etkinlikle gönderilen yük veya etkinlik parametrelerine karşı değerlendirilir (isteğe bağlı). Örneğin:

Event.eventid==1234.

<enablePatternMatch>, etkinlik adı, tipi, kaynağı ve hedefi gibi parametreler için desen eşleştirmeyi etkinleştirir.

<allowPartialMatch>, etkinlik adı, tipi, kaynağı ve hedefi gibi parametreler için kısmi eşleştirmeye izin verir.

<uniqueId>, SOAP isteğiyle birlikte benzersiz bir Kimlik göndererek SOAP çağrısının etkinliği yalnızca bir kez kullanmasını sağlar. Gönderme etkinliğinin birden çok aboneye teslim için bir seçeneği varsa, aynı <uniqueId> etiketine sahip birden çok getMatchingEvents çağrısı etkinliği yalnızca bir kez bitirir.

<consumeEvents>, isteğin eşleşen etkinlikleri bitirmesini veya bitirmemesini sağlar.

<retrieveAllMatchingEvents>, isteğin eşleşen tüm/ilk gönderme etkinliğini almasını sağlar.

SOAP Yanıtı

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP-ENV:Header/>
<SOAP-ENV:Body>
<getMatchingEventsResponse xmlns="http://www.ca.com/itpam">
<events>
<event>
<eventId>fefce4c1-ad8e-42a2-8964-362704ddbb24</eventId>
<eventName>abc</eventName>
<eventType>eventType__</eventType>
<eventSource>eventSource__</eventSource>
<eventDestination>eventDestination__</eventDestination>
<payload>payload__</payload>
<toSingleSubscriber>false</toSingleSubscriber>
<eventCreationTime>2012-03-06T17:04:32.562+05:30</eventCreationTime>
<eventExpirationTime>2012-03-06T17:06:42.562+05:30</eventExpirationTime>
<user>pamadmin</user>
</event>
</events>
</getMatchingEventsResponse>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>