Obtains a partition expression from GetQualityEntity.

Debugging

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 GetQualityEntity

The operation that you want to perform.

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 database engine or data source.

RegionId String Required cn-shanghai

The ID of the region where your project resides.

TableName String Required dual

The name of the table.

Response parameters

Parameter Type Example Description
Data Array

The returned message.

CreateTime Long 1593964800000

The time when the log monitoring metric was created.

EntityLevel Integer 0

The level of the partition expression. Valid values: 0(SQL level) and 1 (task level).

EnvType String odps

The engine or data source type.

Followers String 1822931****

The subscriber.

HasRelativeNode Boolean true

Indicates whether the node is associated with a scheduling system.

Id Long 4003918

The ID of the partition filter expression.

MatchExpression String dt=$[yyyymmdd-1]

The partition expression.

ModifyTime Long 1593964800000

The last time when the domain information was updated.

ModifyUser String 1822931****

Update people.

OnDuty String 1822931****

Responsible person.

ProjectName String autotest

Name of the engine or data source.

RelativeNode String [{"projectName":"xc_DP****","nodeId":7000026****}]

The information of associated scheduling nodes.

Sql Integer 0

SQL.

TableName String test_dqc_de****

The name of the table.

Task Integer 0

The task node.

ErrorCode String 401

The error code.

ErrorMessage String You have no permission.

The returned message.

HttpStatusCode Integer 200

The HTTP status code.

RequestId String 6d739ef6-098a-47****

The ID of the request.

Success Boolean true

Indicates whether the call is successful.

Examples

Sample requests

http(s)://[Endpoint]/? Action=GetQualityEntity
&EnvType=ODPS
&MatchExpression=dt=$[yyyymmdd]
&ProjectName=autotest
&RegionId=cn-shanghai
&TableName=dual
&<Common request parameters>

Sample success responses

XML format

<RequestId>6d739ef6-098a-47****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>
    <ModifyTime>1593964800000</ModifyTime>
    <Task>0</Task>
    <ModifyUser>1822931104031845</ModifyUser>
    <ProjectName>autotest</ProjectName>
    <HasRelativeNode>true</HasRelativeNode>
    <CreateTime>1593964800000</CreateTime>
    <OnDuty>1822931****</OnDuty>
    <Followers>1822931****</Followers>
    <MatchExpression>dt=$[yyyymmdd-1]</MatchExpression>
    <EnvType>odps</EnvType>
    <Sql>0</Sql>
    <TableName>test_dqc_de****</TableName>
    <Id>4003918</Id>
    <RelativeNode>[{"projectName":"xc_DP****","nodeId":7000026****}]</RelativeNode>
    <EntityLevel/>
</Data>
<ErrorCode>401</ErrorCode>
<ErrorMessage>You have no permission. </ErrorMessage>
<Success>true</Success>

JSON format

{
    "RequestId": "6d739ef6-098a-47****",
    "HttpStatusCode": 200,
    "Data": {
        "ModifyTime": 1593964800000,
        "Task": 0,
        "ModifyUser": 1822931104031845,
        "ProjectName": "autotest",
        "HasRelativeNode": true,
        "CreateTime": 1593964800000,
        "OnDuty": "1822931****",
        "Followers": "1822931****",
        "MatchExpression": "dt=$[yyyymmdd-1]",
        "EnvType": "odps",
        "Sql": 0,
        "TableName": "test_dqc_de****",
        "Id": 4003918,
        "RelativeNode": "[{\"projectName\":\"xc_DP****\",\"nodeId\":7000026****}]",
        "EntityLevel": ""
    },
    "ErrorCode": 401,
    "ErrorMessage": "You have no permission.",
    "Success": true
}

Error code

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