POST api/DMS/SaveTopic
Request Information
URI Parameters
None.
Body Parameters
Topic| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TopicName | string |
None. |
|
| Content | string |
None. |
|
| SectionId | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"Id": 1,
"TopicName": "sample string 2",
"Content": "sample string 3",
"SectionId": 4
}
application/xml, text/xml
Sample:
<Topic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBS.DO.Models"> <Content>sample string 3</Content> <Id>1</Id> <SectionId>4</SectionId> <TopicName>sample string 2</TopicName> </Topic>
multipart/form-data
Sample:
<Topic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBS.DO.Models"><Content>sample string 3</Content><Id>1</Id><SectionId>4</SectionId><TopicName>sample string 2</TopicName></Topic>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
booleanResponse Formats
application/json, text/json
Sample:
true
application/xml, text/xml, multipart/form-data
Sample:
<boolean xmlns="http://schemas.microsoft.com/2003/10/Serialization/">true</boolean>