Get Review Result
Returns the review result ID once the review generation run is complete.
GET https://instance.securid.com/aveksa/command.submit?cmd=getReviewResult
Request
Parameters
| getReviewResult | |
| 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. |
| The run ID returned by Run Review. |
Headers
Bearer token | |
| Accept | application/json |
| Content-Type | application/json |
Response
Parameters
type | Executed command name |
id | The review result ID. Pass this to Get Review Status. |
Examples
Request
- Curl
- Python
- Node.js
curl -K -X GET \
"https://instance.securid.com/aveksa/command.submit?cmd=getReviewResult&format=json&run-id=9996" \
-H "Authorization: Bearer <token>" \
-H "Content-Type: application/json"
import requests
url = "https://instance.securid.com/aveksa/command.submit"
params = {
"cmd": "getReviewResult",
"format": "json",
"run-id": "9996"
}
headers = {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
}
response = requests.get(url, params=params, headers=headers)
if response.status_code == 200:
data = response.json()
print(data)
else:
print(f"Request failed with status code {response.status_code}")
const axios = require('axios');
const url = "https://instance.securid.com/aveksa/command.submit";
const params = {
cmd: "getReviewResult",
format: "json",
"run-id": "9996"
};
const headers = {
'Authorization': 'Bearer <token>',
'Content-Type': 'application/json'
};
axios.get(url, { params, headers })
.then(response => {
if (response.status === 200) {
console.log(response.data);
} else {
console.log(`Request failed with status code ${response.status}`);
}
})
.catch(error => {
console.error('Error:', error);
});
Response
- 200
- 401 Invalid Token
- 412 Missing run-id
- 404 Run ID Not Found
{
"data": {
"type": "getReviewResult",
"id": "143"
}
}
<html>
<head>
<title>Error</title>
</head>
<body>The token is not valid for the command 'getReviewResult'. Token is invalid or expired</body>
</html>
<html>
<head>
<title>Error</title>
</head>
<body>The parameter run-id is required.
Query String=cmd=getReviewResult&format=json</body>
</html>
<html>
<head>
<title>Error</title>
</head>
<body>Could not find a generated review for run id 99999
Query String=cmd=getReviewResult&format=json&run-id=99999</body>
</html>
Verified with RSA Governance & Lifecycle version 8.0.0.188886 P10_HF01.
See Also
- Run Review: Trigger a review run and get a
run-id - Get Review Status: Check whether the run has completed