# Get player total profit ## Description > This function allows operators to retrieve transaction records based on "betting date". Therefore, duplicate data is minimized. Each API call can return a maximum of 2000 records (sorted by increasing time). ## Method URL ``` http://{besofthost}/api/game/getgameinfo ``` ## Request Parameters | Name | Type | Required |Description| |:--------:|:-----:|:--------:|:--------:| | cert | string | Y |security code | | extension1 | string | Y |agent Id| | user | String(600) | N |a series of usernames split by comma(,)| | st | Long | Y |start time of bet time interval (24 hours at most)e.g. 1517265756000| | et | Long | Y |end time of bet time interval (24 hours at most)e.g. 1517265756000| | page | integer | Y |start from 0 | | pagesize | integer | Y |maximum 2000| ## Return Result | Name | Type| Description | |:--------:|:-----:|:--------:| | status | string | status code | | totalsize | string |total number of records | | transactions | string | transaction data array | | transactions.betid | string | Record ID | | transactions.uuid | string | Unique ID | | transactions. useraccount | string | Player Account | | transactions.gamename | string | Game Name | | transactions.tableid | string | Table ID | | transactions. betscore | string | Bet amount| | transactions. winscore | string | Winning score | | transactions. userscore | string | Player's current score | | transactions. inserttime | int64 | Generation Date (TimeStamp:MS) | | transactions.sptrevenue | string | Cumulative prize pool bet value | ## Return Result ``` { "status": 0, "totalsize": 2, "transactions": [ { "betid": "kpsh7vw0osn0", "transId": "667c009835", "useraccount": "test1", "gamename": "Splash Hunter novice", "tableid": "0", "betscore": "0.1712", "spjpbet": "0.0123", "winscore": "0.0245", "userscore": "999998.7467", "inserttime": 1732500566495, "sptrevenue": "0.0689" },{ "betid": "oksjdhw0uh67", "transId": "98e3hnbo98", "useraccount": "test1", "gamename": "Splash Hunter novice", "tableid": "0", "betscore": "0.0212", "winscore": "0.0134", "userscore": "999998.8956", "inserttime": 1732500566495, "sptrevenue": "0.0678" } ] } ``` ## Failed Result ``` { "status": 1003 } ```