Action 66: Query Daily Summary
Function Description
- Query daily summary, grouped by game type.
- Available date range: from yesterday to 3 month.
- Range of 01-01-2021: played at time zone UTC+8 from 01-01-2021 12:00:00 to 02-01-2021 12:00:00
Parameter
Parameter | Format | Mandatory | Description |
---|---|---|---|
action | Integer | Y | 66 |
ts | Long | Y | Current system time |
parent | String(50) | Y | House/Manager/Master Agent/Agent ID |
date | String(10) | Y | Search date (dd - MM - yyyy) |
Example
{
"action": 66,
"ts": 1447452951820,
"parent": "testag",
"date": "07-07-2021"
}
Return Results
Parameter | Format | Description |
---|---|---|
status | String(4) | Success: 0000 Error: See Error Codes in in Appendix No Data: 0000 |
data | JSON Array | The returned data will be listed in the following table. |
err_text | String(255) | Error message |
Data Object
Parameter | Format | Description |
---|---|---|
gTypeSummary | JSON Array | Summaries grouped by game type The returned data will be listed in the following table. |
totalSummary | JSON Object | Total summary The returned data will be listed in the following table. |
GtypeSummary Object
Parameter | Format | Description |
---|---|---|
gType | String(2) | Game types See Game Provider |
win | double | Winning points |
netWin | double | Total Win Loss |
bet | double | Bet amount |
jackpot | double | The amount of the jackpot won |
jackpotContribute | double | Jackpot contributions |
count | Integer | Bet count |
validBet | double | Valid bet amount |
tax | double | tax |
TotalSummary Object
Parameter | Format | Description |
---|---|---|
win | double | Winning points |
netWin | double | Total Win Loss |
bet | double | Bet amount |
jackpot | double | The amount of the jackpot won |
jackpotContribute | double | Jackpot contributions |
count | Integer | Bet count |
validBet | double | Valid bet amount |
tax | double | tax |
Operation Sample
// Http Request
http://{API_Address}/apiRequest.do?dc=jb&x=udbFVt_xv0tsAmLDpz5Z3Ct4-p0gedUPdQOUWsfd6PHz9Ky-wM3mIC9El4kwl_SlX3lpraVaCLnpK0WsgKmpYTV9XpYncHzbtvn591qfaAwpGyOvsS4v1Yj7OvpRw_iU4554RuSsvHpI9jaj4XU
gTK5yzbWKEddANjAAbxF0s=
// Http Response (success)
{
"status":"0000",
"data":{
"gTypeSummary": [
{
"gType": 0,
"win": 0,
"netWin": -500,
"jackpot": 0,
"bet": -500,
"jackpotContribute": 0,
"count": 1,
"validBet": -500,
"tax": 0
},
{
"gType": 7,
"win": 62,
"netWin": -101,
"jackpot": 0,
"bet": -163,
"jackpotContribute": 0,
"count": 3,
"validBet": -163,
"tax": 0
},
{
"gType": 18,
"win": 2280.67,
"netWin": 2271.67,
"jackpot": 0,
"bet": -4045.67,
"jackpotContribute": 0,
"count": 17,
"validBet": -4045.67,
"tax": 9
}
],
"totalSummary": {
"win": 2342.67,
"netWin": 1670.67,
"jackpot": 0,
"bet": -4708.67,
"jackpotContribute": 0,
"count": 21,
"validBet": -4708.67,
"tax": 9
}
}
}
// Http Response (error)
{
"status":"9005",
"err_text":"Assertion(SAML) didn't pass the timestamp validation."
}
// Http Response (no data)
{
"status": "0000",
"data": {
"gTypeSummary": [],
"totalSummary": {
"win": 0,
"netWin": 0,
"jackpot": 0,
"bet": 0,
"jackpotContribute": 0,
"count": 0,
"validBet": 0,
"tax": 0
}
}
}