Creates a subscriber for a partition expression by calling CreateQualityFollower.
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 engine or data source. |
autotest |
| Follower |
string |
Yes |
The account ID of the subscriber. |
123 |
| AlarmMode |
integer |
Yes |
The notification method. Valid values:
Valid values:
|
1 |
| EntityId |
integer |
Yes |
The ID of the partition expression. |
12345 |
| ProjectId |
integer |
Yes |
The ID of the DataWorks workspace. You can obtain the ID from the DataWorks console. |
123 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response struct. |
||
| HttpStatusCode |
integer |
The HTTP status code. |
200 |
| Data |
integer |
The ID of the newly created subscription. |
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 call 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.