Ektron CMS400.NET API Documentation
|
Adds a content rating to the database. Internally a check is done to ensure the user has not already rated the content, and passes down the rating and any comments the user supplied.
This method can be accessed through the ContentRating.asmx file located in:
~/Workarea/webservices/WebServiceAPI/Content/ContentRating.asmx
[SoapHeader("AuthHeader")] [SoapHeader("RequestInfoHeader")] [WebMethod(MessageName = "AddContentRating", Description = "")] public void AddContentRating(long contentid, long userid, int userRating, string userComments);
<SoapHeader("AuthHeader")> <SoapHeader("RequestInfoHeader")> <WebMethod(MessageName = "AddContentRating", Description = "")> Public Function AddContentRating(contentid As long, userid As long, userRating As Integer, userComments As string) As void
Parameters |
Description |
contentid |
The numeric ID associated with the content block being rated. |
userid |
The unique global identifier stored as a cookie by the user. |
userRating |
The rating the user supplies (1-9) |
userComments |
Optional comments that the user provides. |
Copyright (c) 2008. All rights reserved.
|
What do you think about this topic? Send feedback!
|