Transfer
JDB Platform API
Free Spin Reward
Action 75: Unbind Players for Free Spin Reward

Action 75:Unbind Players for Free Spin Reward

Function Description

  • Unbind Players for Free Spin Reward
  • Binding is only possible during the inactive period.

Parameter

ParameterFormatMandatoryDescription
actionIntegerY75
tsLongYCurrent system time
parentString(50)YAgent ID
eventIdStringYEvent ID
playersString ArrayYPlayer ID List

Example

{
  "action": 75,
  "ts": 1711555200000,
  "parent": "testag",
  "eventId": "123456",
  "players": [
      "player1",
      "player2"
  ]
}

Return Results

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
err_textString(255)Error messages will only appear if an error occurs.

Operation Sample

// Http Request
http://{API_Address}/apiRequest.do?dc=jb1&x=y1wayxScczy6ABfElfaVwb5CdfHxBN_JGtxyBSvpohLQakP8M2QSetJNojJBzvnrVChhq8YWWgBTdGeXFTH4vSNQQ66epf4NqYeQ-6bJ15pvHctQjQevulv7GHqOifuju_gY0H54FfVdQc9D5tKh1AZ-9KDh9dwcGSszZxU7JOOoHdYITlCO5LhvGmHxPBwZ
 
// Http Response (success)
{
    "status": "0000",
}
 
// Http Response (failed)
1. If necessary parameters are not provided or not meet requirement, for example: id, then:
{
    "status": "8000",
    "err_text": "The parameter of input error, please check your parameter is correct or not. parameter:eventId is required"
}
 
2. If free spin reward event not exist, then:
{
    "status": "9998",
    "err_text": "Event not exist."
}
 
3. If free spin reward event status not allow to do this action, then:
{
    "status": "9998",
    "err_text": "Only INACTIVE event has right to do this action."
}