SubmitReviewInfoV4

Updated at:

Review quality inspection results

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

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

sca:SubmitReviewInfoV4

none

*All Resource

*

None None

Request syntax

POST  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

BaseMeAgentId

integer

No

Workspace ID

12345

JsonStr

string

No

Complete JSON string. For details, see the following sections.

{"comments":"tidComment","jsonReviewResult":"{\"reviewInfoList\":[{\"changed\":true,\"comment\":\"ridComment\",\"matched\":true,\"reviewHitResult\":0,\"reviewResult\":1,\"rid\":31459,\"sentenceReviewResults\":[{\"changed\":true,\"cid\":95302,\"comment\":\"pidComment\",\"hitStatus\":0,\"pid\":\"0\",\"reviewDimensionType\":\"2\",\"rid\":31459,\"sid\":54104}]}]}","taskId":"20251224-62931498-881B-1436-A93D-1FFBC5D7D4A0","vid":"8cbe2bccf3be4b42bada45136f77d4e9"}

JSON string request parameters

PropertyTypeRequiredDescription
taskIdStringYesTask ID
vidStringYesFile ID. A string returned by the GetResultToReview operation.
commentsStringNoReview comments
handScoreIdListListNoSub-scoring item IDs to add for manual scoring. Example: [1345, 1422]
jsonReviewResultStringNoReview result for specific rules, as a JSON string. Structure shown below.

Structure of jsonReviewResult

PropertyTypeRequiredDescription
reviewInfoListListYesReview structure information
complainInfoListListNoAppeal handling structure information

Structure of ReviewInfo

PropertyTypeRequiredDescription
ridLongYesRule ID
reviewResultIntegerYesWhether the rule truly matched: 0 = no, 1 = yes
changedBooleanNoWhether this rule was modified in this operation. Default: false
commentStringNoReview comments for the rule dimension
sentenceReviewResultsListYesSentence-level review information

Structure of SentenceReviewResults

PropertyTypeRequiredDescription
ridLongYesRule ID. Leave blank if the appeal is for a manual scoring item.
cidLongYesCondition ID
pidLongYesSentence ID
sidLongYesSentence-dimension review ID. Leave blank for the first review. For subsequent reviews, use the sid from the GetResultToReview operation.
commentStringNoReview comments for the sentence dimension
hitStatusIntegerYesWhether the rule truly matched: 0 = no, 1 = yes
changedBooleanNoWhether this rule was modified in this operation. Default: false

Structure of ComplainParam

PropertyTypeRequiredDescription
ridLongNoRule ID. Leave blank if the appeal is for a manual scoring item.
commentsStringYesReason for appeal
acceptBooleanNoWhether to accept the appeal: true = yes, false = no. Default: true
finalJudgeBooleanNoWhether this is the final review. After a final review, no further appeals are allowed: true = yes, false = no. Default: false

Response elements

Element

Type

Description

Example

object

Response schema

RequestId

string

Request ID

106C6CA0-282D-4AF7-85F0-D2D24***

Code

string

Result code. Use this field to identify failure causes.

200

Message

string

Error details if the request failed. Returns successful if the request succeeded.

successful

Success

boolean

Indicates whether the request succeeded. true = success, false or null = failure

true

Examples

Success response

JSON format

{
  "RequestId": "106C6CA0-282D-4AF7-85F0-D2D24***",
  "Code": "200",
  "Message": "successful",
  "Success": true
}

Error codes

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.