Seamless
JDB Platform API
Functions
Free Spin Reward
Action 77: Update Free Spin Reward Event

Action 77:Update Free Spin Reward Event

Function Description

  • Update Free Spin Reward Event
  • Minimum Withdrawal must be less than or equal to Maximum Withdrawal
  • End time must be after the current time
  • If status is 0000, it indicates successful update of Free Spin Reward Event
  • About Free Spin Reward Bet Amount per Spin - Since the betting combinations of each currency house, agent, and game are different, the system automatically chooses the closest bet amount that does not exceed the specified value and it must be greater than the minimum bet amount specified by the game.
  • For instance,
    • Bet settings of Game A: 1, 5, 15, 20, 30
      Bet settings of Game B: 1, 5, 20, 25, 30
      Free Spin Reward Bet Amount per Spin is set as 25, when the player joins one of the games, the bet amount will vary as the following:
      Game A: bet 20
      Game B: bet 25
    • It must be greater than the minimum bet amount of all specified games

Parameter

ParameterFormatMandatoryDescription
actionIntegerY77
tsLongYCurrent system time
parentString(50)YAgent ID
eventIdLongYFree Spin Reward Event ID
nameString(70)YFree Spin Reward Event Name
startTimeStringYFree Spin Reward Event Start Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
endTimeStringYFree Spin Reward Event End Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
machineTypesInteger ArrayYMachine Type

See Game List (4.2) in appendix
betStringYFree Spin Reward Bet Amount per Spin
The system auto-sets the bet, not exceeding the specified amount for each game spin.
minWithdrawalStringYMinimum Withdrawal Amount
Can be set to -1 to indicate no limit, i.e. no minimum withdrawal amount restriction.
maxWithdrawalStringYMaximum Withdrawal Amount
Can be set to -1 to indicate no limit, i.e. no maximum withdrawal amount restriction.

Example

{
  "action": 77,
  "ts": 1711555200000,
  "parent": "testag",
  "eventId": 1234,
  "name": "TEST EVENT NAME",
  "startTime": "2024-07-22T04:05:33.000+01:00",
  "endTime": "2024-07-22T04:05:33.000+01:00",
  "machineTypes": [
      14077,
      14085
  ],
  "bet": "2.000",
  "minWithdrawal": "10.000",
  "maxWithdrawal": "100.000"
}

Return Results

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
err_textString(255)Error message

Operation Sample

// Http Request
http://{API_Address}/apiRequest.do?dc=jb1&x=y1wayxScczy6ABfElfaVwb5CdfHxBN_JGtxyBSvpohLQakP8M2QSetJNojJBzvnrVChhq8YWWgBTdGeXFTH4vSNQQ66epf4NqYeQ-6bJ15pvHctQjQevulv7GHqOifuju_gY0H54FfVdQc9D5tKh1AZ-9KDh9dwcGSszZxU7JOOoHdYITlCO5LhvGmHxPBwZ
 
// Http Response (success)
{
    "status": "0000"
}
 
// Http Response (failed)
1. If necessary parameters are not provided or not meet requirement, for example: name, then:
{
    "status": "8000",
    "err_text": "The parameter of input error, please check your parameter is correct or not. parameter:name is required"
}
 
2. If free spin reward event not exist, then:
{
    "status": "9998",
    "err_text": "Event not exist."
}
 
3. If free spin reward event status not allow to do this action, then:
{
    "status": "9998",
    "err_text": "This action cannot be executed as the event status is INACTIVE."
}