GET v1/Section
Get a list of all Sections. These are used for assigning multiple sections to an Article via Sections.
Roles Allowed
admin, editor
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of SectionName | Description | Type | Additional information |
---|---|---|---|
SectionId |
Unique identifier for a Section |
integer |
None. |
SectionName |
Name of the Name |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "SectionId": 1, "SectionName": "sample string 2" }, { "SectionId": 1, "SectionName": "sample string 2" } ]
application/xml, text/xml
Sample:
<ArrayOfSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <Section> <SectionId>1</SectionId> <SectionName>sample string 2</SectionName> </Section> <Section> <SectionId>1</SectionId> <SectionName>sample string 2</SectionName> </Section> </ArrayOfSection>