获取靓号列表
POST
/openapi/pretty/numberList可以通过本接口来同步我方系统中的靓号数据。
- 注意事项:
- 同步号码时对接方需要存储号码ID,提交靓号申请订单和验证号码状态时需要用到
- 已同步过的号码可根据号码ID查询号码状态,判断号码是否可以下单
请求参数
Body 参数application/x-www-form-urlencoded
page
string
必需
页码最小值不能低于1
示例值:
10000
pageSize
string
必需
每页数量最大值不能大于200
示例值:
10
id
string
号码ID
poolId
string
号码池ID
number
string
可选
查询号码数字(模糊匹配)
provinceId
string
可选
归属地(省编码,这里采用的是通用编码)
cityId
string
可选
归属地(市编码,这里采用的是通用编码)
operatorType
string
可选
营运商类型,1移动 2联通 3电信 4广电
rule
string
可选
号码规则,如:AAA。完整规则请到我方后台查看
status
string
可选
号码状态 1销售中 2已锁号 3已预约 4已停售
createdAt
string
可选
号码发布时间,请传入时间戳范围数组转字符串格式
示例值:
[1724256000000,1726847999999]
notContain
string
可选
不含数字,可传入0~9,不要传1
contain
string
可选
包含数字多,可传入0~9
price
string
筛选价格区间
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
code
integer
必需
message
string
必需
data
object
必需
list
array [object {36}]
号码列表
timestamp
integer
必需
traceID
string
必需
示例
{
"code": 0,
"message": "string",
"data": {
"list": [
{
"id": 0,
"poolId": 0,
"number": 0,
"desc": "string",
"originalPrice": 0,
"price": 0,
"costPrice": 0,
"iccid": "string",
"provinceId": 0,
"cityId": 0,
"innerFee": 0,
"prestore": 0,
"minConsume": 0,
"agreementPeriod": 0,
"operatorType": 0,
"networkType": 0,
"remark": "string",
"isShow": 0,
"createdBy": 0,
"updatedBy": 0,
"status": 0,
"sort": 0,
"createdAt": "string",
"updatedAt": "string",
"hkNumberPoolName": "string",
"hkNumberPoolShowName": "string",
"regionName": "string",
"settleMode": 0,
"operatorName": "string",
"cityName": "string",
"rule": "string",
"highlight": "string",
"gap": "string",
"systemPrice": 0,
"prettyCommission": 0,
"packages": [
"string"
]
}
]
},
"timestamp": 0,
"traceID": "string"
}
最后修改时间: 3 个月前