Transfer
JDB Platform API
Free Spin Reward
Action 78: Daily Report of Free Spin Reward

Action 78: Daily Report of Free Spin Reward

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
  • Maximum time range for each search is 3 months.

Parameter

ParameterFormatMandatoryDescription
actionIntegerY78
tsLongYCurrent system time
parentString(50)YAgent ID
dateString(10)YSearch date (dd-MM-yyyy)

Example

{
  "action":78,
  "ts":1447452951820,
  "parent":"testag",
  "date":"01-01-2016"
}

Return Results

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
No Data: 0000
dataJSON ArrayThe returned data will be listed in the following table.
ParameterFormatDescription
uidString(50)PlayerID
totalCashoutDoubleTotal Cashout Amount
eventsArrayThe returned data will be listed in the following table.
ParameterFormatDescription
eventIdLongFree Spin Reward Evnet ID
cashoutDoubleCashout Amount

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",
      "totalCashout": "5800.0000",
      "events": [
        {"eventId": "12686", "cashout": "5000.0000"},
        {"eventId": "12687", "cashout": "500.0000" },
        {"eventId": "12688", "cashout": "300.0000" }
      ]
    },
    {
      "uid": "testpl02",
      "totalCashout": "800.0000",
      "events": [
        {"eventId": "12687", "cashout": "500.0000"},
        {"eventId": "12688", "cashout": "300.0000"}
      ]
    },
    {
      "uid": "testpl03",
      "totalCashout": "300.0000",
      "events": [ {"eventId": "12688", "cashout": "300.0000"} ]
    }
  ]
}
 
// Http Response (error)
{
  "status":"9005",
  "err_text":"Assertion(SAML) didn't pass the timestamp validation."
}
 
// Http Response (no data)
{
  "status":"0000",
  "data":[]
}