用户工具

站点工具


en:历史记录v2

History V2

Request address: /api/server/recordHistory

Request protocol: POST

Request description:

*No more than 5 requests per hour

* Each request must be 1 minute interval (pagination is not included)

* The start time must be less than or equal to the end time

* The start time and end time cannot exceed 6 hours (data within 15 days can be obtained)

Request parameters:

FieldstypeRequiredillustrate
currencystringyesGame currency, refer to the appendix of “Game Platform”
startTimestringyesOrder update time UTC +8 starts, time format: “yyyy-MM-dd HH:mm:ss”, example: “2022-08-08 18:18:18”
endTimestringyesOrder update time UTC +8 ends, time format: “yyyy-MM-dd HH:mm:ss”, example: “2022-08-08 18:18:18”
pageNostringnoPage number, default page 1, return data according to the order update time
pageSizestringnoPage capacity, default 200, maximum 2000

Return to the example:

    {
"code": 10000, // Status code, 10000 Success, Other failures
"msg": "Request succeeded", // Return information
        "data": {
"total": 1, // Total
"pageNo": 1, // Page number
"pageSize": 200, // Page capacity
            "list": [
                            {
"playerId": "abc123456", // Player account
"platType": "ag", // Game platform
"currency": "CNY", // Game currency
"gameType": "1", // Game type, 1: Video, 2: Slot, 3: Lottery, 4: Sports, 5: Esports, 6: Hunting, 7: Chess and Cards
"gameName": "Baccarat", // Game name
"round": "888888888", // Bureau number
"table": "888888888", // Table number
"seat": "888888888", // Seat number
"betAmount": 100.00, // Bet amount
"validAmount": 95.00, // Valid bet amount
"settledAmount": -100.00, // Win or lose amount
"betContent": "Banker", // Betting content, the database field length is recommended to be text, and some game field content will be relatively long
"status": 1, // Status, 0: Not completed, 1: Completed, 2: Cancel, 3: Revoked
"gameOrderId": "000001", // Order number
"betTime": "2022-08-08 18:18:18", // Order creation time (UTC +8)
"lastUpdateTime": "2022-08-08 18:18:18" // Order update time (UTC +8)
                            }
                     ]
                  }
    }
en/历史记录v2.txt · 最后更改: 2023/11/23 19:24 由 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki