3.1.4.19 GetBestBetsCount

This operation is used by the protocol client to retrieve information from the protocol server about the count of best bets for a given keyword consumer.

 <wsdl:operation name="GetBestBetsCount">
   <wsdl:input wsam:Action="http://tempuri.org/ISearchSiteAdministrationServiceApplication/GetBestBetsCount" message="tns:ISearchSiteAdministrationServiceApplication_GetBestBetsCount_InputMessage"/>
   <wsdl:output wsam:Action="http://tempuri.org/ISearchSiteAdministrationServiceApplication/GetBestBetsCountResponse" message="tns:ISearchSiteAdministrationServiceApplication_GetBestBetsCount_OutputMessage"/>
 </wsdl:operation>

The protocol client sends an ISearchSiteAdministrationServiceApplication_GetBestBetsCount_InputMessage request message and the protocol server responds with an ISearchSiteAdministrationServiceApplication_GetBestBetsCount_OutputMessage response message, as follows:

  • The protocol client MUST specify the unique identifier of the keyword consumer, best bet filter, and the value for the best bet filter, for which the count of best bets MUST be returned.

  • On success, the protocol server MUST return the count of best bets for the given keyword consumer whose unique identifier is equal to consumerGpId in the input message. The count is computed by applying the best bet filter, and the value for the best bet filter in the input message.

  • If the input value is null or the input filter is equal to BestBetFilter.None, the protocol server MUST ignore the filter on computing the count for best bets. Otherwise, the protocol server MUST apply filter and value on computing the count for best bets. The matching rules are specified in section 3.1.4.19.2.1.

  • On error, the protocol server MUST return a FaultException<ExceptionDetail> error message.