POST v1_0/api/Answer/PostReply

Request Information

URI Parameters

None.

Body Parameters

ReplyInput
NameDescriptionTypeAdditional information
ThreadParentID

integer

None.

InsertedThreadId

integer

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:
{
  "ThreadParentID": 1,
  "InsertedThreadId": 2,
  "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:
<ReplyInput 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>
  <InsertedThreadId>2</InsertedThreadId>
  <ThreadParentID>1</ThreadParentID>
</ReplyInput>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

Version

None.

Content

HttpContent

None.

StatusCode

HttpStatusCode

None.

ReasonPhrase

string

None.

Headers

Collection of Object

None.

RequestMessage

HttpRequestMessage

None.

IsSuccessStatusCode

boolean

None.