SubmitComplaint
Submits a complaint.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| JsonStr |
string |
Yes |
A JSON string that contains the complaint details. For more information, see the following table. |
{"taskId":"ADCA1DE6-8117-472A-B3A1-352A248F90D0","fileId":"653e563d-774f-4f01-a809-cb8bb920c3e6","rid":1346,"comments":"请重新判定"} |
| BaseMeAgentId |
integer |
No |
The business space ID. |
123456 |
JsonStr parameter
| Property | Type | Required | Description |
| taskId | String | Yes | The task ID. |
| fileId | String | Yes | The file ID. This ID is equivalent to the Tid or CallId in the data upload API. If you do not specify this parameter, the system automatically generates a file ID. You can call the GetResult or GetResultToReview operation to obtain the generated ID. |
| rid | Long | No | The rule ID. Do not specify this parameter if the complaint is for a manually scored item. |
| comments | String | Yes | The complaint reason. |
| withdraw | Boolean | No | Specifies whether to withdraw the complaint. Default value: false. |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Code |
string |
The result code. A value of 200 indicates success. Other values indicate failure. |
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 current quality check score. |
90 |
| RequestId |
string |
The request ID. |
82C91484-B2D5-4D2A-A21F-A6D73F4D55C6 |
| Success |
boolean |
Indicates whether the request was successful. A value of |
true |
Examples
Success response
JSON format
{
"Code": "200",
"Message": "successful",
"Data": "90",
"RequestId": "82C91484-B2D5-4D2A-A21F-A6D73F4D55C6",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.