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