Action 86: Side Bet Daily Report
Function Description
- Search for a single agent ID’s Side Bet summary of each player on a given date.
- If you specify the date 01-01-2016, you will obtain Side Bet data whose settled at time zone UTC+8 in the range of 01-01-2016 12:00:00 to 02-01-2016 12:00:00.
- The latest information provided in each search is from the previous day.
- Example 1: If the system time is 05-01-2016 18:23:00, you should specify a search date before 04-01-2016.
- Example 2: If the system time is 05-01-2016 09:23:02, you should specify a search date before 03-01-2016 (because the 04-01-2016 statement still in progress).
- Example 3: If the system time is 05-01-2016 12:11:22, you should specify a search date before 03-01-2016.
For data integrity, please retrieve information 1 hour later
- Maximum time range for each search is 3 months.
- Games are classified by
gameCategory, the same asgameCategoryreturned by Action 84. jackpotandjackpotContributeare currently always 0.When the Card Game is enabled, a "tax" return message is added and it is currently always 0.
Parameter
| Parameter | Format | Mandatory | Description |
|---|---|---|---|
| action | Integer | Y | 86 |
| ts | Long | Y | Current system time |
| parent | String(50) | Y | Agent ID |
| gameCategory | Integer | Y | Game category; see the JDB section of Game Provider for the codes |
| date | String(10) | Y | Search date (dd-MM-yyyy) |
Example
{
"action":86,
"ts":1447452951820,
"parent":"testag",
"gameCategory":"0",
"date":"01-01-2016"
}Return Results
| Parameter | Format | Description |
|---|---|---|
| status | String(4) | Success: 0000 Error: See Error Codes in Appendix No Data: 0000 |
| data | JSON Array | The returned data will be listed in the following table. |
| Parameter | Format | Description |
|---|---|---|
| uid | String(50) | PlayerID |
| bet | Double | Side Bet amount |
| win | Double | Side Bet winning points |
| netWin | Double | Side Bet total win loss |
| jackpot | Double | The amount of the jackpot won, currently always 0 |
| jackpotContribute | Double | Jackpot contributions, currently always 0 |
| count | Integer | Side Bet count |
| validBet | Double | Side Bet valid bet amount |
| tax | Double | Tax, currently always 0 Additional return column when Card Game is enabled. |
| 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",
"data":
[
{
"uid":"testpl01",
"win":2275,
"netWin":875,
"jackpot":0,
"bet":-1400,
"jackpotContribute":0,
"count":14,
"validBet":-1400
},
{
"uid":"testpl02",
"win":11.25,
"netWin":-3.75,
"jackpot":0,
"bet":-15,
"jackpotContribute":0,
"count":3,
"validBet":-15
}
]
}
// Http Response (error)
{
"status":"8000",
"err_text":"The parameter of input error, please check your parameter is correct or not. parameter:gameCategory"
}
// Http Response (no data)
{
"status":"0000",
"data":[]
}
Last updated on