Forum Discussion
PaoloT
12 years agoLithium Alumni (Retired)
Hi
you can modify your call
http://community.ebay.com/restapi/vc/search/messages?q=feedback+threat&restapi.response_style=view&restapi.format_detail=full_list_element
to use solution:true in the q parameter in the following way
http://community.ebay.com/restapi/vc/search/messages?q=feedback+threat+AND+solution:true&restapi.response_style=view&restapi.format_detail=full_list_element
to retrieve the solutions. You could then look up at the thread element in the solution to find out which was the original question (i.e. the topic message).
Hope this helps,
dhpawar
12 years agoHelper
Using below URL I am getting the accepted answer http://community.ebay.com/restapi/vc/search/messages?q=feedback+threat+AND+solution:true&restapi.response_style=view&restapi.format_detail=full_list_element&page_size=5&sloved=true but our requirment is differnent above Url return 5 threads that out of five thread has only three threads has accepted answer so only we want to reterive 3 threads. can we achive this one ?
- PaoloT12 years agoLithium Alumni (Retired)
Hi,
I doubt you can achieve that with a single rest call, but you could surely wire up that logic in a studio endpoint so that your endpoint returns exactly the result you need as per your requirements and nothing more.
Thanks,
Related Content
- 3 years ago
- 3 years ago
- 3 years ago