Queries the alert contacts in an alert group.

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 DescribeContactListByContactGroup

The operation that you want to perform. Set the value to DescribeContactListByContactGroup.

ContactGroupName String Yes My alert group name

The name of the alert group.

Response parameters

Parameter Type Example Description
Code String 200

The HTTP status code. The status code 200 indicates that the call was successful.

Contacts N/A N/A

The alert contact information.

Channels N/A N/A

The alert notification targets.

AliIM String My TradeManager ID

The TradeManager ID of the alert contact.

DingWebHook String DingTalk chatbot webhook URL

The webhook URL of the DingTalk chatbot.

Mail String test@aliyun.com

The email address of the alert contact.

SMS String 1333333****

The phone number of the alert contact.

CreateTime Long 1552314252000

The time when the alert contact was created.

Desc String Description

The description of the alert contact.

Name String Guan

The name of the alert contact.

UpdateTime Long 1552314252000

The time when the alert contact was modified.

Message String success

The returned message.

RequestId String 06D5ECC2-B9BE-42A4-8FA3-1A610FB08B83

The ID of the request.

Success Boolean true

Indicates whether the call was successful.

Examples

Sample requests


http(s)://[Endpoint]/? Action=DescribeContactListByContactGroup
&ContactGroupName=My alert group name
&<Common request parameters>

Sample success responses

XML format

<DescribeContactListByContactGroupResponse id="DescribeContactListByContactGroupResponse_y40_1l2_q43">
					<RequestId id="RequestId_4gm_igm_e49">81A6C995-D1A8-4627-B2E6-4B651446DDF9</RequestId>
					<Contacts id="Contacts_ncf_b45_ibe">
						<Contact id="Contact_i9z_pt4_y0n">
							<Channels id="Channels_5u2_27q_0r5">
								<AliIM id="AliIM_xjs_7lc_uz7">Guan</AliIM>
								<Mail id="Mail_1x4_r31_utc">test***@aliyun.com</Mail>
							</Channels>
							<Name id="Name_ilh_tpj_1gd">Guan</Name>
							<CreateTime id="CreateTime_30j_7ku_70v">1552355864000</CreateTime>
							<UpdateTime id="UpdateTime_twk_u8o_v5q">1552356159000</UpdateTime>
							<Desc id="Desc_57j_lt2_vx7">xxxx</Desc>
						</Contact>
					</Contacts>
					<Success id="Success_37y_8wx_p4h">true</Success>
					<Code id="Code_a08_0hu_m6x">200</Code>
				</DescribeContactListByContactGroupResponse>
			

JSON format

{
    "RequestId":"81A6C995-D1A8-4627-B2E6-4B651446DDF9",
    "Contacts":{
        "Contact":[
            {
                "Name":"Guan",
                "Channels":{
                    "Mail":"test***@aliyun.com",
                    "AliIM":"Guan"
                },
                "CreateTime":1552355864000,
                "UpdateTime":1552356159000,
                "Desc":"xxxx"
            }
        ]
    },
    "Success":true,
    "Code":"200"
}

Error codes

For a list of error codes, visit the API Error Center.