Queries the information about a custom alert rule.
Operation description
Debugging
Authorization information
There is currently no authorization information disclosed in the API.
Request parameters
Parameter | Type | Required | Description | Example |
---|---|---|---|---|
RemindId | long | Yes | The custom alert rule ID. | 1234 |
Response parameters
Examples
Sample success responses
JSON
format
{
"HttpStatusCode": 200,
"RequestId": "0000-ABCD-EFGH-IJKLMNOPQ",
"ErrorMessage": "The specified parameters are invalid.",
"ErrorCode": "1031203110005",
"Success": true,
"Data": {
"MaxAlertTimes": 3,
"RemindUnit": "NODE",
"AlertInterval": 1800,
"Useflag": true,
"Founder": "9527951795****",
"RemindId": 1234,
"DndEnd": "08:00",
"RemindType": "FINISHED",
"AlertUnit": "OWNER",
"DndStart": "00:00",
"RemindName": "",
"Detail": "{\"hour\":23,\"minu\":59}",
"Robots": [
{
"WebUrl": "https://oapi.dingtalk.com/robot/send?access_token=******************************",
"AtAll": true
}
],
"Nodes": [
{
"Owner": "9527951795****",
"NodeName": "",
"NodeId": 1234,
"ProjectId": 1234
}
],
"Baselines": [
{
"BaselineName": "",
"BaselineId": 1234
}
],
"Projects": [
{
"ProjectId": 1234
}
],
"BizProcesses": [
{
"BizProcessName": "",
"BizId": 9527
}
],
"AlertTargets": [
"9527952795279527"
],
"AlertMethods": [
"SMS,MAIL"
],
"Webhooks": [
"https://open.feishu.cn/open-apis/bot/v2/hook/*******"
],
"Receivers": [
{
"AlertUnit": "OWNER",
"AlertTargets": [
"9527952795279527"
]
}
],
"AllowNodes": [
123
]
}
}
Error codes
HTTP status code | Error code | Error message | Description |
---|---|---|---|
403 | Forbidden.Access | Access is forbidden. Please first activate DataWorks Enterprise Edition or Flagship Edition. | No permission, please authorize |
429 | Throttling.Api | The request for this resource has exceeded your available limit. | - |
429 | Throttling.Api.Risk | The request for this resource has exceeded your daily available limit. | - |
429 | Throttling.Resource | You have reached the limit for the resource. Please contact us by submitting a ticket. | - |
429 | Throttling.System | The DataWorks system is busy. Try again later. | - |
429 | Throttling.User | Your request is too frequent. Try again later. | - |
500 | Forbidden.Not.Server | The dataworksAPI service is not available in this area. Please try it in another area. | - |
500 | InternalError.System | An internal system error occurred. Try again later. | - |
500 | InternalError.UserId.Missing | An internal system error occurred. Try again later. | - |
For a list of error codes, visit the Service error codes.
Change history
Change time | Summary of changes | Operation |
---|---|---|
2024-09-18 | The Error code has changed. The response structure of the API has changed | View Change Details |