Question and Answers Capability Input

Create or edit a question feed element or set the best answer of the existing question feed element.
Root XML tag
<questionAndAnswersCapability>
   <bestAnswerId>0D7D00000000lMAKAY</bestAnswerId>
</questionAndAnswersCapability>
JSON example
{
   "bestAnswerId": "0D7D00000000lMAKAY"
}
Properties
Name Type Description Required or Optional Available Version
bestAnswerId String A comment ID to use as a best answer for a question feed element. The best answer comment must already exist on the question feed element. Required to PATCH the best answer.

Not supported in POST requests.

32.0
questionTitle String Title for a question feed element.

To edit the title of a question, make a PATCH request to /chatter/feed-elements​/feedElementId. Editing question titles is supported in version 34.0 and later.

Required to POST or PATCH a question. 32.0