POST api/Forum/AddTopic
Request Information
URI Parameters
None.
Body Parameters
addTopic| Name | Description | Type | Additional information |
|---|---|---|---|
| userId | string |
None. |
|
| threadId | integer |
None. |
|
| topicId | integer |
None. |
|
| topicName | string |
None. |
|
| topicDesc | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"userId": "sample string 1",
"threadId": 2,
"topicId": 3,
"topicName": "sample string 4",
"topicDesc": "sample string 5"
}
application/xml, text/xml
Sample:
<addTopic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/EVERMVCAPIs.Models"> <threadId>2</threadId> <topicDesc>sample string 5</topicDesc> <topicId>3</topicId> <topicName>sample string 4</topicName> <userId>sample string 1</userId> </addTopic>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
HttpResponseMessage| Name | 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. |