Creates a CreateQualityEntity partition expression for a Data Quality.
Debugging
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. |
Examples
Sample requests
http(s)://[Endpoint]/? Action=CreateQualityEntity
&EntityLevel=0
&EnvType=ODPS
&MatchExpression=dt=$[yyyymmdd]
&ProjectName=autotest
&RegionId=cn-shanghai
&TableName=dual
&<Common request parameters>
Sample success responses
XML
format
<RequestId>011e1231u3****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>12345</Data>
<ErrorCode>401</ErrorCode>
<ErrorMessage>Your project is not relative with your account. </ErrorMessage>
<Success>true</Success>
JSON
format
{
"RequestId": "011e1231u3****",
"HttpStatusCode": 200,
"Data": 12345,
"ErrorCode": 401,
"ErrorMessage": "Your project is not relative with your account.",
"Success": true
}
Errors
For a list of error codes, visit the API Error Center.