Action 42: Daily Report
Function Description
- Search for a single agent ID’s details of transactions in games in a given period of time
- If you specify the date 01-01-2016, you will obtain data whose played 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.
When the Card Game is enabled, all games are added with a “tax” return message.
Parameter
Parameter | Format | Mandatory | Description |
---|---|---|---|
action | Integer | Y | 42 |
ts | Long | Y | Current system time |
parent | String(50) | Y | Agent ID |
gType | Integer | Y | Game types See Game Provider |
date | String(10) | Y | Search date (dd-MM-yyyy) |
Example
{
"action":42,
"ts":1447452951820,
"parent":"testag",
"gType":"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 | Bet amount |
win | Double | Winning points in the game |
netWin | Double | Total Win Loss |
jackpot | Double | The amount of the jackpot won |
jackpotContribute | Double | Jackpot contributions |
count | Integer | Bet Count |
validBet | Double | Valid Bet Amount |
tax | Double | Tax 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",
"bet":-3760.8,
"win":2590.6,
"netWin":-1170.2,
"jackpot":0,
"jackpotContribute":-18.804,
"count":238,
"validBet":-3760.8,
"tax ":-77.7
},
{
"uid":"testpl02",
"bet":-2796.2,
"win":1789.65,
"netWin":-1006.55,
"jackpot":0,
"jackpotContribute":-13.981,
"count":274,
"validBet":-2796.2,
"tax ":-55.66
},
{
"uid":"testpl03",
"bet":-0.5,
"win":0.05,
"netWin":-0.45,
"jackpot":0,
"jackpotContribute":-0.0025,
"count":1,
"validBet":-0.5,
"tax ":-11.33
}
]
}
// Http Response (error)
{
"status":"9005",
"err_text":"Assertion(SAML) didn't pass the timestamp validation."
}
// Http Response (no data)
{
"status":"0000",
"data":[]
}