Skip to Content
TransferJDB Platform APIFree Spin RewardSPRIBEAction 82: Search Spribe Free Spin Reward Event Info

Action 82: Search Spribe Free Spin Reward Event Info

Function Description

  • This action is dedicated to the Spribe game provider and can only be used to query free spin reward events created via Action 80.
  • The search range is filtered by the event start time (startTime ~ endTime).
  • startTime must not be earlier than 180 days before the current time.
  • The values of ss.sss(seconds.milliseconds) in start time and end time must be 00.000.
  • The maximum time range for each search is 1 day.

Parameter


ParameterFormatMandatoryDescription
actionIntegerY82
tsLongYCurrent system time
parentString(50)YAgent ID
startTimeStringYStart time of the searching range for the event start time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
startTime must not be more than 180 days ago.
endTimeStringYEnd time of the searching range for the event start time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
uidString(50)NPlayer ID
statusIntegerNFree Spin Reward Event Status
CANCELED:0
CREATED:1
PAID:2
eventIdString(36)NFree Spin Reward Event Identifier (UUID v4 format, e.g. 550e8400-e29b-41d4-a716-446655440000)
machineTypesInteger ArrayNMachine Types (must all be Spribe games)
See Game List (4.2) in appendix

Example

{ "action": 82, "ts": 1711555200000, "parent": "testag", "uid": "player1", "startTime": "2024-07-22T04:05:00.000+01:00", "endTime": "2024-07-23T04:05:00.000+01:00", "status": 1, "eventId": "550e8400-e29b-41d4-a716-446655440000", "machineTypes": [22001] }

Return Results

ParameterFormatDescription
statusString(4)Success: 0000

Error: See Error Codes in Appendix
No Data: 0000
dataJSON ArrayThe returned listed in the following table.
err_textString(255)Error message

Spribe Free Spin Reward Event Info

ParameterFormatDescription
eventIdStringFree Spin Reward Event ID (UUID v4 format)
nameStringFree Spin Reward Event Name
machineTypeIntegerMachine Type

See Game List (4.2) in appendix
statusStringFree Spin Reward Event Status
CANCELED: Cancelled
CREATED: Created (not yet paid)
PAID: Paid
currencyStringCurrency

See Currency Code
betStringFree Spin Reward Bet Amount per Spin
timesIntegerFree Spin Reward Available Times
startTimeStringFree Spin Reward Event Start Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
endTimeStringFree Spin Reward Event End Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
createTimeStringFree Spin Reward Event Create Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
updateTimeStringFree Spin Reward Event Update Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
cashoutTimeStringFree Spin Reward Event Cashout Time (Only conforming to the following format in ISO-8601)
yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm
This field is only set when the event status is PAID, otherwise it is null

Operation Sample

// Http Request http://{API_Address}/apiRequest.do?dc=jb1&x=y1wayxScczy6ABfElfaVwb5CdfHxBN_JGtxyBSvpohLQakP8M2QSetJNojJBzvnrVChhq8YWWgBTdGeXFTH4vSNQQ66epf4NqYeQ-6bJ15pvHctQjQevulv7GHqOifuju_gY0H54FfVdQc9D5tKh1AZ-9KDh9dwcGSszZxU7JOOoHdYITlCO5LhvGmHxPBwZ // Http Response (success) { "status": "0000", "data": [ { "eventId": "550e8400-e29b-41d4-a716-446655440000", "name": "TEST SPRIBE EVENT NAME", "machineType": 22001, "status": "CREATED", "currency": "RB", "bet": "2.000", "times": 10, "startTime": "2024-07-22T04:05:33.000+01:00", "endTime": "2024-07-22T23:59:59.000+01:00", "createTime": "2024-07-22T03:00:00.000+01:00", "updateTime": "2024-07-22T03:00:00.000+01:00", "cashoutTime": null }, { "eventId": "660e8400-e29b-41d4-a716-446655440111", "name": "ANOTHER SPRIBE EVENT", "machineType": 22003, "status": "PAID", "currency": "RB", "bet": "1.500", "times": 5, "startTime": "2024-07-20T08:00:00.000+01:00", "endTime": "2024-07-21T08:00:00.000+01:00", "createTime": "2024-07-20T07:30:00.000+01:00", "updateTime": "2024-07-21T08:05:12.000+01:00", "cashoutTime": "2024-07-21T08:05:12.000+01:00" } ] } // Http Response (no data) { "status": "0000", "data": [] } // Http Response (failed) 1. If query player is not a downline of the agent: { "status": "7501", "err_text": "User ID cannot be found." } 2. If startTime is greater than endTime: { "status": "8000", "err_text": "The parameter of input error, please check your parameter is correct or not. parameter:startTime must not be after endTime." } 3. If startTime is more than 180 days ago: { "status": "8000", "err_text": "The parameter of input error, please check your parameter is correct or not. parameter:startTime must not be more than 180 days ago." } 4. If machineTypes contains a game that does not belong to Spribe: { "status": "8000", "err_text": "The parameter of input error, please check your parameter is correct or not. parameter:machineTypes must all be valid Spribe games" }
Last updated on