查询子帐号列表

所属服务

pubproxy

接口方法

GET

请求 url

/pubproxy?Action=QuerySubAccountByPage&Version=2018-03-22&PageNo=&PageSize=&IsOrderByCreate=&IsOrderByLogin=&IsDesc=

url 参数

参数名称说明参数类型是否必填备注
PageNo页数long
PageSize大小long
IsOrderByCreate是否根据创建时间排序(同时选择IsOrderByCreate和IsOrderByLogin,会先根据CreateTime排序然后根据LoginTime排序)boolean
IsOrderByLogin是否根据最后登录时间排序(同时选择IsOrderByCreate和IsOrderByLogin,会先根据CreateTime排序然后根据LoginTime排序)boolean
IsDesc是否倒序(需要配合IsOrderByCreate、IsOrderByLogin一起使用)(同时选择IsOrderByCreate和IsOrderByLogin,会先根据CreateTime排序然后根据LoginTime排序)boolean
ActionQuerySubAccountByPagestring
Version2018-03-22string

返回参数

参数名称说明参数类型是否必填备注
Total子账号总数string
List子账号详细信息array详细信息见下表

List

参数名称说明参数类型是否必填备注
Emailstring
Phonestring
SubAccountstring
Remarkstring
LastLoginTimestring
CreateTimestring

状态码

错误码(Code)错误提示(Message)http status code说明
PageSizeMaxCountPageSize too many, Top is 50400页容量过大,目前最大支持50
InternalServerErrorInternal server error500内部服务异常
AccountNotExsistAccount Not Exsist400主账号不存在
PageNoInvalidPageNo Not Less Than 1400页码不能小于1

请求示例

https://open.cn-east-1.163yun.com/pubproxy?Action=QuerySubAccountByPage&Version=2018-03-22&PageNo=1&PageSize=3&IsOrderByCreate=false&IsOrderByLogin=false&IsDesc=false

返回示例

{
    "Data": {
        "List": [
            {
                "Remark": "zxrtest",
                "Phone": "13575703105",
                "Email": "",
                "SubAccount": "zxrtest",
				"LastLoginTime": "2018-07-23T20:21:41Z",
                "CreateTime": "2017-02-14T22:31:55Z"
            },
            {
                "Remark": "xxxs1",
                "Phone": "13110865267",
                "Email": "",
                "SubAccount": "subaccount5",
				"LastLoginTime": "2018-07-23T20:21:41Z",
                "CreateTime": "2017-02-14T22:31:55Z"
            },
            {
                "Remark": "123456223",
                "Phone": "13110865267",
                "Email": "asdfa@163.com",
                "SubAccount": "fqtest-online",
				"LastLoginTime": "2018-07-23T20:21:41Z",
                "CreateTime": "2017-02-14T22:31:55Z"
            }
        ],
        "Total": "32"
    },
    "Code": "Success",
    "Message": "The Api was called successfully."
}