This action may lead to changes in the database

Do you want to continue?

Data Explorer

AnswerHubPostAnswer

Request Information

Post an answer to a question in the BHI AnswerHub site.


Parameters:
  • Authorization
  • QuestionId

Body Parameters

AnswerHubPostAnswer
Name Description Type Additional information
Id

Answer Id (Ignored if is null)

integer

None.

ActionQuery

Action used by Answer Hub (Ignored if is null)answer: AnswerActionQuery
article: ArticleActionQuery
kbentry: KbEntryActionQuery
award: AwardActionQuery
comment: CommentActionQuery
idea: IdeaActionQuery
node: NodeActionQuery
question: QuestionActionQuery
space: SpaceActionQuery
topic: TopicActionQuery
user: UserActionQuery

string

None.

CreationDate

Date Created (Ignored if is null)

string

None.

Name

Answer body

string

None.

Type

Answer Type, used by Answer Hub(Ignored if is null)answer: AnswerActionQuery
article: ArticleActionQuery
kbentry: KbEntryActionQuery
award: AwardActionQuery
comment: CommentActionQuery
idea: IdeaActionQuery
node: NodeActionQuery
question: QuestionActionQuery
space: SpaceActionQuery
topic: TopicActionQuery
user: UserActionQuery

string

None.

Attachments

Attach parameters (FileName, MimeType, Content)

List of AnswerHubPostAttachment

None.

Response

× The request was made Successfully! Check the result!.
× Error Something happen, the Api doesn't have a response.
{ "Time": "sample string 1", "Error": { "ClassName": "System.Exception", "Message": null, "Data": null, "InnerException": null, "HelpURL": "sample string 1", "StackTraceString": null, "RemoteStackTraceString": null, "RemoteStackIndex": 0, "ExceptionMethod": null, "HResult": 3, "Source": "sample string 2", "WatsonBuckets": null }, "ErrorMessage": "sample string 2", "Status": "sample string 3", "Server": "sample string 4", "Result": true }
<Root> <Time>sample string 1</Time> <Error> <ClassName>System.Exception</ClassName> <Message /> <Data /> <InnerException /> <HelpURL>sample string 1</HelpURL> <StackTraceString /> <RemoteStackTraceString /> <RemoteStackIndex>0</RemoteStackIndex> <ExceptionMethod /> <HResult>3</HResult> <Source>sample string 2</Source> <WatsonBuckets /> </Error> <ErrorMessage>sample string 2</ErrorMessage> <Status>sample string 3</Status> <Server>sample string 4</Server> <Result>true</Result> </Root>
Download File

Code Generator

Response Information

AnswerHubResultModelOfBoolean
Name Description Type Additional information
Time

string

None.

Error

Exception

None.

ErrorMessage

string

None.

Status

string

None.

Server

string

None.

Result

boolean

None.

VerboseLogger

List of IVerboseLogger

None.