| 參數 | 説明 | 是否必填 | 類型 |
|---|---|---|---|
| current | 當前頁碼,1-N | 是 | Integer |
| size | 每頁顯示數,1-100 | 是 | Integer |
| params | 分頁參數 | 否 | JSONObject |
Request URL:
https://api.laaffic.com/v3/number/queryNumberPool
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"current":1,
"size":10,
"params":{}
}| 參數 | 説明 | 類型 |
|---|---|---|
| status | 狀態碼,0成功,其他失敗參見響應狀態碼说明 | String |
| reason | 原因說明 | String |
| data | 分頁數據 | JSONObject |
| total | 總記錄條數 | Integer |
| size | 每頁顯示數 | Integer |
| current | 當前頁碼 | Integer |
| pages | 總頁碼 | Integer |
| records | 數據集合 | JSONArray |
| poolNumber | 號碼池虛擬主叫號碼 | String |
| customerWhitelist | 客戶ip白名單,多個ip以逗號隔開 | String |
| maxConcurrency | 最大並發 | String |
| numberList | 號碼集合 | Array |
{
"status": "0",
"reason": "success",
"data": {
"total": 5,
"size": 20,
"current": 1,
"pages": 1,
"records": [
{
"poolNumber": "915027021995",
"customerWhitelist":"192.168.10.17,192.168.10.18",
"maxConcurrency":99,
"numberList":["9178605501","9178605502"]
}
]
}
}
| status | 狀態說明 |
|---|---|
| 0 | 成功 |
| -1 | 賬號認證異常 |
| -2 | ip限制 |
| -16 | 時間戳過期 |
| -18 | 系統異常 |
| -22 | 參數異常 |
| -25 | 超出時間範圍限制 |
| -29 | WorkSpace被禁用 |
| -30 | API Key被禁用 |
| -31 | ip不在白名單內 |
點擊此處開啟人工服務