Transfer
JDB Platform API
Free Spin Reward
Action 73: Terminate Free Spin Reward Event

Action 73:Terminate Free Spin Reward Event

Function Description

  • Terminate free spin reward event

Parameter

ParameterFormatMandatoryDescription
actionIntegerY73
tsLongYCurrent system time
parentString(50)YAgent ID
eventIdLongYFree Spin Reward Event ID

Example

{
  "action": 73,
  "ts": 1711555200000,
  "parent": "testag",
  "eventId": 12345
}

Return Results

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
No Data: 0000
err_textString(255)Error message

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": "This action cannot be executed as the event status is TERMINATED."
}