Action 65: Query Online Users With Balance > 0
Function Description
Query online users with balance > 0
Parameter
| Parameter | Format | Mandatory | Description | 
|---|---|---|---|
| action | Integer | Y | 65 | 
| ts | Long | Y | Current system time | 
| parent | String(50) | Y | Agent ID | 
Example
{
  "action": 65,
  "ts": 1447452951820,
  "parent": "testag"
}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. | 
| err_text | String(255) | Error message | 
Data Object
| Parameter | Format | Description | 
|---|---|---|
| uid | String(50) | Player ID | 
| balance | Number | Account Balance | 
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":[
    {
      "uid":"testplayer",
      "balance":7101.49
    }
  ]
}
 
// Http Response (error)
{
  "status":"9005",
  "err_text":"Assertion(SAML) didn't pass the timestamp validation."
}
 
// Http Response (no data)
{
  "status":"0000",
  "data":[]
}