Creates a CreateQualityEntity partition expression for a Data Quality.


OpenAPI Explorer automatically calculates the signature value. For your convenience, we recommend that you call this operation in OpenAPI Explorer. OpenAPI Explorer dynamically generates the sample code of the operation for different SDKs.

Request parameters

Parameter Type Required Example Description
Action String Required CreateQualityEntity

The operation that you want to perform.

EntityLevel Integer Yes 0

Valid values: 0 (corrected when SQl is completed) and 1 (corrected when task is completed).

EnvType String Required ODPS

The engine or data source type.

MatchExpression String Required dt=$[yyyymmdd]

The partition expression.

ProjectName String Required autotest

The name of the maxcompute project or data source.

RegionId String Required cn-shanghai

The ID of the region where the request is located.

TableName String Required dual

The name of the table.

Response parameters

Parameter Type Example Description
Data Integer 12345

The ID of the partition expression.

ErrorCode String 401

The error code.

ErrorMessage String Your project is not relative with your account.

The returned message.

HttpStatusCode Integer 200

The HTTP request error codes.

RequestId String 011e1231u3****

The ID of the request.

Success Boolean true

Indicates whether the call is successful.


Sample requests

http(s)://[Endpoint]/? Action=CreateQualityEntity
&<Common request parameters>

Sample success responses

XML format

<ErrorMessage>Your project is not relative with your account. </ErrorMessage>

JSON format

    "RequestId": "011e1231u3****",
    "HttpStatusCode": 200,
    "Data": 12345,
    "ErrorCode": 401,
    "ErrorMessage": "Your project is not relative with your account.",
    "Success": true


For a list of error codes, visit the API Error Center.