PUT v1/Article/{articleKey}/Contributor/{contributorKey}
Update a Contributor.
Roles Allowed
admin, editor
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
articleKey | integer |
Required |
|
contributorKey | integer |
Required |
Body Parameters
The new Contributor name to save
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 200 with Updated Contributor if found, HTTP 404 otherwise, HTTP 409 if validation fails
ArticleContributorName | Description | Type | Additional information |
---|---|---|---|
ArticleContributorKey |
Unique identifier for a Contributor |
integer |
None. |
Contributor |
Name of the Contributor |
string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ArticleContributorKey": 1, "Contributor": "sample string 2" }
application/xml, text/xml
Sample:
<ArticleContributor xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <Contributor>sample string 2</Contributor> <ArticleContributorKey>1</ArticleContributorKey> </ArticleContributor>