POST api/Community/AddCommunityTopics
Request Information
URI Parameters
None.
Body Parameters
CommunityTopicMasterViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| topicmasterid | integer |
None. |
|
| topicname | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"topicmasterid": 1,
"topicname": "sample string 2"
}
application/xml, text/xml
Sample:
<CommunityTopicMasterViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfhatch.Models"> <topicmasterid>1</topicmasterid> <topicname>sample string 2</topicname> </CommunityTopicMasterViewModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResultViewModel| Name | Description | Type | Additional information |
|---|---|---|---|
| status | boolean |
None. |
|
| message | string |
None. |
|
| data | Object |
None. |
|
| errorCode | integer |
None. |
Response Formats
application/json, text/json
Sample:
{
"status": true,
"message": "sample string 2",
"data": {},
"errorCode": 4
}
application/xml, text/xml
Sample:
<HttpResultViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/selfhatch.Models"> <data /> <errorCode>4</errorCode> <message>sample string 2</message> <status>true</status> </HttpResultViewModel>