POST api/Gallery/BulkSetApprovalStatus?galleryKey={galleryKey}&contentManagerToken={contentManagerToken}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| galleryKey | globally unique identifier |
Required |
|
| contentManagerToken | string |
Required |
Body Parameters
PictureBulkApprovalRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| ApprovalStatus | string |
None. |
|
| ApprovalComments | string |
None. |
|
| PictureIds | Collection of integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"ApprovalStatus": "sample string 1",
"ApprovalComments": "sample string 2",
"PictureIds": [
1,
2
]
}
application/xml, text/xml
Sample:
<PictureBulkApprovalRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Fieldology.Pictures.Core.Picture">
<ApprovalComments>sample string 2</ApprovalComments>
<ApprovalStatus>sample string 1</ApprovalStatus>
<PictureIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>1</d2p1:int>
<d2p1:int>2</d2p1:int>
</PictureIds>
</PictureBulkApprovalRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessage| Name | Description | Type | Additional information |
|---|---|---|---|
| Version | Version |
None. |
|
| Content | HttpContent |
None. |
|
| StatusCode | HttpStatusCode |
None. |
|
| ReasonPhrase | string |
None. |
|
| Headers | Collection of Object |
None. |
|
| RequestMessage | HttpRequestMessage |
None. |
|
| IsSuccessStatusCode | boolean |
None. |