Forum Discussion
big
11 years agoAdept
I did not try it. I did however check the documentation and IMHO there is no significant chane/new property that whould help with that... Do you?
Sign in to react to this post
OlivierS
11 years agoLithium Alumni (Retired)
It looks like when it's an answer, it has the is_answer flag set to true:
And nothing when it's a comment:
Sign in to react to this post
- big11 years agoAdeptThis looks promising. So this the response from a v2 call for a query like: select * from message where ....? Sadly the is_answer property is not documented under : https://community.lithium.com/t5/Community-API-v2/Message-resource/ta-p/113091
Thanks for your help. will have to try that.Sign in to react to this post- OlivierS11 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. Sign in to react to this post- big11 years agoAdeptthanks! so you are actually referring to api v1 here. I know about this property as well and we are using it when we reply to a question to make it an answer and not a comment. However the issue in my case is not when we post but when we retrieve the information. And i simply do not get that property (qanda.is_answer) in the response when i query the api for that message as you can see in my example response in the initial thread i created.
Strange that i dont get that property. How does a example request u make look like?
Thanks for your helpSign in to react to this post