historical-game-records-v2
Historical game records V2
* Endpoint: /api/server/recordHistory
* Method: POST
* Request notes:
- No more than 5 requests per hour.
- Each non-pagination request must be at least 1 minute apart.
- The start time must be earlier than or equal to the end time.
- The query window cannot exceed 6 hours and can only access records from the last 15 days.
* Request parameters:
| Field | Type | Required | Description |
|---|---|---|---|
| currency | string | Yes | Game currency. Refer to the Game platform reference appendix. |
| startTime | string | Yes | Order update start time in UTC+8 using the format yyyy-MM-dd HH:mm:ss. |
| endTime | string | Yes | Order update end time in UTC+8 using the format yyyy-MM-dd HH:mm:ss. |
| pageNo | string | No | Page number. Defaults to page 1 and sorts by ascending last-update time. |
| pageSize | string | No | Page size. Defaults to 200 and supports up to 2000. |
* Core response fields:
| Field | Type | Description |
|---|---|---|
| code | number | Business status code for the history query. |
| msg | string | Response message. |
| data.total | number | Total number of matched historical records. |
| data.pageNo | number | Current page number. |
| data.pageSize | number | Current page size. |
| data.list[] | array item | Each record includes playerId, platType, currency, gameType, gameName, round, table, seat, betAmount, validAmount, settledAmount, betContent, status, gameOrderId, betTime, and lastUpdateTime. |
* Response example:
{ "code": 10000, "msg": "request succeeded", "data": { "total": 1, "pageNo": 1, "pageSize": 200, "list": [ { "playerId": "test001", "platType": "im", "currency": "USD", "gameType": "4", "gameName": "Football", "round": "202404250002", "betAmount": 80, "validAmount": 80, "settledAmount": 25, "status": 1, "gameOrderId": "im202404250002", "betTime": "2024-04-25 09:00:00", "lastUpdateTime": "2024-04-25 09:25:00" } ] }
} historical-game-records-v2.txt · Last modified: 2023/11/23 19:24 by admin