REST API - Rating a forum post

Developer Space

Developer Space
Want to extend the Telligent Evolution platform? Collaborate with other developers and product experts here.

REST API - Rating a forum post

This question is not answered

Hi,

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?

Thanks,

Ian

All Replies
  • 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.