Forum Discussion
OlivierS
11 years agoLithium Alumni (Retired)
big but it's documented elsewhere ;)
qanda.is_answer (optional) | boolean | If this post is a reply to a Q&A topic message, set this parameter to true to specify that this post is an answer. Note that this parameter can only be used when creating a message. |
schwamster
11 years agoHelper
Alright, got it confirmed from the lithium team. The property you refer to is only used when posting and cannot be retrieved when u query an existing message. So your tip sadyl doesnt do the trick. Thanks anyways
- eddielo10 years agoKhoros Alumni (Retired)
Please try metadata "qanda.answer" as the following and see whether it satisfy your need...
The message which is an answer will return value true while comment will return value null.
Please give me a kudo if it works.:smileyhappy:
http://<your host>/restapi/vc/messages/id/<uid>/metadata/key/qanda.answer
<response status="success"> <value type="attribute">true</value> </response>
http://<your host>/restapi/vc/messages/id/<uid>/metadata/key/qanda.answer
<response status="success"> <value type="attribute" null="true"/> </response>