GET api/DMS/GetTopics?sectionId={sectionId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| sectionId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of 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
},
{
"Id": 1,
"TopicName": "sample string 2",
"Content": "sample string 3",
"SectionId": 4
}
]
application/xml, text/xml
Sample:
<ArrayOfTopic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBS.DO.Models">
<Topic>
<Content>sample string 3</Content>
<Id>1</Id>
<SectionId>4</SectionId>
<TopicName>sample string 2</TopicName>
</Topic>
<Topic>
<Content>sample string 3</Content>
<Id>1</Id>
<SectionId>4</SectionId>
<TopicName>sample string 2</TopicName>
</Topic>
</ArrayOfTopic>
multipart/form-data
Sample:
<ArrayOfTopic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/IMBS.DO.Models"><Topic><Content>sample string 3</Content><Id>1</Id><SectionId>4</SectionId><TopicName>sample string 2</TopicName></Topic><Topic><Content>sample string 3</Content><Id>1</Id><SectionId>4</SectionId><TopicName>sample string 2</TopicName></Topic></ArrayOfTopic>