HandleComplaint

更新时间:
复制 MD 格式

Handles a complaint.

Operation description

Only quality checkers or administrators can call this operation.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

No authorization for this operation. If you encounter issues with this operation, contact technical support.

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

ParameterTypeRequiredDescription
taskIdStringYesThe task ID.
fileIdStringYesThe file ID.
ridLongNoThe rule ID. Leave this parameter empty if the complaint is for a manual scoring item.
commentsStringYesThe reason for the complaint.
acceptBooleanNoIndicates whether to accept the complaint. Valid values: true and false. The default is true.
finalJudgeBooleanNoIndicates 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.