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 choosesthe closest bet amount that does not exceed the specified value
andit 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
- Bet settings of Game A: 1, 5, 15, 20, 30
Parameter
Parameter | Format | Mandatory | Description |
---|---|---|---|
action | Integer | Y | 77 |
ts | Long | Y | Current system time |
parent | String(50) | Y | Agent ID |
eventId | Long | Y | Free Spin Reward Event ID |
name | String(70) | Y | Free Spin Reward Event Name |
startTime | String | Y | Free Spin Reward Event Start Time (Only conforming to the following format in ISO-8601) yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm |
endTime | String | Y | Free Spin Reward Event End Time (Only conforming to the following format in ISO-8601) yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm |
machineTypes | Integer Array | Y | Machine Type See Game List (4.2) in appendix |
bet | String | Y | Free Spin Reward Bet Amount per SpinThe system auto-sets the bet, not exceeding the specified amount for each game spin. |
minWithdrawal | String | Y | Minimum Withdrawal AmountCan be set to -1 to indicate no limit, i.e. no minimum withdrawal amount restriction. |
maxWithdrawal | String | Y | Maximum Withdrawal AmountCan 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
Parameter | Format | Description |
---|---|---|
status | String(4) | Success: 0000 Error: See Error Codes in Appendix |
err_text | String(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."
}