Update Review Items
Update the state of review items in an active review.
POST https://instance.securid.com/aveksa/command.submit?cmd=updateReviewItems
Only user reviews in Active state are supported. Account and role reviews return 412 This webservice can only be used to update items in user reviews. Only items assigned to the authenticated user can be updated. Sending via GET returns 405.
When the request body contains zero matching ReviewItemChange elements, the server returns 412 even though the response body reports Status=Success. Updated all 0 review components. Check the HTTP status code, not the body, to detect errors.
Request
Parameters
| updateReviewItems | |
| format | properties - (Default) Returns the response as key=value pairs. When multiple objects are returned, values are comma-delimited: key=value1,value2,value3.json - Returns the response as JSON. |
Headers
Bearer token | |
| application/xml |
Body
<Review>
<ReviewResultName>value</ReviewResultName>
<SignOff>false</SignOff>
<UpdateCommentsOnly>false</UpdateCommentsOnly>
<ReviewItemChange state="revoke" comments="value">
<RevieweeUserId>value</RevieweeUserId>
<Entitlement resource="value" action="value" business-source="value"/>
</ReviewItemChange>
<ReviewItemChange state="maintain" comments="value" expires-on="DD-MMM-YYYY">
<RevieweeUserId>value</RevieweeUserId>
<ApplicationRole name="value" business-source="value"/>
</ReviewItemChange>
<ReviewItemChange state="none" comments="value">
<RevieweeUserId>value</RevieweeUserId>
<RevieweeAccount name="value" business-source="value"/>
<Group name="value" business-source="value"/>
</ReviewItemChange>
<ReviewItemChange state="custom" comments="value">
<RevieweeUserId>value</RevieweeUserId>
<GlobalRole name="value" role-set="value"/>
</ReviewItemChange>
</Review>
The name of the review instance (for example, UAR-6). | |
SignOff | Sign off the review after updating. (Default) false |
UpdateCommentsOnly | When true, update only the comment on each item and ignore the state attribute. (Default) false |
ReviewItemChange | One element per review item to update. Attributes:state (required): maintain revoke none custom (custom only if the review supports custom states)comments: comment text to attach to the itemexpires-on: expiration date in DD-MMM-YYYY format, valid when state=maintain and the review allows expiry |
RevieweeUserId | The user ID of the user being reviewed. Must be a child of each ReviewItemChange. |
Entitlement | Identifies an entitlement review item. Attributes:resource: resource name of the entitlementaction: action name of the entitlementbusiness-source: raw application name the entitlement belongs to |
ApplicationRole | Identifies an application role review item. Attributes:name: raw name of the application rolebusiness-source: raw application name the role belongs to |
RevieweeAccount | Identifies a reviewee account. Attributes:name: account name being reviewedbusiness-source: raw application name the account belongs to |
Group | Identifies a group review item. Attributes:name: group namebusiness-source: raw application name the group belongs to |
GlobalRole | Identifies a global role review item. Attributes:name: raw name of the global rolerole-set: raw name of the role set the global role belongs to |
Response
200 responses respect the format parameter. Error responses (4xx) are always returned as HTML regardless of the format parameter.
The response body reports an overall status and, for multi-item requests, a per-item status line for each ReviewItemChange element.