查询联系人信息。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
resourcemanager:GetMessageContact |
get |
*MessageContact
|
无 | 无 |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ContactId |
string |
是 |
联系人 ID。 |
c-qL4HqKONzOM7**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
9B34724D-54B0-4A51-B34D-4512372FE1BE |
| Contact |
object |
联系人信息。 |
|
| ContactId |
string |
联系人 ID。 |
c-qL4HqKONzOM7**** |
| MessageTypes |
array |
联系人接收的消息分类。 |
|
|
string |
联系人接收的消息分类。 |
AccountExpenses |
|
| CreateDate |
string |
联系人的创建时间。时间格式为 YYYY-MM-DD HH:mm:ss,不包含时区标识。 |
2023-03-27 17:19:21 |
| Name |
string |
联系人的名称。 |
tom |
| EmailAddress |
string |
联系人的邮箱地址。 |
someone***@example.com |
| PhoneNumber |
string |
联系人的手机号码。 |
86-139****1234 |
| Title |
string |
联系人的职位。 |
TechnicalDirector |
| Members |
array |
绑定目标。 |
|
|
string |
绑定目标。 |
fd-ZDNPiT**** |
|
| Status |
string |
联系人状态。取值:
|
Active |
示例
正常返回示例
JSON格式
{
"RequestId": "9B34724D-54B0-4A51-B34D-4512372FE1BE",
"Contact": {
"ContactId": "c-qL4HqKONzOM7****",
"MessageTypes": [
"AccountExpenses"
],
"CreateDate": "2023-03-27 17:19:21",
"Name": "tom",
"EmailAddress": "someone***@example.com",
"PhoneNumber": "86-139****1234",
"Title": "TechnicalDirector",
"Members": [
"fd-ZDNPiT****"
],
"Status": "Active"
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter.ContactId | The ContactId is invalid. | ContactId无效。 |
| 400 | MissingParameter.ContactId | You must specify ContactId. | ContactId不能为空。 |
| 404 | EntityNotExists.Contact | This Contact does not exist. | Contact不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。