對(duì)指定號(hào)碼添加黑名單標(biāo)簽,可結(jié)合IVR設(shè)置,防止其頻繁呼入騷擾。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動(dòng)生成SDK代碼示例。
授權(quán)信息
當(dāng)前API暫無(wú)授權(quán)信息透出。
請(qǐng)求參數(shù)
名稱(chēng) | 類(lèi)型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 是 | 呼叫中心實(shí)例 ID。 | ccc-test |
Number | string | 是 | 電話號(hào)碼。 | 1764590**** |
JobId | string | 是 | 通話 ID。號(hào)碼為加密號(hào)碼(帶有*),需要填寫(xiě) JobId,非加密號(hào)碼,不需要填寫(xiě)該字段。 | job-6582589278232**** |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"RequestId": "9FBA26B0-462B-4D77-B78F-AF35560DBC71",
"HttpStatusCode": 200,
"Code": "OK",
"Message": "無(wú)"
}
錯(cuò)誤碼
HTTP status code | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
400 | Parameter.Blank | The parameter %s must not be null or empty. | 該參數(shù)不能為null值。 |
400 | LimitExceed.CallTagsPerNumber | The total number of call tag of numbers exceeds the limit %s. | 號(hào)碼標(biāo)簽數(shù)量超出單個(gè)呼入號(hào)碼標(biāo)記的上線閾值。 |
404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心實(shí)例不存在。 |
404 | NotExists.CustomCallTagging | Custom call tagging %s does not exist in instance %s. | 呼入號(hào)碼標(biāo)記不存在。 |
500 | InternalService.DB | An internal DB service error occurred. %s | 內(nèi)部數(shù)據(jù)服務(wù)錯(cuò)誤。 |
訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。