Adds a follower to a partition expression to receive data quality alerts.
This API has been deprecated. We recommend migrating to dataworks-public(2024-05-18) - CreateDataQualityAlertRule for enhanced functionality and continued support. While the deprecated API remains temporarily accessible, no further updates or bug fixes will be provided.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| ProjectName |
string |
Yes |
The name of the compute engine or data source. |
autotest |
| Follower |
string |
Yes |
The Alibaba Cloud account ID of the follower. |
123 |
| AlarmMode |
integer |
Yes |
The alert method. Valid values: 1 (email), 2 (email and SMS), 4 (DingTalk Group Bot), 5 (DingTalk Group Bot with an @all message), 6 (Lark), 7 (WeCom), 8 (webhook), and 9 (Phone Alert). |
1 |
| EntityId |
integer |
Yes |
The ID of the partition expression. |
12345 |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. To find the workspace ID, log in to the DataWorks console. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
integer |
The subscription ID. |
12345 |
| ErrorMessage |
string |
The error message. |
You have no permission. |
| RequestId |
string |
The request ID. |
ecb967ec-c137-48**** |
| ErrorCode |
string |
The error code. |
401 |
| Success |
boolean |
Indicates whether the request was successful. |
true |
Examples
Success response
JSON format
{
"HttpStatusCode": 200,
"Data": 12345,
"ErrorMessage": "You have no permission.",
"RequestId": "ecb967ec-c137-48****",
"ErrorCode": "401",
"Success": true
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.