All Products
Search
Document Center

:DeleteQualityFollower

最終更新日:May 16, 2024

Deletes a subscriber of a partition filter expression. The deleted subscriber no longer receives notifications even if a subscribed monitoring rule of Data Quality is triggered.

In Data Quality, you must configure monitoring rules based on a partition filter expression. Data Quality uses these rules to detect changes in source data and dirty data generated during the process of extract, transform, and load (ETL). Then, Data Quality automatically blocks the tasks that involve dirty data to stop dirty data from spreading downstream. This way, you can prevent tasks from producing unexpected dirty data that affects the smooth running of tasks and business decision-making. You can go to the Manage Subscriptions page to add subscribers for a partition filter expression. When the monitoring rule that is created based on the partition filter expression is triggered, the subscribers can receive notifications and troubleshoot errors at the earliest opportunity. For more information, see Configure monitoring rules.

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

DeleteQualityFollower

The operation that you want to perform.

ProjectName

String

Yes

autotest

The name of the compute engine instance or data source for which the partition filter expression is configured. You can log on to the DataWorks console and go to the rule configuration page of Data Quality to obtain the name.

FollowerId

Long

Yes

1234

The ID of the subscription relationship between the partition filter expression and the subscriber. You can call the GetQualityFollower operation to obtain the ID of the subscription relationship.

ProjectId

Long

No

10000

The DataWorks workspace ID. You can log on to the DataWorks console and go to the Workspace Management page to obtain the workspace ID.

Response parameters

Parameter

Type

Example

Description

HttpStatusCode

Integer

200

The HTTP status code.

Data

Boolean

true

Indicates whether the subscriber was successfully deleted. Valid values:

  • true: The subscriber was successfully deleted.

  • false: The subscriber failed to be deleted. You can troubleshoot errors based on the error message returned.

ErrorMessage

String

You have no permission.

The error message returned when the subscriber failed to be deleted.

RequestId

String

6d739ef6-098a-47****

The request ID. You can troubleshoot errors based on the ID.

ErrorCode

String

401

The error code.

Success

Boolean

true

Indicates whether the request was successful. Valid values:

  • true

  • false

Examples

Sample requests

http(s)://[Endpoint]/?Action=DeleteQualityFollower
&ProjectName=autotest
&FollowerId=1234
&ProjectId=10000
&<Common request parameters>

Sample success responses

XML format

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

<DeleteQualityFollowerResponse>
    <HttpStatusCode>200</HttpStatusCode>
    <Data>true</Data>
    <ErrorMessage>You have no permission.</ErrorMessage>
    <RequestId>6d739ef6-098a-47****</RequestId>
    <ErrorCode>401</ErrorCode>
    <Success>true</Success>
</DeleteQualityFollowerResponse>

JSON format

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

{
  "HttpStatusCode" : 200,
  "Data" : true,
  "ErrorMessage" : "You have no permission.",
  "RequestId" : "6d739ef6-098a-47****",
  "ErrorCode" : 401,
  "Success" : true
}

Error codes

For a list of error codes, see Service error codes.