PUT v1/Article/{articleKey}/Section/{sectionKey}
Update a section.
Roles Allowed
admin, editor
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
articleKey |
Identifies the article the section applies to |
integer |
Required |
sectionKey |
Identifies the section to update |
integer |
Required |
Body Parameters
ArticleSectionUpdateName | Description | Type | Additional information |
---|---|---|---|
SectionId |
The ID of the Section |
integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "SectionId": 1 }
application/xml, text/xml
Sample:
<ArticleSectionUpdate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <SectionId>1</SectionId> </ArticleSectionUpdate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HTTP 200 with Updated Section if found, HTTP 404 otherwise, 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>