批量查询指定号码黑名单打标状态。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| InstanceId |
string |
是 |
云联络中心实例 ID。 |
ccc-test |
| NumberList |
string |
是 |
待查询黑名单打标状态的号码列表,号码为加密号码(带有***),需要带 jobId 字段,反之不需要。 |
[{"number":"1521083xxxx","jobId":"job-481841171213393920"}] |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
032C73C4-3A6F-4502-872B-4F5B41161C6E |
| HttpStatusCode |
integer |
HTTP 状态码。 |
200 |
| Code |
string |
响应码。 |
OK |
| Message |
string |
响应信息。 |
无 |
| Data |
array<object> |
数据。 |
|
|
object |
号码黑名单打标信息。 |
||
| JobId |
string |
通话 ID。 |
job-481841171213393920 |
| Number |
string |
号码。 |
1521083xxxx |
| Blacklisted |
boolean |
是否有黑名单打标。 |
true |
示例
正常返回示例
JSON格式
{
"RequestId": "032C73C4-3A6F-4502-872B-4F5B41161C6E",
"HttpStatusCode": 200,
"Code": "OK",
"Message": "无",
"Data": [
{
"JobId": "job-481841171213393920",
"Number": "1521083xxxx",
"Blacklisted": true
}
]
}
错误码
|
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. | 号码标签数量超出单个呼入号码标记的上线阈值。 |
| 500 | InternalService.DB | An internal DB service error occurred. %s | 内部数据服务错误。 |
| 404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心实例不存在。 |
| 404 | NotExists.CustomCallTagging | Custom call tagging %s does not exist in instance %s. | 呼入号码标记不存在。 |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。
该文章对您有帮助吗?