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

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]
}

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
idLongFree Spin Reward Evnet ID
nameStringFree Spin Reward Evnet Name
creatorStringCreator
numberOfPlayersLongNumber Of Players
totalUseTimesLongNumber Of Spins Already Used
totalTimesLongTotal Number Of Spins
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
typeStringFree Spin Reward Type
NORMAL: Free spin for Base Game
FEATURE: Free spin for Feature Buy
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
timesStringFree Spin Reward Times
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
timesLongTotal Number Of Spins
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,
          "totalUseTimes": 0,
          "totalTimes": 5,
          "totalCashout": "0.000",
          "machineTypes": [
              14050,
              14053
          ],
          "status": "EXPIRED",
          "currency": "RB",
          "type": "NORMAL",
          "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,
          "maxWithdrawal": "100.000",
          "minWithdrawal": "10.000",
          "players": [
              {
                  "uid": "xxxxxx",
                  "useTimes": 0,
                  "times": 5,
                  "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."
}