Seamless
JDB Platform API
Functions
Free Spin Reward
Action 76: Search Free Spin Reward event info

Action 76:Search Free Spin Reward Event Info

Function Description

  • Search Free Spin Reward Event Info

Parameter

ParameterFormatMandatoryDescription
actionIntegerY76
tsLongYCurrent system time
parentString(50)YAgent ID
startTimeStringYFree Spin Reward Evnet Start Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
endTimeStringYFree Spin Reward Evnet End Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
eventIdLongNFree Spin Reward Evnet ID
nameString(70)NFree Spin Reward Evnet Name
statusIntegerNFree Spin Reward Evnet Status
INACTIVE:0
ACTIVE:1
EXPIRED:2
TERMINATED:3
machineTypesInteger ArrayNMachine Type

See Game List (4.2) in appendix
typesString ArrayNFree Spin Reward Type
NORMAL: Normal Game
FEATURE: Featured Game
BONUSCHIPS: Bonus Chips Game

Example

{
  "action": 76,
  "ts": 1711555200000,
  "parent": "testag",
  "eventId": 123456,
  "name": "eventname",
  "startTime": "2024-07-22T04:05:33.000+01:00",
  "endTime": "2024-07-22T04:05:33.000+01:00",
  "status": 1,
  "machineTypes": [14033],
  "types": ["NORMAL", "FEATURE"]
}

Return Results

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
dataJSON ArrayThe returned listed in the following table.
err_textString(255)Error messages will only appear if an error occurs.

Free Spin Reward Event Info

ParameterFormatDescription
eventIdLongFree Spin Reward Evnet ID
nameStringFree Spin Reward Evnet Name
creatorStringCreator
numberOfPlayersLongNumber Of Players
typeStringFree Spin Reward Type
NORMAL: Normal Game
FEATURE: Featured Game
BONUSCHIPS: Bonus Chips Game
totalUseTimesLongNumber Of Spins Already Used
This field is only used for normal game and feature game, otherwise it is null
totalTimesLongTotal Number Of Spins
This field is only used for normal game and feature game, otherwise it is null
totalCashoutStringTotal Cashout Amount
machineTypesInteger ArrayMachine Types

See Game List (4.2) in appendix
statusStringFree Spin Reward Status
INACTIVE: Inactive
ACTIVE: Active
EXPIRED: Expired
TERMINATED: Terminated
currencyStringCurrency

See Currency Code
startTimeStringFree Spin Reward Start Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
endTimeStringFree Spin Reward End Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
createTimeStringFree Spin Reward Create Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
updateTimeStringFree Spin Reward Update Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
betStringFree Spin Reward Bet Amount per Spin
This field is only used for normal game and feature game, otherwise it is null
timesStringFree Spin Reward Times
This field is only used for normal game and feature game, otherwise it is null
bonusChipsStringBonus Chips
This field is only used for bonus chips game, otherwise it is null
chipsMultiplierStringChips Multiplier
This field is only used for bonus chips game, otherwise it is null
minWithdrawalStringSingle Player's Minimum Withdrawal Amount
maxWithdrawalStringSingle Player's Maximum Withdrawal Amount
playersJSON ArrayThe returned listed in the following table.

Free Spin Reward Player Info

ParameterFormatDescription
uidStringPlayer ID
useTimesLongNumber Of Spins Already Used
This field is only used for normal game and feature game, otherwise it is null
timesLongTotal Number Of Spins
This field is only used for normal game and feature game, otherwise it is null
requiredTurnoverStringRequired Turnover
This field is only used for bonus chips game, otherwise it is null
accumulatedTurnoverStringPlayer Accumulated Turnover
This field is only used for bonus chips game, otherwise it is null
alreadySettleBooleanindicates whether the player has completed a cash-out
For normal games and featured games: true if the player has used up all available free spins, otherwise false
For bonus chips games: true if the player has used up all bonus chips or met the turnover requirement, otherwise false
cashoutStringCashout Amount

Operation Sample

// Http Request
http://{API_Address}/apiRequest.do?dc=jb1&x=y1wayxScczy6ABfElfaVwb5CdfHxBN_JGtxyBSvpohLQakP8M2QSetJNojJBzvnrVChhq8YWWgBTdGeXFTH4vSNQQ66epf4NqYeQ-6bJ15pvHctQjQevulv7GHqOifuju_gY0H54FfVdQc9D5tKh1AZ-9KDh9dwcGSszZxU7JOOoHdYITlCO5LhvGmHxPBwZ
 
// Http Response (success)
{
    "status": "0000",
    "data": [
        {
          "eventId": 14147,
          "name": "test line",
          "creator": "xxxx",
          "numberOfPlayers": 1,
          "type": "NORMAL",
          "totalUseTimes": 0,
          "totalTimes": 5,
          "totalCashout": "0.000",
          "machineTypes": [
              14050,
              14053
          ],
          "status": "EXPIRED",
          "currency": "RB",
          "startTime": "2024-07-17T16:00:00.000+01:00",
          "endTime": "2024-07-22T16:00:00.000+01:00",
          "createTime": "2024-07-19T02:36:43.175+01:00",
          "updateTime": "2024-07-19T02:36:43.175+01:00",
          "bet": "0.680",
          "times": 5,
          "bonusChips": null,
          "chipsMultiplier": null,
          "maxWithdrawal": "100.000",
          "minWithdrawal": "10.000",
          "players": [
              {
                  "uid": "xxxxxx",
                  "useTimes": 5,
                  "times": 5,
                  "requiredTurnover": null,
                  "accumulatedTurnover": null,
                  "alreadySettle": true,
                  "cashout": "0.000"
              }
          ]
        }
    ]
}
 
// Http Response (no data)
{
    "status": "0000",
    "data": []
}
 
// Http Response (failed)
1. If query startime is greater than endtime, will receive response:
{
    "status": "8009",
    "err_text": "Time interval exceeds the allowable range."
}