URL: /api/platform/plugindata/queryGamePlayerRecordList
Type: POST
Author: Shang Pan
Content-Type: application/json; charset=utf-8
Description: 游戏玩法数据-游戏数据列表分页条件查询
Body-parameters:
Parameter | Type | Required | Description |
---|---|---|---|
opfid | string | true | 开放平台ID |
nonce | string | true | 6位随机字串不能为空 |
timestamp | string | true | 签名时间戳 |
signature | string | true | 签名 |
uid | String | true | 第三方用户id |
appId | string | true | 作品ID |
componentId | string | true | 玩法组件ID |
nickName | string | false | 用户呢称 |
startTime | string | true | 开始时间, yyyy-MM-dd HH:mm:ss |
endTime | string | true | 结束时间, yyyy-MM-dd HH:mm:ss |
pageNo | int32 | true | 第几页,从1开始 |
pageSize | int32 | true | 每页数据条数 |
Response-fields:
Field | Type | Description | Since |
---|---|---|---|
code | string | 状态码 | - |
errorCode | string | 错误状态码 | - |
msg | string | 状态描述 | - |
data | object | 数据 | - |
└─list | array | 结果列表 | - |
└─openid | string | openid | |
└─orgId | string | 兔展定义的企业ID | - |
└─appId | string | 作品ID | - |
└─componentId | string | 玩法唯一标识ID | - |
└─startTime | string | 开始时间, yyyy-MM-dd HH:mm:ss | - |
└─endTime | string | 结束时间, yyyy-MM-dd HH:mm:ss | - |
└─pageNo | int32 | 第几页,从1开始 | - |
└─pageSize | int32 | 每页数据条数 | - |
└─id | int32 | id | - |
└─scoreRank | int32 | 得分排名 | - |
└─nickName | string | 用户呢称 | - |
└─maxScore | int32 | 最高得分 | - |
└─countScore | int32 | 累计得分 | - |
└─avatar | string | 微信头像 | - |
└─audienceUserId | string | 客户Id | - |
└─createTime | string | 创建时间 | yyyy-MM-dd HH:mm:ss |
└─pageNo | int32 | 页码 | - |
└─pageSize | int32 | 每页的大小 | - |
└─totalCount | int32 | 总行数 | - |
└─beginIndex | int32 | No comments found. | - |
└─orderCondition | string | No comments found. | - |
└─pageCount | int32 | No comments found. | - |
└─sort | string | 排序字段 | - |
└─order | string | 排序顺序 | - |
└─mulFieldOrder | string | No comments found. | - |
Request-body-example:
{ "opfid": "71", "nonce": "73hp95", "timestamp": "2021-08-19 14:47:59", "signature": "yfazx8", "appId": "71", "componentId": "71", "nickName": "robby.gutkowski", "startTime": "2021-08-19 14:48:01", "endTime": "2021-08-19 14:48:01", "pageNo": 818, "pageSize": 10 }
Response-example:
{ "code": "21339", "errorCode": "21339", "msg": "8pgqj6", "data": { "list": [ { "openid":"asda-sada-1132", "orgId": "71", "appId": "71", "componentId": "71", "startTime": "2021-08-19 14:48:01", "endTime": "2021-08-19 14:48:01", "createTime":"2021-08-19 14:48:01", "pageNo": 10, "pageSize": 10, "id": 751, "scoreRank": 300, "nickName": "robby.gutkowski", "maxScore": 127, "countScore": 334, "avatar": "r48yx9", "audienceUserId": "71" } ], "pageNo": 671, "pageSize": 10, "totalCount": 696, "beginIndex": 174, "orderCondition": "6vfyyw", "pageCount": 252, "sort": "7h7x0q", "order": "nr8c5u", "mulFieldOrder": "cnim1y" } }
Curl-example:
curl -X POST -H 'Content-Type: application/json; charset=utf-8' -i http://127.0.0.1:36190/api/platform/plugindata/queryGamePlayerRecordList --data '{ "opfid": "71", "nonce": "73hp95", "timestamp": "2021-08-19 14:47:59", "signature": "yfazx8", "appId": "71", "componentId": "71", "nickName": "robby.gutkowski", "startTime": "2021-08-19 14:48:01", "endTime": "2021-08-19 14:48:01", "pageNo": 818, "pageSize": 10 }'