POST api/v1/topicv1/CreateTopic
Request Information
URI Parameters
None.
Body Parameters
CreateTopicParam| Name | Description | Type | Additional information |
|---|---|---|---|
| CategoryId | integer |
None. |
|
| Title | string |
None. |
|
| DescriptionRules | string |
None. |
|
| TopicImg | string |
None. |
|
| ParticipationEndTimestamp | integer |
None. |
|
| TopicJudgeTimestamp | integer |
None. |
|
| TopicLanguage | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CategoryId": 1,
"Title": "sample string 2",
"DescriptionRules": "sample string 3",
"TopicImg": "sample string 4",
"ParticipationEndTimestamp": 5,
"TopicJudgeTimestamp": 6,
"TopicLanguage": "sample string 7"
}
application/xml, text/xml
Sample:
<CreateTopicParam xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/DDO.AppApi.Models.v1.Params.Odd"> <CategoryId>1</CategoryId> <DescriptionRules>sample string 3</DescriptionRules> <ParticipationEndTimestamp>5</ParticipationEndTimestamp> <Title>sample string 2</Title> <TopicImg>sample string 4</TopicImg> <TopicJudgeTimestamp>6</TopicJudgeTimestamp> <TopicLanguage>sample string 7</TopicLanguage> </CreateTopicParam>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.