(only the betting records of the last 30 days are kept)
*Interface address:
- Domain name / V1 / user / record all
* Description:
- No more than 5 acquisitions every five minutes
- The start time and end time cannot exceed 24 hours (within 24 hours of any day can be obtained, and span one day is allowed). When betid is not empty, the start time and end time can be null
- Start time cannot be greater than end time (can be equal to)
- If there are many single records, the collection time can be shortened properly and the number of records obtained per page can be increased to avoid the excessive number of collection times per page.
*Request parameters:
Field name | type | length | Mandatory | Explain |
---|---|---|---|---|
Plat_type | String | 32 | Optional parameters | Platform type. Do not transfer to get all platforms (see Appendix platform type) |
Game_type | String | 10 | Optional parameters | Game type, do not transfer or get all types (see Appendix game type) |
Username | String | 30 | Optional parameters | Player name, do not pass it to get all player records |
IdStr | String | 10000 | Optional parameters | The globally unique ID of the platform. Multiple IDs are spliced with two equal signs, such as 111 = = 222 = = 333, with a maximum of 2000 IDS at a time. When the ID is not empty, the start time and end time parameters are blank, and only the betting records of the last 35 days are retained |
Sign_key | String | 32 | yes | Encrypted signature |
StartTime | Date | 32 | Optional parameters | Start time format: 10:00:00, November 8, 2018 |
EndTime | Date | 32 | Optional parameters | End time format: 20:00:00, November 8, 2018 |
TimeType | Int | 1 | Optional parameters | The default value is null. When the record is obtained according to the last update time and 1, the record is obtained according to the bet time |
Page | Int | 10 | yes | Page number default 1 |
Limit | Int | 10 | yes | Page size cannot be greater than 2000 default 100 |
Code | String | 32 | yes | md5(sign_key+api_account+startTime+endTime) |
*Response parameters
Field name | type | Explain |
---|---|---|
StatusCode | String | Success.01: success; other failures; |
Message | String | Information corresponding to code |
Data | String | Game record |
*Unified return field of betting record
Field name | Explain | Suggested field type |
---|---|---|
ID | Platform global unique ID this field needs to be saved by the merchant | Int (11) |
BetId | Note ID | Varchar (255) |
Username | Game player name | Varchar (60) |
PlatType | Platform typePlat_type | Varchar (20) |
GameType | Game typeGame_type | Tinyint (2) |
BetAmount | Amount of bet | decimal(12,4) |
ValidAmount | Effective bet amount | decimal(12,4) |
WinLoss | Winning or losing amount | decimal(12,4) |
GameName | Game name | Varchar (500) |
BetContent | The length of bet content database field is suggested to be text, and some game fields will have a long bet content | Text |
AwardResult | Lottery results | varchar(1000) |
BetTime | Bet (Beijing) time | Date |
lastUpdateTime | Last updated (Beijing) time | Date |
Status | Status 1 settled 2 unsettled 0 invalid note | Tinyint (1) |
请先
!