game_bet_list.md 3.1 KB

Get transaction record

Description

This function allows Operator to get transactions by "bet time". Without getting too much duplicated data. Return 2000 records at most per API Call (order ascending)

Request method:( Host-> BeSoft):post

Encoding method:application/x-www-form-urlencoded

Besoft The response data format is: application/json

Method URL

{besoftapi}/api/game/getgameinfo

Request Parameters

| Name | Type | Required |Description| |:--------:|:-----:|:--------:|:--------:| | cert | string | Y |security code | | extension1 | string | Y |agent Id| | user | String(600) | N |If usernames are provided as input with "," as the delimiter (each username must be at least 6 characters long), or if empty, query all accounts under the agent's name.| | 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 1000|

Example

  • URL:
  • HTTP Method
    • POST
  • Form Data

    Content-Type: application/x-www-form-urlencoded

    cert:v8VMKKzlPpD0te4rX99Hgefs3PQrBFWJKiuUqg6Y
    extension1:adminweb
    user:test1
    st:1700122818110
    et:1700123037718
    page:0
    pagesize:20
    details:1
    serverid:104
    

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.transId | string | Unique ID | | transactions.useraccount | string | Player Account | | transactions.gamename | string | Game Name | | transactions.tableid | int32 | Game billing type | | transactions.spjpbet | double | Special jackpot pool Single cumulative prize pool bet value| | transactions.betscore | string | Bet amount| | transactions.winscore | string | Winning score | | transactions.userscore | string | Player's current score | | transactions.inserttime | int64 | Generation Date (TimeStamp:MS) |

## Return Result

{
    "status": 0,
    "totalsize": 2,
    "transactions": [
        {
            "betid": "kpsh7vw0osn0",
			"transId": "667c009835",
            "useraccount": "test1",
            "gamename": "Splash Hunter novice",
            "tableid": "0",
            "betscore": "0.17",
            "spjpbet": "0.0123",
            "winscore": "0.02",
            "userscore": "999998.74",
            "inserttime": 1732500566495,
        },{
            "betid": "oksjdhw0uh67",
			"transId": "98e3hnbo98",
            "useraccount": "test1",
            "gamename": "Splash Hunter novice",
            "tableid": "0",
            "betscore": "0.02",
            "spjpbet": "0.0123",
            "winscore": "0.01",
            "userscore": "999998.89",
            "inserttime": 1732500566495,
        }
    ]
}

## Failed Result

{
"status": 1003
}