3.1.4.21 GetRatingAverageOnUrl

The GetRatingAverageOnUrl operation retrieves the average social rating for the item at a specified URI.

The following is the WSDL port type specification of the GetRatingAverageOnUrl WSDL operation.

 <wsdl:operation name="GetRatingAverageOnUrl" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/">
   <wsdl:input message="tns:GetRatingAverageOnUrlSoapIn"/>
   <wsdl:output message="tns:GetRatingAverageOnUrlSoapOut"/>
 </wsdl:operation>

The protocol client sends a GetRatingAverageOnUrlSoapIn request message (section 3.1.4.21.1.1) and the protocol server responds with a GetRatingAverageOnUrlSoapOut response message (section 3.1.4.21.1.2).

If the current user does not have permissions to view the social ratings on the specified url, the protocol server MUST send a SOAP fault message.