Queries the details of a node.


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. Set the value to GetNode.

NodeId Long Yes 1234

The ID of the node. You can call the ListNodes operation to query the node ID.

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 the ID 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
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.

ErrorMessage String The connection does not exist.

The error message returned.

ErrorCode String Invalid.Tenant.ConnectionNotExists

The error code returned.

Success Boolean true

Indicates whether the request is successful.

Data Object

The details of the node.

SchedulerType String NORMAL

The scheduling type of the node. Valid values:

  • NORMAL: The node is an auto triggered node.
  • MANUAL: The node is a manually triggered node. Manually triggered nodes cannot be automatically triggered.
  • PAUSE: The node is a paused node.
  • SKIP: The node is a dry-run node. Dry-run nodes are started as scheduled but the system sets the status of the nodes to successful when it starts to run them.
RepeatInterval Long 60

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

Repeatability String true

Indicates whether the node can be rerun.

ProjectId Long 1234

The ID of the workspace.

ProgramType String ODPS_SQL

The type of the node.

Priority Integer 1

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

OwnerId String 17366294****

The ID of the owner of the node.

Connection String odps_first_dev

The connection string.

ParamValues String a=b

Other parameters.

RelatedFlowId Long 123

The ID of the workflow to which the node belongs.

DqcType Integer 1

Indicates whether the node is associated with Data Quality. Valid values: 0 and 1. A value of 0 indicates that the node is associated with Data Quality. A value of 1 indicates that the node is not associated with Data Quality.

BaselineId Long 123456

The ID of the baseline.

Description String test

The description of the node.

NodeName String SQL node

The name of the node.

ResGroupName String Default resource group

The name of the resource group.

BusinessId Long 123

The ID of the workflow.

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 node.

CronExpress String 00 00 00 * * ?

The CRON expression returned.

NodeId Long 1234

The ID of the node.


Sample requests

&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK

    <ErrorMessage>The connection does not exist.</ErrorMessage>
        <NodeName>SQL node</NodeName>
        <ResGroupName>Default resource group</ResGroupName>
        <CronExpress>00 00 00 * * ?</CronExpress>

JSON format

HTTP/1.1 200 OK

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

Error codes

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