Seamless
JDB Platform API
Functions
Player Management
Action 17: Kick Out Player

Action 17: Kick Out Player

Function Description

  • Scheduled to kick out a player, a successful return signifies scheduling completed.
  • If the player is online, player will receive a message of "You have been logged out!"
  • If the player is playing the game, it will be terminated and settled directly.
  • For the precise player status, please refer to Action 52: Query In-Game Player

Parameter

ParameterFormatMandatoryDescription
actionIntegerY17
tsLongYCurrent system time
parentString(50)YAgent ID
uidString(50)YPlayer ID

Example

{
  "action":17,
  "ts":1447452951820,
  "parent":"testag",
  "uid":"testpl01"
}

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":"9005",
  "err_text":"Assertion(SAML) didn't pass the timestamp validation."
}