Number Pool Configuration

POST
https://api.itniotech.com/number/editNumberPool
Edit number pool
 
Request Parameters
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 Sample
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"]
}  
 
Response Parameters
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
 
Response Sample
{
    "status": "0",
    "reason": "success",
    "data":null
}
 
Response Status Code
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