Number Of Bet Records

Used by merchants to query the number of bet records of players and games

GetGameRecordCount

This API is provided by the MINI.GAME platform and is called by the integrator.

POST {BACKEND_URL}/api/special/outer/record/GetGameRecordListCount?trace_id=your_trace_id

{BACKEND_URL} is the MINI.GAME configuration interface in the merchant backend where the domain for backend API calls can be obtained.

Headers

Parameter
Location
Required
Type
Description

app_id

header

Yes

string

Merchant number

trace_id

url params

Yes

string

unique and randomly generated.

Please refer to the Signature Algorithm and Example page for details on the signature algorithm.

Body

Name
Type
Description

uname

string

User ID, matches the uname field used for game player verification.

game_id

string

Game ID,If id=0, query all games

start_time

integer

Query Start Time: Timestamp in UTC+0

end_time

integer

Query End Time: Timestamp in UTC+0

If start_time and end_time need to be obtained through date conversion, use dates in the UTC+0 time zone to convert to timestamps (in seconds).

Integrator Request Parameter Example

{
    "uname": "1004613",
    "game_id": "10049",
    "start_time": 0,
    "end_time": 0
}

MINI.GAME Platform Response Parameter Example

{
    "code": 1,
    "msg": "success",
    "data": 10000
}

Response Example Parameter Descriptions

Return value
Required
Type
Description

code

Yes

integer

Status Code

msg

Yes

string

Prompt message

data

Yes

integer

Number of bet records

Error Code

For more error codes, please refer to the Special Error Code page description.

Last updated