Call SearchNodesByOutput to precisely query nodes based on the output.

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 SearchNodesByOutput

The operation that you want to perform.

RegionId String Yes cn-shanghai

The region ID of the workspace.

ProjectEnv String Yes PROD

Scheduling and Operation Center environment ID: PROD indicates the production environment, and DEV indicates the development environment.

Outputs String Yes aaaaa.1231412_out,bbbb.12313123_out

The output string of the node. Multiple values are supported. Separate them with commas (,).

Response parameters

Parameter Type Example Description
Data Map { "test_0709_1.630003558_out": { "nodeId": 21673, "nodeName": "hour_sql", "ownerId": 123123123124, "cronExpress": "00 00 00-23/2 * * ?", "repeatability": true, "programType": "ODPS_SQL", "projectId": 11111, "schedulerType": "NORMAL", "priority": 1, "baselineId": 20001721, "connection": "odps_first" }, "test_0709_1.630003556_out": { "nodeId": 21671, "nodeName": "start", "ownerId": 123141231231, "cronExpress": "00 */10 00-23 * * ?", "repeatability": true, "programType": "VIRTUAL", "projectId": 1111, "schedulerType": "NORMAL", "priority": 1, "baselineId": 20001721 } }

Data returned is a Map. The Key is each output input by the user, and the Value is the node information corresponding to the output.

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 SDFSDFSDF-asdfDFSDF-SDFSDf-SDfSFD

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

Success Boolean true

Indicates whether the request was successful.

Examples

Sample requests


     http(s)://[Endpoint]/? Action=SearchNodesByOutput &Outputs=aaaaa.1231412_out,bbbb.12313123_out &ProjectEnv=PROD &RegionId=cn-shanghai &<common request parameters> 
   

Sample success responses

XML format


     <success>true</success> <httpStatusCode>200</httpStatusCode> <data> <test_0709_1.630003558_out> <nodeId>21673</nodeId> <nodeName>hour_sql</nodeName> <ownerId>123123123124</ownerId> <cronExpress>00 00 00-23/2 * * ? </cronExpress> <repeatability>true</repeatability> <programType>ODPS_SQL</programType> <projectId>11111</projectId> <schedulerType>NORMAL</schedulerType> <priority>1</priority> <baselineId>20001721</baselineId> <connection>odps_first</connection> </test_0709_1.630003558_out> <test_0709_1.630003556_out> <nodeId>21671</nodeId> <nodeName>start</nodeName> <ownerId>123141231231</ownerId> <cronExpress>00 */10 00-23 * * ? </cronExpress> <repeatability>true</repeatability> <programType>VIRTUAL</programType> <projectId>1111</projectId> <schedulerType>NORMAL</schedulerType> <priority>1</priority> <baselineId>20001721</baselineId> </test_0709_1.630003556_out> </data> 
   

JSON Hint


     { "success": true, "httpStatusCode": 200, "data": { "test_0709_1.630003558_out": { "nodeId": 21673, "nodeName": "hour_sql", "ownerId": 123123123124, "cronExpress": "00 00 00-23/2 * * ?", "repeatability": true, "programType": "ODPS_SQL", "projectId": 11111, "schedulerType": "NORMAL", "priority": 1, "baselineId": 20001721, "connection": "odps_first" }, "test_0709_1.630003556_out": { "nodeId": 21671, "nodeName": "start", "ownerId": 123141231231, "cronExpress": "00 */10 00-23 * * ?", "repeatability": true, "programType": "VIRTUAL", "projectId": 1111, "schedulerType": "NORMAL", "priority": 1, "baselineId": 20001721 } } } 
   

Error codes

Go to the Error CenterFor more information, see error codes.