Skip to main content
GET
/
open
/
api
/
phone
/
list
Get phone list
curl --request GET \
  --url https://user.pmock.com/api/open/api/phone/list
{
  "traceId": "",
  "total": 0,
  "rows": [
    {
      "id": 0,
      "name": "",
      "groupId": 0,
      "groupName": "",
      "code": "",
      "spuId": 0,
      "spuName": "",
      "skuId": 0,
      "phoneModel": "",
      "phoneBrand": "",
      "adbIp": "",
      "adbPort": "",
      "adbPassword": "",
      "payType": 0,
      "skuName": "",
      "cycleName": "",
      "cycleEnum": "",
      "expireStatus": 0,
      "networkId": 0,
      "channel": "",
      "powerOnTime": "",
      "powerOffTime": "",
      "expireTime": "",
      "expireDuration": "",
      "nextPayTime": "",
      "status": 0,
      "remark": "",
      "userId": 0,
      "createUser": "",
      "createTime": "",
      "updateTime": "",
      "networkResVO": {
        "host": "",
        "port": 0,
        "account": "",
        "password": "",
        "region": "",
        "num": 0,
        "countryCode": "",
        "countryName": "",
        "type": "",
        "timezone": "",
        "language": "",
        "ip": "",
        "latitude": "",
        "longitude": "",
        "bindCount": 0,
        "status": 0,
        "detectDataType": 0,
        "groupId": 0,
        "remark": ""
      },
      "authorizeResVO": {
        "avatar": "",
        "name": "",
        "userId": 0
      },
      "cycle": 0
    }
  ],
  "code": 0,
  "msg": ""
}

Query Parameters

nameOrCode
string

phone name or phone number

Maximum string length: 32
spuId
integer<int64>

phone spuId, The spuId value contained in the current interface's returned result

skuId
integer<int64>

phone skuId, The skuId value contained in the current interface's returned result

status
integer

phone status, The status value contained in the current interface's returned result, 1=normal,2=restart,4=powerOff,41=powerOn,6=reset,7=One-click New Device

authorizeUserIds
string

Authorized User ID list, The userId value contained in the current interface's returned result

expireStatus
integer

Billing (expired) status: 0=expired, 1=normal

skuName
string

sku name, The skuName value contained in the current interface's returned result

networkId
integer<int64>

phone network ID, The networkId value contained in the current interface's returned result

groupId
integer<int64>

phone grouping ID list, The groupId value contained in the current interface's returned result

groupCode
string

phone group code, Value is all_group=All groups,renew_expired=After the renewal period,un_group=Not grouped

groupType
string

phone group type, Value is system_group=System grouping,custom_group=Custom grouping

pageSize
integer

Number of records displayed per page The default is1,and the maximum number of items in a single query is:1

pageNum
integer

Current page count

Response

200 - application/json
traceId
string

Link ID

total
integer<int64>

Total number of records

rows
object[]

list data

code
integer

Message status code

msg
string

message content