You are here: Ektron Namespace > Web Services API > Ektron.Services Namespace > Classes > ContentRating Class > ContentRating Methods > GetContentRatingResults
Ektron CMS400.NET API Documentation
ContentsIndexHome
PreviousUpNext
ContentRating.GetContentRatingResults Method

Returns a weakly typed dataset (Username - String, RatingDate - DateTime, Rating - int, Comments - String) representing ratings on particular content from the range of StartDate to EndDate. In order to get the full range of ratings, pass DateTime.Min and DateTime.Max as arguments. 

This method can be accessed through the ContentRating.asmx file located in:

~/Workarea/webservices/WebServiceAPI/Content/ContentRating.asmx
C#
[SoapHeader("AuthHeader")]
[SoapHeader("RequestInfoHeader")]
[WebMethod(MessageName = "GetContentRatingResults", Description = "")]
public System.Data.DataSet GetContentRatingResults(long contentID, DateTime startDate, DateTime endDate);
Visual Basic
<SoapHeader("AuthHeader")>
<SoapHeader("RequestInfoHeader")>
<WebMethod(MessageName = "GetContentRatingResults", Description = "")>
Public Function GetContentRatingResults(contentID As long, startDate As DateTime, endDate As DateTime) As System.Data.DataSet
Parameters 
Description 
contentID 
The numeric ID associated with the content block whose ratings are being queried. 
startDate 
The start date of a range of dates to query over. 
endDate 
The end date of a range of dates to query over. 

(Username - String, RatingDate - DateTime, Rating - int, Comments - String)

Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at [email protected].
Copyright (c) 2008. All rights reserved.
What do you think about this topic? Send feedback!