Parameters | Description | Required | Type |
---|---|---|---|
current | Current page number, 1-N | Yes | Integer |
size | Number of displays per page, 1-100 | Yes | Integer |
params | Paging parameters | Yes | JSONObject |
appId | Application id | No | String |
Request URL:
https://api.itniotech.com/number/query
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":{
"appId":"4luaKsL2"
}
}
Parameters | Description | Type |
---|---|---|
status | Status code, 0 is successful, other failures refer to the interface response code | String |
reason | Failure cause description | String |
data | Paging data | JSONObject |
total | Total number of records | Integer |
size | Number of displays per page | Integer |
current | Current page number | Integer |
pages | Total page number | Integer |
records | Data collection | JSONArray |
bindId | Bind ID | Integer |
phoneA | Number A | String |
phoneB | Number B | String |
pnsNumberA | Middle number 1(A visible) | String |
pnsNumberB | Middle number 2(B visible) | Integer |
expireTime | Expiration time, timestamp (seconds) | String |
{
"status": "0",
"reason": "success",
"data": {
"total": 5,
"size": 20,
"current": 1,
"pages": 1,
"records": [
{
"bindId":1234,
"phoneA": "915027021995",
"phoneB": "9150270219956",
"pnsNumberA": "91502211",
"pnsNumberB": "915022112",
"expireTime": "2023-10-22 09:00:00"
}
]
}
}
status | Description |
---|---|
0 | Successful |
-1 | Abnormal account authentication |
-2 | Ip restrictions |
-16 | Timestamp expired |
-18 | System anomalies |
-22 | Parameter exception |
-29 | WorkSpace disabled |
-30 | API Key disabled |
-31 | Ip is not in the whitelist |