Domain name for API request: wedata.tencentcloudapi.com.
Alert Recipient Details
A maximum of 20 requests can be initiated per second for this API.
The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.
Parameter Name | Required | Type | Description |
---|---|---|---|
Action | Yes | String | Common Params. The value used for this API: DescribeAlarmReceiver. |
Version | Yes | String | Common Params. The value used for this API: 2021-08-20. |
Region | Yes | String | Common Params. For more information, please see the list of regions supported by the product. |
AlarmId | Yes | String | Alert ID |
PageNumber | Yes | Integer | Current Page |
PageSize | Yes | Integer | Number of records per page |
ProjectId | Yes | String | Project ID |
TaskType | No | Integer | Type |
AlarmRecipient | No | String | Alarm Recipient ID (comma-separated) |
AlarmRecipientName | No | String | Name of alarm recipient (comma-separated) |
AlarmTime | No | String | Alarm Time |
MessageId | No | String | Message ID |
RecordId | No | Integer | Alert Record ID |
MonitorType | No | Integer | Monitored Object Type (1: All Tasks, 2: Assigned Task, 3: Designated Responsible Person, 4: Specified Resource Group) |
Parameter Name | Type | Description |
---|---|---|
AlarmReceiverInfoList | Array of AlarmReceiverInfo | Alert Recipient List Note: This field may return null, indicating that no valid value can be obtained. |
TotalCount | Integer | Number of records |
RequestId | String | The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem. |
Alert Recipient Details
POST / HTTP/1.1
Host: wedata.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeAlarmReceiver
<Common request parameters>
{
"AlarmRecipientName": "User A",
"PageSize": 1,
"ProjectId": "123",
"MessageId": "123",
"AlarmTime": "2023-11-10 18:31:06",
"AlarmId": "1",
"PageNumber": 1,
"TaskType": 1,
"AlarmRecipient": "887"
}
{
"Response": {
"AlarmReceiverInfoList": [
{
"Http": 1,
"Sms": 1,
"AlarmId": "1",
"Wechat": 1,
"AlarmReceiver": "887",
"Wecom": 1,
"Voice": 1,
"Email": 1,
"WecomGroup": 1
}
],
"RequestId": "123",
"TotalCount": 1
}
}
TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.
The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.
Error Code | Description |
---|---|
AuthFailure.SignatureExpire | Not logged in or login has expired. |
FailedOperation | Operation Failure. |
InternalError | An internal error occurs. |
InvalidParameter | Parameter error. |
ResourceNotFound | The resource does not exist. |
UnsupportedOperation | Operation not supported. |
本页内容是否解决了您的问题?