# 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", "uuid": "66ebd03a6ba560b87c009835", "useraccount": "test1", "gamename": "Splash Hunter novice", "tableid": "0", "betscore": "0.17", "winscore": "0.02", "userscore": "999998.74", "inserttime": 1732500566495, "sptrevenue": "0.06" },{ "betid": "oksjdhw0uh67", "uuid": "98ebd03a6baud87653hnbo98", "useraccount": "test1", "gamename": "Splash Hunter novice", "tableid": "0", "betscore": "0.02", "winscore": "0.01", "userscore": "999998.89", "inserttime": 1732500566495, "sptrevenue": "0.06" } ] } ``` ## Failed Result ``` { "status": 1003 } ```