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, including projects in PROD and DEV.

RegionId String Yes cn-shanghai

Region information, which is usually the region where the service is located. For example, China (Shanghai) is cn-shanghai, and China (Zhangjiakou) is cn-zhangjiakou. You do not need to specify the RegionId because it is automatically resolved based on the endpoint that is called.

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

Connection string mode

CronExpress String 00 00 00 * * ?

The cron expression of the time-based schedule.

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"}]

DQC partition rule string

DqcType Integer 1

The type of DQC. A value of 0 indicates that a dqc device is associated. A value of 1 indicates that a dqc device is not associated.

NodeId Long 1234

The ID of the node.

NodeName String sql node

The name of the node.

OwnerId String 17366294****

The ID of the owner.

ParamValues String a=b

Additional parameters.

Priority Integer 1

Task priority, 1/3/5/7/8

ProgramType String ODPS_SQL

The type of the node.

ProjectId Long 1234

The ID of the DataWorks workspace.

RelatedFlowId Long 123

Associated workflow ID

RepeatInterval Long 60

Reschedule frequency after an error

Repeatability String true

Whether the execution can be repeated.

ResGroupName String Default resource group

The alias of a resource group.

SchedulerType String NORMAL

The type of scheduling. Valid values: NORMAL (scheduled to tasks normally and scheduled on a daily basis), MANUAL (MANUAL tasks that are not scheduled on a daily basis), PAUSE (scheduled to tasks but directly set to failed when scheduling is started), and SKIP (dry-run tasks that are scheduled on a daily basis). However, the value is directly set to success when the scheduling is started.

ErrorCode String Invalid.Tenant.ConnectionNotExists

The error code.

ErrorMessage String The connection does not exist.

The error message.

HttpStatusCode Integer 200

The HTTP status code.

RequestId String E6F0DBDD-5AD****

The ID of the request, which is used to locate logs and troubleshoot problems.

Success Boolean true

Indicates whether the request was 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> <Repeatability> true </Repeatability> <Description> described </Description> <ResGroupName> default resource group </ResGroupName> <OwnerId> 173662940 **** </OwnerId> <NodeName> sql node </NodeName> <ParamValues> a=b </ParamValues> <NodeId> 1234 </NodeId> <ProjectId> 1234 </ProjectId> <ProgramType> ODPS_SQL </ProgramType> <SchedulerType> NORMAL </SchedulerType> <CronExpress> E6F0DBDD-5AD**** </CronExpress> </Data> <ErrorCode> Invalid.Tenant.ConnectionNotExists </ErrorCode> <ErrorMessage> The connection does not exist. </ErrorMessage> <Success>true</Success> 
   

JSON Hint


     {"RequestId": "E6F0DBDD-5AD parameter value *", "HttpStatusCode": 200, "Data": { "Repeatability": true, "Description": "Description", "ResGroupName": "default resource group", "OwnerId": "173662940 parameter value *", "dennoame": "sql node", "ParamValues": "a=b", "NodeId": 1234, "ProjectId": 1234, "ProgramType": "ODPS_SQL", "SchedulerType": "NORMAL", "CronExpress": "E6F0DBDD-5AD****" }, "ErrorCode": "Invalid.Tenant.ConnectionNotExists", "ErrorMessage": "The connection does not exist.", "Success": true} 
   

Error code

Go to the Error Center For more information, see error codes.