Parameters | Description | Required | Type |
---|---|---|---|
oldPoolNumber | Number pool Virtual calling number, before modification | Yes | String |
poolNumber | Number pool Virtual calling number, modified | Yes | String |
customerWhitelist | Customer ip whitelist. Multiple ip addresses are separated by commas. 1-200 characters, alphanumeric and special symbols (,.) are supported. | Yes | String |
maxConcurrency | Maximum concurrency, support 0-9999 pure numbers. | Yes | String |
numberList | Number set | No | Array |
Request URL:
https://api.itniotech.com/number/createNumberPool
Request Method:
POST
Request Headers:
Content-Type: application/json;charset=UTF-8
Sign: 05d7a50893e22a5c4bb3216ae3396c7c
Timestamp: 1630468800
Api-Key: bDqJFiq9
Request Body:
{
"poolNumber": "918885",
"customerWhitelist": "192.168.10.17,192.168.10.18",
"maxConcurrency": 99,
"numberList": ["9178605501","9178605502"]
}
Parameters | Description | Type |
---|---|---|
status | Status code, 0 is successful, other failures refer to the interface response code | String |
reason | Failure cause description | String |
data | This method returns null | String |
{
"status": "0",
"reason": "success",
"data":null
}
status | Description |
---|---|
0 | Successful |
-1 | Abnormal account authentication |
-2 | Ip restrictions |
-16 | Timestamp expired |
-18 | System anomalies |
-20 | Data already exists |
-22 | Parameter exception |
-24 | Data not present |
-29 | WorkSpace disabled |
-30 | API Key disabled |
-31 | Ip is not in the whitelist |