Get answers to thread

Get answers to thread

This question is answered

Hi there,

Using the REST API, is there a way to retrieve only those replies that are answers to a thread or to sort replies such that answers appear at the beginning of the list?

We're on version 7.

Thanks,

Michael

Verified Answer
  • It looks like we added support for that when listing forum replies via our in-process API and our Widget API but not yet for REST. When listing replies you can set ForumReplyQueryType = "verified-answers" to only get verified answers or to "non-verified-answers" to only get suggested answers. There is no option to sort them that way though. I will add a bug so that we add the same functionality to the list replies endpoint in our REST API.  

All Replies
  • It looks like we added support for that when listing forum replies via our in-process API and our Widget API but not yet for REST. When listing replies you can set ForumReplyQueryType = "verified-answers" to only get verified answers or to "non-verified-answers" to only get suggested answers. There is no option to sort them that way though. I will add a bug so that we add the same functionality to the list replies endpoint in our REST API.  

  • Hi Dan,

    Can you provide me with a working example? We are trying to list the anwers to a thread, but with no luck. When making a call to: /api.ashx/v2/forums/threads/4/replies.json?ForumReplyQueryType=verified-answers we still receive all replies in stead of just the ones marked as answer.

    I hope you can help me further.