Queries the input and output information 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 ListNodeInputOrOutput

The operation that you want to perform. Set the value to ListNodeInputOrOutput.

NodeId Long Yes 12314567

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: DEV and PROD. A value of DEV indicates the development environment. A value of PROD indicates the production environment.

RegionId String Yes cn-shanghai

The ID of the region in which the service is activated. 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.

IoType String Yes output

The type of node that you want to query. Valid values:

  • input: ancestor nodes
  • output: descendant nodes

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 query logs and troubleshoot issues.

ErrorMessage String The project does not exist.

The error message returned if the request fails.

ErrorCode String Invalid.Tenant.ProjectNotExists

The error code returned if the request fails.

Success Boolean true

Indicates whether the request is successful.

Data Array of Data

The ancestor or descendant nodes.

TableName String dwd_xxx_table

The name of the associated table.

Data String xxxx.123141254_out

The name of the ancestor or descendant node.

NodeId Long 1234667

The ID of the node.

Examples

Sample requests

http(s)://[Endpoint]/?Action=ListNodeInputOrOutput
&NodeId=12314567
&ProjectEnv=PROD
&IoType=output
&<Common request parameters>

Sample success responses

XML format

HTTP/1.1 200 OK
Content-Type:application/xml

<ListNodeInputOrOutputResponse>
    <HttpStatusCode>200</HttpStatusCode>
    <RequestId>E6F0DBDD-5AD****</RequestId>
    <ErrorMessage>The project does not exist.</ErrorMessage>
    <ErrorCode>Invalid.Tenant.ProjectNotExists</ErrorCode>
    <Success>true</Success>
    <Data>
        <TableName>dwd_xxx_table</TableName>
        <Data>xxxx.123141254_out</Data>
        <NodeId>1234667</NodeId>
    </Data>
</ListNodeInputOrOutputResponse>

JSON format

HTTP/1.1 200 OK
Content-Type:application/json

{
  "HttpStatusCode" : 200,
  "RequestId" : "E6F0DBDD-5AD****",
  "ErrorMessage" : "The project does not exist.",
  "ErrorCode" : "Invalid.Tenant.ProjectNotExists",
  "Success" : true,
  "Data" : {
    "TableName" : "dwd_xxx_table",
    "Data" : "xxxx.123141254_out",
    "NodeId" : 1234667
  }
}

Error codes

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