Afin d’effectuer une recherche parmi tous les enregistrements selon des critères de recherche, le schéma suivant doit être utilisé :
<?xml version= 1.0 encoding= utf-8 ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Body>
<cApiPlaybackSearch>
<CieID></CieID>
<ApiID></ApiID>
<Title ></ Title >
<DateFrom> </DateFrom >
<DateTo ></ DateTo >
</cApiPlaybackSearch>
</soap:Body>
</soap:Envelope>
Le schéma retourné sera le suivant. Il y aura autant de nœuds PlaybackMatch qu’il y a de résultats et le nœud nbrResults contiendra le nombre de résultats.
<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<cApiPlaybackSearch>
<Result>
<ResultState></ResultState>
<ResultDetail ></ResultDetail >
</Result>
<CieID></CieID>
<ApiID></ApiID>
<Title ></ Title >
<DateFrom> </DateFrom >
<DateTo ></ DateTo >
<nbrResults></nbrResults>
<PlaybackSearch>
<PlaybackMatch PlaybackID=”” ActivityID="" Title="" CreationDate=”” Hyperlink=””/>
<PlaybackMatch PlaybackID=”” ActivityID="" Titile="" CreationDate=”” Hyperlink=””/>
</PlaybackSearch >
</cApiPlaybackSearch>
</soap:Body>
</soap:Envelope>
La méthode PlaybackSearch du service web comprend des valeurs communes déjà expliquées dans la méthode ListPlayback. Il doit y avoir au moins un critère de recherche. Le nombre maximum de ligne retourné par la recherche est de 100. Si le maximum de ligne a été atteint, le message suivant sera affiché dans le « ResultDetail » : « Plus de 100 résultats ont été trouvés. Seulement 100 résultats seront affichés. »