POST v1_1/api/Answer/PostQuestion
Request Information
URI Parameters
None.
Body Parameters
QuestionInputName | Description | Type | Additional information |
---|---|---|---|
ThreadID | integer |
None. |
|
ThreadIsClose | boolean |
None. |
|
PostID | integer |
None. |
|
UserLoginID | string |
None. |
|
ThreadSubject | string |
None. |
|
ThreadMessage | string |
None. |
|
SiteCategoryID | integer |
None. |
|
WelcomeStatus | integer |
None. |
|
Status | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "ThreadID": 1, "ThreadIsClose": true, "PostID": 3, "UserLoginID": "sample string 4", "ThreadSubject": "sample string 5", "ThreadMessage": "sample string 6", "SiteCategoryID": 7, "WelcomeStatus": 8, "Status": 9 }
application/xml, text/xml
Sample:
<QuestionInput xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CsharpCornerAPI.Models.v1_0"> <PostID>3</PostID> <SiteCategoryID>7</SiteCategoryID> <Status>9</Status> <ThreadMessage>sample string 6</ThreadMessage> <ThreadSubject>sample string 5</ThreadSubject> <UserLoginID>sample string 4</UserLoginID> <WelcomeStatus>8</WelcomeStatus> <ThreadID>1</ThreadID> <ThreadIsClose>true</ThreadIsClose> </QuestionInput>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |