CreateQualityEntity
Creates a partition expression for data quality.
This API has been deprecated. We recommend migrating to dataworks-public(2024-05-18) - CreateDataQualityScan for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the engine project or the data source. |
autotest |
| TableName |
string |
Yes |
The name of the table. |
dual |
| EnvType |
string |
Yes |
The type of the engine or data source. Valid values:
|
odps |
| MatchExpression |
string |
Yes |
The partition expression. |
dt=$[yyyymmdd] |
EntityLevel
deprecated
|
integer |
No |
[Deprecated] This parameter is deprecated. Valid values include 0 (check when SQL execution is complete). Valid values:
|
0 |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. You can obtain the ID from the DataWorks console. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The data structure returned for the partition expression. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
integer |
The ID of the newly created partition expression. |
12345 |
| ErrorMessage |
string |
The error message. |
Your project is not relative with your account. |
| RequestId |
string |
The request ID. |
011e1231u3**** |
| Success |
boolean |
Indicates whether the call was successful. |
true |
| ErrorCode |
string |
The error code. |
401 |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Data": 12345,
"ErrorMessage": "Your project is not relative with your account.",
"RequestId": "011e1231u3****",
"Success": true,
"ErrorCode": "401"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.