• Not Answered

REST API - Rating a forum post


I want to rate a forum post via the REST API. Ideally I would like to supply the content url as the paramter to api.ashx/v2/ratings.xml end point. I have tried a few variations of the url without success could someone point me in the direction of a code example?



1 Reply

  • ContentUrl is for use when rating content external to Telligent.  To rate a forum post, you need to submit the ContentId & ContentTypeId for the forum post you're rating instead of ContentUrl.

    If you do a fiddler trace whilst rating a forum post in your community, you'll see a rest call to ratings.xml which will show you exactly what to submit.