日本熟妇hd丰满老熟妇,中文字幕一区二区三区在线不卡 ,亚洲成片在线观看,免费女同在线一区二区

ListPhoneNumbers - 獲取號碼列表

調用ListPhoneNumbers獲取指定實例下的號碼列表。

調試

您可以在OpenAPI Explorer中直接運行該接口,免去您計算簽名的困擾。運行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。

授權信息

當前API暫無授權信息透出。

請求參數(shù)

名稱類型必填描述示例值
InstanceIdstring

實例 ID。

ccc-test
SearchPatternstring

根據(jù)號碼進行模糊匹配,非必填,默認為空,為空表示不過濾。

0833
Usagestring

號碼的用途,非必填,默認為空,為空表示不過濾。

枚舉值:
  • Outbound呼出。
  • Inbound呼入。
  • Bidirection呼入和呼出。
Bidirection
Activeboolean

號碼是否可用,非必填,默認為空,為空表示不過濾。

true
PageNumberinteger

分頁序號,范圍 1-100。

1
PageSizeinteger

分頁大小,范圍 1-100。

20

返回參數(shù)

名稱類型描述示例值
object
HttpStatusCodeinteger

HTTP 狀態(tài)碼。

200
RequestIdstring

請求 ID。

BA03159C-E808-4FF1-B27E-A61B6E888D7F
Codestring

響應碼。

OK
Messagestring

響應信息。

Dataobject

數(shù)據(jù)。

PageNumberinteger

分頁序號,范圍 1-100

1
PageSizeinteger

分頁序號,范圍 1-100

20
TotalCountinteger

總數(shù)。

1
Listarray<object>

號碼列表。

object
Activeboolean

號碼是否可用。

true
CreateTimestring

號碼創(chuàng)建時間,即關聯(lián)到實例的時間,格式為 Unix 時間戳,單位毫秒。

1617958538000
UserIdstring

坐席 ID,如果此參數(shù)不為空,說明該號碼是座席專屬號碼。

agent@ccc-test
Tagsstring

號碼業(yè)務標簽,主要用于給號碼打標,做一些擴展業(yè)務,普通客戶無需關心。

M1
Citystring

號碼歸屬地市。

樂山
InstanceIdstring

實例 ID。

ccc-test
Usagestring

號碼用途。

枚舉值:
  • Outbound呼出
  • Inbound呼入。
  • Bidirection呼入和呼出。
Bidirection
ContactFlowNamestring

號碼關聯(lián)的 IVR 聯(lián)系流名稱。

默認聯(lián)系流
Providerstring

號碼供應商名稱。

alicom
Numberstring

號碼。

08330011****
ContactFlowIdstring

號碼關聯(lián)的 IVR 聯(lián)系流 ID。

a3fb6c62-9b49-4942-ae5b-cf2abd4123ek
Provincestring

號碼歸屬地省。

四川
SkillGroupsarray<object>

號碼關聯(lián)的技能組列表。

object
DisplayNamestring

技能組展示名。

測試技能組
InstanceIdstring

實例 ID。

ccc-test
Namestring

技能組名稱。

skillgroup
SkillGroupIdstring

技能組 ID。

skillgroup@ccc-test

示例

正常返回示例

JSON格式

{
  "HttpStatusCode": 200,
  "RequestId": "BA03159C-E808-4FF1-B27E-A61B6E888D7F",
  "Code": "OK",
  "Message": "無",
  "Data": {
    "PageNumber": 1,
    "PageSize": 20,
    "TotalCount": 1,
    "List": [
      {
        "Active": true,
        "CreateTime": "1617958538000",
        "UserId": "agent@ccc-test",
        "Tags": "M1",
        "City": "樂山",
        "InstanceId": "ccc-test",
        "Usage": "Bidirection",
        "ContactFlowName": "默認聯(lián)系流",
        "Provider": "alicom",
        "Number": "08330011****",
        "ContactFlowId": "a3fb6c62-9b49-4942-ae5b-cf2abd4123ek",
        "Province": "四川",
        "SkillGroups": [
          {
            "DisplayName": "測試技能組",
            "InstanceId": "ccc-test",
            "Name": "skillgroup",
            "SkillGroupId": "skillgroup@ccc-test"
          }
        ]
      }
    ]
  }
}

錯誤碼

HTTP status code錯誤碼錯誤信息描述
400Parameter.EnumerationThe parameter %s must be one of the value of enumeration %s.該參數(shù)必須為系統(tǒng)限定的枚舉值之一。
400Parameter.MaximumThe parameter %s must be less than or equal to %s.參數(shù)必須小于或等于系統(tǒng)規(guī)定的最大值。
400Parameter.MinimumThe parameter %s must be greater than or equal to %s.參數(shù)必須大于或等于系統(tǒng)規(guī)定的最小值。
400Parameter.EmptyThe parameter %s may not be null or empty.該參數(shù)不能為null值或為空字符串。
400Parameter.NullThe parameter %s may not be null.該參數(shù)不能為null值.
404NotExists.InstanceIdThe specified instance %s does not exist.指定的呼叫中心實例不存在。

訪問錯誤中心查看更多錯誤碼。