Creates CreateQualityRelativeNode a partition expression.

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 CreateQualityRelativeNode

The operation that you want to perform.

EnvType String Required ODPS

The engine or data source type.

MatchExpression String Required dt=$[yyyymmdd]

The partition expression.

NodeId Long Yes 12321

The ID of the scheduling node.

ProjectId Long Yes 123

The ID of the DataWorks workspace.

ProjectName String Required autotest

The name of the database engine or data source.

RegionId String Required cn-shanghai

The ID of the region where your project resides.

TableName String Required dual

The name of the table.

TargetNodeProjectId Long Yes 1234

The ID of the node that is associated with the schedule.

TargetNodeProjectName String Required autotest

The node to be associated with the scheduled node.

Response parameters

Parameter Type Example Description
Data Boolean true

Indicates whether the association is successful.

ErrorCode String 401

The error code.

ErrorMessage String You have no permission.

The returned message.

HttpStatusCode Integer 200

Bad Request message.

RequestId String ecb967ec-c137-48****

The ID of the request.

Success Boolean true

Indicates whether the call is successful.

Examples

Sample requests

http(s)://[Endpoint]/? Action=CreateQualityRelativeNode
&EnvType=ODPS
&MatchExpression=dt=$[yyyymmdd]
&NodeId=12321
&ProjectId=123
&ProjectName=autotest
&RegionId=cn-shanghai
&TableName=dual
&TargetNodeProjectId=1234
&TargetNodeProjectName=autotest
&<Common request parameters>

Sample success responses

XML format

<RequestId>ecb967ec-c137-48****</RequestId>
<HttpStatusCode>200</HttpStatusCode>
<Data>true</Data>
<ErrorCode>401</ErrorCode>
<ErrorMessage>You have no permission. </ErrorMessage>
<Success>true</Success>

JSON format

{
    "RequestId": "ecb967ec-c137-48****",
    "HttpStatusCode": 200,
    "Data": true,
    "ErrorCode": 401,
    "ErrorMessage": "You have no permission.",
    "Success": true
}

Errors

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