Forum Discussion
Hi
Using the solution=true, message contain body string not display
I am looking for accepted answer for the question.
I will explain in details -
1) Searching the question as a string parameter "feedback threat"
2) Using this string parameter, building the REST Call
In this rest call should contain some question and answer as well as accepted answer. but i am not able to see accepted answer
Can you please look into this?
Regards,
Dharmendra
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,
- dhpawar12 years agoHelper
I want within single call original question as well as accepted answer.is it possible?
- PaoloT12 years agoLithium Alumni (Retired)
Hi,
I am not aware of a way to guarantee having both in the same, single call. Maybe you can work with Studio Endpoints to condense multiple REST calls into a single one.
Thanks,
Paolo
- dhpawar12 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