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

The operation that you want to perform.

NodeId Long Yes 1234

The ID of the node.

ProjectEnv String Required PROD

The environment of the workspace, including projects in PROD and DEV.

RegionId String Required 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.

CronExpress String 00 00 00 * * ?

The cron expression of the time-based schedule.

Description String test

The description of the node.

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.

ProgramType String ODPS_SQL

The type of the node.

ProjectId Long 1234

The ID of the DataWorks workspace.

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 0

The error code.

ErrorMessage String test

The returned 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 call 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>
    <Repeatability>true</Repeatability>
    <Description>Description</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>0</ErrorCode>
<ErrorMessage>test</ErrorMessage>
<Success>true</Success>

JSON format

{
    "RequestId": "E6F0DBDD-5AD****",
    "HttpStatusCode": 200,
    "Data": {
        "Repeatability": true,
        "Description": "Description",
        "ResGroupName": "default resource group",
        "OwnerId": "173662940****",
        "NodeName": "sql node",
        "ParamValues": "a=b",
        "NodeId": 1234,
        "ProjectId": 1234,
        "ProgramType": "ODPS_SQL",
        "SchedulerType": "NORMAL",
        "CronExpress": "E6F0DBDD-5AD****"
    },
    "ErrorCode": 0,
    "ErrorMessage": "test",
    "Success": true
}

Errors

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