調(diào)用ListPhoneNumbersOfSkillGroup獲取指定實(shí)例下指定技能組關(guān)聯(lián)的號(hào)碼列表,也可以通過(guò)該接口反查未關(guān)聯(lián)但可關(guān)聯(lián)到該技能組的號(hào)碼。
接口說(shuō)明
注意:如果號(hào)碼已作為個(gè)人外呼號(hào)碼使用,則不會(huì)出現(xiàn)在可添加到技能組的號(hào)碼列表中。
調(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ù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
InstanceId | string | 是 | 實(shí)例 ID。 | ccc-test |
SkillGroupId | string | 是 | 技能組 ID。 | skillgroup@ccc-test |
PageNumber | integer | 是 | 分頁(yè)序號(hào),范圍 1-100。 | 1 |
PageSize | integer | 是 | 分頁(yè)大小,范圍 1-100。 | 10 |
IsMember | boolean | 是 | 是否關(guān)聯(lián)技能組,若為 true,則查詢 SkillgroupId 關(guān)聯(lián)的號(hào)碼列表,若為 false,則查詢 SkillgroupId 可關(guān)聯(lián)但未關(guān)聯(lián)的號(hào)碼列表。通常和 AddNumbersToSkillGroup 接口一起使用。 | true |
SearchPattern | string | 否 | 根據(jù)號(hào)碼進(jìn)行模糊匹配,非必填,默認(rèn)為空,為空表示不過(guò)濾。 | 0833 |
Active | boolean | 否 | 號(hào)碼是否可用,非必填,默認(rèn)為空,為空表示不過(guò)濾。 | true |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"Code": "OK",
"HttpStatusCode": 200,
"Message": "無(wú)",
"RequestId": "EEEE671A-3E24-4A04-81E6-6C4F5B39DF75",
"Data": {
"PageNumber": 1,
"PageSize": 10,
"TotalCount": 1,
"List": [
{
"Active": true,
"Number": "08330011****",
"City": "樂(lè)山",
"InstanceId": "ccc-test",
"Usage": "Bidirection",
"ContactFlowId": "a3fb6c62-9b49-4942-ae5b-cf2abd4123ek",
"Province": "四川"
}
]
}
}
錯(cuò)誤碼
HTTP status code | 錯(cuò)誤碼 | 錯(cuò)誤信息 | 描述 |
---|---|---|---|
400 | Parameter.Maximum | The parameter %s must be less than or equal to %s. | 參數(shù)必須小于或等于系統(tǒng)規(guī)定的最大值。 |
400 | Parameter.Minimum | The parameter %s must be greater than or equal to %s. | 參數(shù)必須大于或等于系統(tǒng)規(guī)定的最小值。 |
400 | Parameter.Empty | The parameter %s may not be null or empty. | 該參數(shù)不能為null值或?yàn)榭兆址?/span> |
400 | Parameter.Null | The parameter %s may not be null. | 該參數(shù)不能為null值. |
404 | NotExists.InstanceId | The specified instance %s does not exist. | 指定的呼叫中心實(shí)例不存在。 |
404 | NotExists.SkillGroupId | The skill group ID %s does not exist in instance %s. | 呼叫中心實(shí)例中不存在指定的技能組ID。 |
訪問(wèn)錯(cuò)誤中心查看更多錯(cuò)誤碼。
變更歷史
變更時(shí)間 | 變更內(nèi)容概要 | 操作 |
---|
暫無(wú)變更歷史