Action 67:Change betting settings for Game Provider HRG
Function Description
-
Set the bet limit ids, allow betting with no commission and allow hedge betting when the player enters the HRG game.
-
Can set up player, house, manager, master agent, or agent. When both the player and parent have settings, the player settings will be used first.
Example:
- The player sets bet limit id [900001, 900002, 90003], allow betting with no commission to be false, and allow hedge betting to be false.
- The agent sets bet limit id [900001, 900002, 90005], allow betting with no commission to be true, and allow hedge betting to be true.
- When the player enters the game, the player settings will be applied in the game:
- Bet Limit id [900001, 900002, 90003], allow betting with no commission is false, allow hedge betting is false.
-
A maximum of 6 groups of bet limit ids can be set.
Parameter
Parameter | Format | Mandatory | Description |
---|---|---|---|
action | Integer | Y | 67 |
ts | Long | Y | Current system time |
targetUid | String(50) | Y | House/Manager/Master Agent/Agent/Player ID |
mType | Integer | Y | Machine Type |
betLimitIds | Integer Array | Y | Bet Limit IDs See HRG Bet Limit ID If not set, the first five ids of each currency in the appendix will be used as the default. If you have any other needs, contact JDB service. |
allowNoCommBet | Boolean | Y | Allow betting with no commissionIf not set, the default will be true. |
allowHedgeBetting | Boolean | Y | Allow hedge bettingIf BACCARAT not set, the default will be false. If ROULETTE not set, the default will be true. |
Example
{
"action": 67,
"ts": 1698806841181,
"targetUid": "testag",
"mType": 41001,
"betLimitIds": [
900001,
900002,
900003
],
"allowNoCommBet": true,
"allowHedgeBetting": true
}
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=jb&x=udbFVt_xv0tsAmLDpz5Z3Ct4-p0gedUPdQO-UWsfd6PHz9Ky-wM3mIC9El4kwl_SlX3lpraVaCLnp-K0WsgKmpYTV9XpYncHzbtvn591qfaAwpGyOvsS4v1Yj7OvpRw_iU4554RuSsvHpI9jaj4XUgTK5yzbWKEddANjAAbxF0s=
// Http Response (success)
{
"status":"0000"
}
// Http Response (error)
{
"status":"7501",
" err_text":"User ID cannot be found."
}