SubmitReviewInfo
Saves review results. This operation is supported only for legacy intelligent dialogue analysis.
Operation description
Manually reviews files that have completed quality inspection. After the review is complete, call this operation to save the review results. This allows you to manually verify whether the rules identified as hits by the system are actual hits or false positives. You can refer to the file review feature in the console. For more information, see File review.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
sca:SubmitReviewInfo |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
The complete JSON string. For more information, see the following details. |
{ "taskId": "Task ID", "vid": "File ID" } |
| BaseMeAgentId |
integer |
No |
The workspace ID. |
12345 |
JSON string of request parameters
| Property | Value type | Required | Description |
| taskId | String | Yes | The task ID. |
| vid | String | Yes | The file ID. The value is a string, which is the vid in GetResultToReview. |
| comments | String | No | The review comments. |
| handScoreIdList | List | No | The IDs of the sub-scoring items to which manual scoring is added. Example: [1345, 1422]. |
| jsonReviewResult | String | No | The review results for specific rules. The value is a JSON string. The structure is as follows. |
Structure of the jsonReviewResult request parameter
| Property | Value type | Required | Description |
| reviewInfoList | List | Yes | The review structure information. |
| complainInfoList | List | No | The appeal handling structure information. |
Structure of the ReviewInfo request parameter
| Property | Value type | Required | Description |
| rid | Long | Yes | The rule ID. |
| hitId | String | Yes | The hit ID. You can query it in GetResultToReview. |
| reviewResult | Integer | Yes | Indicates whether the rule is actually hit. Valid values: 0: No. 1: Yes. |
| changed | Boolean | No | Indicates whether the rule is modified in this operation. Default value: false. |
Structure of the ComplainParam request parameter
| Property | Value type | Required | Description |
| rid | Long | No | The rule ID. Leave this field empty if the appeal is for a manual scoring item. |
| scoreId | Long | No | The scoring item ID. Leave this field empty if the appeal is for a scoring item associated with a rule. |
| comments | String | Yes | The reason. |
| accept | Boolean | No | Indicates whether the appeal is accepted. Valid values: true: Yes. false: No. Default value: true. |
| finalJudge | Boolean | No | Indicates whether this is the final judgment. After the final judgment, no further appeals can be made. Valid values: true: Yes. false: No. Default value: false. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The result code. A value of 200 indicates success. Note
If the value is not 200, the request failed. You can use this field to determine the cause of the failure. |
200 |
| Message |
string |
The error details when an error occurs. The value is successful when the request is successful. |
successful |
| Data |
string |
The quality inspection score after the review. This field is returned when the review results are saved. |
95 |
| RequestId |
string |
The request ID. |
9987D326-83D9-4A42-B9A5-0B27F9B40539 |
| Success |
boolean |
Indicates whether the request is successful. You can use this field to determine whether the request is successful:
|
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"Data": "95",
"RequestId": "9987D326-83D9-4A42-B9A5-0B27F9B40539",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.