查询联系人删除状态。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| ContactId |
string |
否 |
联系人 ID。 |
c-qL4HqKONzOM7**** |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
返回结果。 |
||
| RequestId |
string |
请求 ID。 |
95060F1D-6990-4645-8920-A81D1BBFE992 |
| ContactDeletionStatus |
object |
联系人删除信息。 |
|
| Status |
string |
联系人删除状态。取值:
|
Deleting |
| ContactId |
string |
联系人 ID。 |
c-qL4HqKONzOM7**** |
| FailReasonList |
array<object> |
删除失败的联系人列表。 |
|
|
object |
删除失败的联系人列表。 |
||
| AccountId |
string |
成员 ID。 |
199796839435**** |
| MessageTypes |
array |
联系人接收的消息分类。 |
|
|
string |
联系人接收的消息分类。 |
AccountExpenses |
示例
正常返回示例
JSON格式
{
"RequestId": "95060F1D-6990-4645-8920-A81D1BBFE992",
"ContactDeletionStatus": {
"Status": "Deleting",
"ContactId": "c-qL4HqKONzOM7****",
"FailReasonList": [
{
"AccountId": "199796839435****",
"MessageTypes": [
"AccountExpenses"
]
}
]
}
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter.ContactId | The ContactId is invalid. | |
| 400 | MissingParameter.ContactId | You must specify ContactId. | |
| 404 | EntityNotExists.Contact | This Contact does not exist. |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。