3.9 Query Bet Limit (查询下注限红)
Description (说明)
This API is used for operators to query the bet limit.
本功能用于提供运营商查询下注限额。
URL (网址)
https://{host}/api/query_bet_limit
Request Method
POST
Request Parameters (请求参数)
| Field (栏位) | Type (型态) | Required (必要) | Description (说明) |
|---|---|---|---|
| agentId | String | Y | Agent ID <= 50 characters 代理帐号 |
| gameType | String | Y | Game Type <= 10 characters 游戏类型 |
| gameCode | String | Y | Game Code <= 20 characters 游戏代码 |
{
"agentId": "hrgag",
"gameType": "LIVE",
"gameCode": "BACCARAT"
}
Return Result (返回结果)
| Field (栏位) | Type (型态) | Description (说明) |
|---|---|---|
| code | String | Status Code fixed 4 characters 状态码 |
| data | Object | |
| list | Array of Object | Each record |
| id | Number | Bet Limit ID 下注限红 ID |
| min | Number | Minimum 最小值 |
| max | Number | Maximum 最大值 |
{
"code": "0000",
"data": {
"list": [
{
"id": 900001,
"min": 10.0,
"max": 2500.0
},
{
"id": 900002,
"min": 100.0,
"max": 5000.0
},
{
"id": 900003,
"min": 200.0,
"max": 10000.0
},
{
"id": 900004,
"min": 500.0,
"max": 25000.0
},
{
"id": 900005,
"min": 1000.0,
"max": 50000.0
}
]
}
}
Sample Request For Each Language (各语言请求范例)
OkHttpClient client = new OkHttpClient().newBuilder()
.build();
MediaType mediaType = MediaType.parse("application/json");
RequestBody body = RequestBody.create(mediaType, "{\"agentId\":\"hrgag\",\"gameType\":\"LIVE\",\"gameCode\":\"BACCARAT\"}");
Request request = new Request.Builder()
.url("https://{host}/api/launch_game")
.method("POST", body)
.addHeader("Authorization", "Basic TWpNQ0JSM1NFYnBrYXdSNTpNak1DQlIzU0VicGthd1I1")
.addHeader("Content-Type", "application/json")
.build();
Response response = client.newCall(request).execute();