Queries the details of a node.

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 Yes GetNode

The operation that you want to perform.

NodeId Long Yes 1234

The ID of the node.

ProjectEnv String Yes PROD

The environment of the workspace. Valid values: PROD and DEV.

RegionId String Yes cn-shanghai

The region ID. For example, the ID of the China (Shanghai) region is cn-shanghai, and that of the China (Zhangjiakou) region is cn-zhangjiakou. The system automatically determines the value of this parameter based on the endpoint that is used to call the operation.

Response parameters

Parameter Type Example Description
Data Struct

The details of the node.

BaselineId Long 123456

The ID of the baseline.

Connection String odps_first_dev

The connection string.

CronExpress String 00 00 00 * * ?

The cron expression returned.

Description String test

The description of the node.

DqcDescription String [{"projectName":"test_0923001","tableName":"test_table_001","partition":"ds\u003d$[yyyymmdd]"},{"projectName":"test_0923001","tableName":"test_table_002","partition":"NOTAPARTITIONTABLE"}]

The table and partition filter expression in Data Quality that are associated with the instance.

DqcType Integer 1

Indicates whether the instance is associated with Data Quality. 0: The instance is associated with Data Quality. 1: The instance is not associated with Data Quality.

NodeId Long 1234

The ID of the node.

NodeName String SQL node

The name of the node.

OwnerId String 17366294****

The ID of the node owner.

ParamValues String a=b

Other parameters.

Priority Integer 1

The node priority. Valid values: 1, 3, 5, 7, and 8.

ProgramType String ODPS_SQL

The type of the node.

ProjectId Long 1234

The ID of the workspace.

RelatedFlowId Long 123

The ID of the associated workflow.

RepeatInterval Long 60

Indicates the interval at which the node is rerun after the node fails to run.

Repeatability String true

Indicates whether the node can be rerun.

ResGroupName String Default resource group

The name of the resource group.

SchedulerType String NORMAL

The type of the node. Valid values:

  • NORMAL: indicates that the node is a normal auto triggered node.
  • MANUAL: indicates that the node is a manually triggered node.
  • PAUSE: indicates that the node is a paused node.
  • SKIP: indicates that the node is a dry-run node. Dry-run nodes are started on schedule but the system configures the status of the nodes to successful when it starts to run them.
ErrorCode String Invalid.Tenant.ConnectionNotExists

The error code returned.

ErrorMessage String The connection does not exist.

The error message returned.

HttpStatusCode Integer 200

The HTTP status code returned.

RequestId String E6F0DBDD-5AD****

The ID of the request. You can use the ID to locate logs and troubleshoot issues.

Success Boolean true

Indicates whether the request is successful.

Examples

Sample requests

http(s)://[Endpoint]/?Action=GetNode
&NodeId=1234
&ProjectEnv=PROD
&RegionId=cn-shanghai
&<Common request parameters>

Sample success responses

XML format

<RequestId>E6F0DBDD-5AD****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>
    <BaselineId>123456</BaselineId>
    <ResGroupName>Default resource group</ResGroupName>
    <Description>test</Description>
    <NodeName>SQL node</NodeName>
    <DqcType>1</DqcType>
    <Priority>1</Priority>
    <ParamValues>a=b</ParamValues>
    <Connection>odps_first_dev</Connection>
    <ProjectId>1234</ProjectId>
    <RelatedFlowId>123</RelatedFlowId>
    <SchedulerType>NORMAL</SchedulerType>
    <CronExpress>00 00 00 * * ?</CronExpress>
    <Repeatability>true</Repeatability>
    <OwnerId>17366294****</OwnerId>
    <DqcDescription>[{"projectName":"test_0923001","tableName":"test_table_001","partition":"ds\u003d$[yyyymmdd]"},{"projectName":"test_0923001","tableName":"test_table_002","partition":"NOTAPARTITIONTABLE"}]</DqcDescription>
    <NodeId>1234</NodeId>
    <ProgramType>ODPS_SQL</ProgramType>
    <RepeatInterval>60</RepeatInterval>
</Data>
<ErrorCode>Invalid.Tenant.ConnectionNotExists</ErrorCode>
<ErrorMessage>The connection does not exist.</ErrorMessage>
<Success>true</Success>

JSON format

{
    "RequestId": "E6F0DBDD-5AD****",
    "HttpStatusCode": 200,
    "Data": {
        "BaselineId": 123456,
        "ResGroupName": "Default resource group",
        "Description": "test",
        "NodeName": "SQL node",
        "DqcType": 1,
        "Priority": 1,
        "ParamValues": "a=b",
        "Connection": "odps_first_dev",
        "ProjectId": 1234,
        "RelatedFlowId": 123,
        "SchedulerType": "NORMAL",
        "CronExpress": "00 00 00 * * ?",
        "Repeatability": true,
        "OwnerId": "17366294****",
        "DqcDescription": "[{\"projectName\":\"test_0923001\",\"tableName\":\"test_table_001\",\"partition\":\"ds\\u003d$[yyyymmdd]\"},{\"projectName\":\"test_0923001\",\"tableName\":\"test_table_002\",\"partition\":\"NOTAPARTITIONTABLE\"}]",
        "NodeId": 1234,
        "ProgramType": "ODPS_SQL",
        "RepeatInterval": 60
    },
    "ErrorCode": "Invalid.Tenant.ConnectionNotExists",
    "ErrorMessage": "The connection does not exist.",
    "Success": true
}

Error codes

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