批量查询指定号码黑名单打标状态。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
授权信息
当前API暂无授权信息透出。
请求参数
名称 | 类型 | 必填 | 描述 | 示例值 |
---|
名称 | 类型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 是 | 呼叫中心实例 ID。 | ccc-test |
NumberList | string | 是 | 待查询黑名单打标状态的号码列表,号码为加密号码(带有***),需要带 jobId 字段,反之不需要。 | [{"number":"1521083xxxx","jobId":"job-481841171213393920"}] |
返回参数
示例
正常返回示例
JSON
格式
{
"RequestId": "032C73C4-3A6F-4502-872B-4F5B41161C6E",
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"Data": [
{
"JobId": "job-481841171213393920",
"Number": "1521083xxxx",
"Blacklisted": true
}
]
}
错误码
HTTP status code | 错误码 | 错误信息 | 描述 |
---|
HTTP status code | 错误码 | 错误信息 | 描述 |
---|---|---|---|
400 | Parameter.Blank | The parameter %s must not be null or empty. | 该参数不能为null值。 |
400 | LimitExceed.CallTagsPerNumber | The total number of call tag of numbers exceeds the limit %s. | 号码标签数量超出单个呼入号码标记的上线阈值。 |
404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心实例不存在。 |
404 | NotExists.CustomCallTagging | Custom call tagging %s does not exist in instance %s. | 呼入号码标记不存在。 |
500 | InternalService.DB | An internal DB service error occurred. %s | 内部数据服务错误。 |
访问错误中心查看更多错误码。