Transfer
JDB Platform API
Player Management
Action 14: Player Status Management

Action 14: Player Status Management

Function Description

  • Suspended: Players can log in to the system but cannot play any games. If the player is playing in the game, there will appear the message “Your account has been suspended, please contact customer service.”, and then will divert to game hall or direct close game.
  • Locked: Players cannot log in to the system. If the player is playing in the game, there will appear the message “Your account has been locked, please contact customer service.”, and then will direct logout from system.
  • If a player is suspended or locked while in game, the game will immediate stopped and those pending transactions is counted.
  • This function will immediate take effect once the player status been modified.

Parameter

ParameterFormatMandatoryDescription
actionIntegerY14
tsLongYCurrent system time
parentString(50)YAgent ID
uidString(50)YPlayer ID
operation_codeString(1)YAccount status
2: Suspended
3: Unsuspended
4: Locked
5: Unlocked

Example

{
  "action":14,
  "ts":1447452951820,
  "parent":"testag",
  "uid":"testpl01",
  "operation_code":"2"
}

Return Results

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
err_textString(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"
}
 
// Http Response (error)
{
  "status":"7502",
  "err_text":"User is suspended."
}