POST v1/Article/{articleKey}/Section
Create a Section for an article.
Roles Allowed
admin, editor
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
articleKey |
Identifies the article the section applies to |
integer |
Required |
Body Parameters
The ID of the section to create
integerRequest Formats
application/json, text/json
Sample:
1
application/xml, text/xml
Sample:
<int xmlns="http://schemas.microsoft.com/2003/10/Serialization/">1</int>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HTTP 201 with the created section, HTTP 404 if article not found, HTTP 409 if validation fails
ArticleSectionName | Description | Type | Additional information |
---|---|---|---|
ArticleSectionKey |
Unique identifier for a Section |
integer |
None. |
SectionId |
The ID of the Section |
integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "ArticleSectionKey": 1, "SectionId": 2 }
application/xml, text/xml
Sample:
<ArticleSection xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <SectionId>2</SectionId> <ArticleSectionKey>1</ArticleSectionKey> </ArticleSection>