User Tools

Site Tools


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:

FieldTypeRequiredDescription
currencystringYesGame currency. Refer to the Game platform reference appendix.
startTimestringYesOrder update start time in UTC+8 using the format yyyy-MM-dd HH:mm:ss.
endTimestringYesOrder update end time in UTC+8 using the format yyyy-MM-dd HH:mm:ss.
pageNostringNoPage number. Defaults to page 1 and sorts by ascending last-update time.
pageSizestringNoPage size. Defaults to 200 and supports up to 2000.

* Core response fields:

FieldTypeDescription
codenumberBusiness status code for the history query.
msgstringResponse message.
data.totalnumberTotal number of matched historical records.
data.pageNonumberCurrent page number.
data.pageSizenumberCurrent page size.
data.list[]array itemEach 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

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki