Get all platform game records

(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 nametypelengthMandatoryExplain
Plat_typeString32Optional parametersPlatform type. Do not transfer to get all platforms (see Appendix platform type)
Game_typeString10Optional parametersGame type, do not transfer or get all types (see Appendix game type)
UsernameString30Optional parametersPlayer name, do not pass it to get all player records
IdStrString10000Optional parametersThe 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_keyString32yesEncrypted signature
StartTimeDate32Optional parametersStart time format: 10:00:00, November 8, 2018
EndTimeDate32Optional parametersEnd time format: 20:00:00, November 8, 2018
TimeTypeInt1Optional parametersThe 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
PageInt10yesPage number default 1
LimitInt10yesPage size cannot be greater than 2000 default 100
CodeString32yesmd5(sign_key+api_account+startTime+endTime)

*Response parameters

Field nametypeExplain
StatusCodeStringSuccess.01: success; other failures;
MessageStringInformation corresponding to code
DataStringGame record

*Unified return field of betting record

Field nameExplainSuggested field type
IDPlatform global unique ID this field needs to be saved by the merchantInt (11)
BetIdNote IDVarchar (255)
UsernameGame player nameVarchar (60)
PlatTypePlatform typePlat_typeVarchar (20)
GameTypeGame typeGame_typeTinyint (2)
BetAmountAmount of betdecimal(12,4)
ValidAmountEffective bet amountdecimal(12,4)
WinLossWinning or losing amountdecimal(12,4)
GameNameGame nameVarchar (500)
BetContentThe length of bet content database field is suggested to be text, and some game fields will have a long bet contentText
AwardResultLottery resultsvarchar(1000)
BetTimeBet (Beijing) timeDate
lastUpdateTimeLast updated (Beijing) timeDate
StatusStatus 1 settled 2 unsettled 0 invalid noteTinyint (1)

comment0

请先

Login / registration
Administrator Login