POST v1/Article/{articleKey}/ObjectReview/{objectReviewKey}
Update a ObjectReview.
Roles Allowed
admin, editor
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
articleKey | integer |
Required |
|
objectReviewKey | integer |
Required |
Body Parameters
The new ObjectReview name to save
ObjectReviewCreateName | Description | Type | Additional information |
---|---|---|---|
ArticleKey |
The Article for the ObjectReview |
integer |
None. |
PageKey |
The identifier for the page that the ObjectReview is on |
integer |
None. |
Industry | string |
None. |
|
Object | string |
None. |
|
ObjectPrice | string |
None. |
|
ObjectPage | string |
None. |
|
ObjectDescription | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "ArticleKey": 1, "PageKey": 2, "Industry": "sample string 3", "Object": "sample string 4", "ObjectPrice": "sample string 5", "ObjectPage": "sample string 6", "ObjectDescription": "sample string 7" }
application/xml, text/xml
Sample:
<ObjectReviewCreate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <Industry>sample string 3</Industry> <Object>sample string 4</Object> <ObjectDescription>sample string 7</ObjectDescription> <ObjectPage>sample string 6</ObjectPage> <ObjectPrice>sample string 5</ObjectPrice> <ArticleKey>1</ArticleKey> <PageKey>2</PageKey> </ObjectReviewCreate>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HTTP 200 with Updated Object Review, HTTP 404 if not found, HTTP 409 if validation fails
ObjectReviewName | Description | Type | Additional information |
---|---|---|---|
ReviewKey |
Unique identifier for an ObjectReview |
integer |
None. |
Page |
The page that the ObjectReview is on |
IssuePage |
None. |
Industry | string |
None. |
|
Object | string |
None. |
|
ObjectPrice | string |
None. |
|
ObjectPage | string |
None. |
|
ObjectDescription | string |
None. |
Response Formats
application/json, text/json
Sample:
{ "ReviewKey": 1, "Page": { "PageKey": 1, "Sequence": 2, "Spread": 3, "ImageFile": "sample string 4", "PageName": "sample string 5", "Width": 6, "Height": 1 }, "Industry": "sample string 2", "Object": "sample string 3", "ObjectPrice": "sample string 4", "ObjectPage": "sample string 5", "ObjectDescription": "sample string 6" }
application/xml, text/xml
Sample:
<ObjectReview xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Bondi.Models.V3.ApiDto"> <Industry>sample string 2</Industry> <Object>sample string 3</Object> <ObjectDescription>sample string 6</ObjectDescription> <ObjectPage>sample string 5</ObjectPage> <ObjectPrice>sample string 4</ObjectPrice> <Page> <Height>1</Height> <ImageFile>sample string 4</ImageFile> <PageKey>1</PageKey> <PageName>sample string 5</PageName> <Sequence>2</Sequence> <Spread>3</Spread> <Width>6</Width> </Page> <ReviewKey>1</ReviewKey> </ObjectReview>