GET api/DMS/GetTopic?topicId={topicId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| topicId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Topic| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| TopicName | string |
None. |
|
| Content | string |
None. |
|
| SectionId | integer |
None. |
Response 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>