Handles a complaint.
Operation description
Only quality checkers or administrators can call this operation.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
A JSON string that contains the request parameters. For details, see the following section. |
{"taskId":"任务ID"} |
| BaseMeAgentId |
integer |
No |
The ID of the business space. |
123456 |
JSON string parameters
| Parameter | Type | Required | Description |
| taskId | String | Yes | The task ID. |
| fileId | String | Yes | The file ID. |
| rid | Long | No | The rule ID. Leave this parameter empty if the complaint is for a manual scoring item. |
| comments | String | Yes | The reason for the complaint. |
| accept | Boolean | No | Indicates whether to accept the complaint. Valid values: true and false. The default is true. |
| finalJudge | Boolean | No | Indicates whether this is a final review. A final review prevents any further complaints. Valid values: true and false. The default is false. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The result code. A value of 200 indicates that the request was successful. Other values indicate that the request failed. You can use this code to identify the cause of the error. |
200 |
| Message |
string |
The response message. If the request is successful, successful is returned. If the request fails, an error message is returned. |
successful |
| Data |
string |
The response data. |
无 |
| RequestId |
string |
The request ID. |
9987D326-83D9-4A42-B9A5-0B27F9B40539 |
| Success |
boolean |
Indicates whether the request succeeded. A value of true indicates success, and false or null indicates failure. |
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"Data": "无",
"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.