Action 83: Search Spribe Free Spin Reward History
Function Description
- This action is dedicated to the Spribe game provider and can only be used to query free spin reward history records generated by events created via Action 80.
- The search range is filtered by the game cashout time (
startTime~endTime). startTimemust 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
| Parameter | Format | Mandatory | Description |
|---|---|---|---|
| action | Integer | Y | 83 |
| ts | Long | Y | Current system time |
| parent | String(50) | Y | Agent ID |
| startTime | String | Y | Start time of the searching range for the game cashout 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. |
| endTime | String | Y | End time of the searching range for the game cashout time (Only conforming to the following format in ISO-8601) yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm |
| uid | String(50) | N | Player ID |
Example
{
"action": 83,
"ts": 1711555200000,
"parent": "testag",
"startTime": "2024-07-22T04:05:00.000+01:00",
"endTime": "2024-07-23T04:05:00.000+01:00",
"uid": "player1"
}Return Results
| Parameter | Format | Description |
|---|---|---|
| status | String(4) | Success: 0000 Error: See Error Codes in Appendix No Data: 0000 |
| data | JSON Array | The returned listed in the following table. |
| err_text | String(255) | Error message |
Spribe Free Spin Reward History
| Parameter | Format | Description |
|---|---|---|
| cashoutTime | String | Free Spin Reward Cashout Time (Only conforming to the following format in ISO-8601) yyyy-MM-ddTHH:mm:ss.sss+|-hh:mm |
| historyId | String | Game History Record ID |
| uid | String | Player ID |
| machineType | String | Machine Type See Game List (4.2) in appendix |
| gType | String | Game Type See Game Provider in appendix |
| bet | String | Bet Amount per Spin |
| win | String | Win Amount |
| eventId | String | Free Spin Reward Event ID (UUID v4 format) |
| eventName | String | Free Spin Reward Event Name |
| currency | String | Currency See Currency Code |
Operation Sample
// Http Request
http://{API_Address}/apiRequest.do?dc=jb1&x=y1wayxScczy6ABfElfaVwb5CdfHxBN_JGtxyBSvpohLQakP8M2QSetJNojJBzvnrVChhq8YWWgBTdGeXFTH4vSNQQ66epf4NqYeQ-6bJ15pvHctQjQevulv7GHqOifuju_gY0H54FfVdQc9D5tKh1AZ-9KDh9dwcGSszZxU7JOOoHdYITlCO5LhvGmHxPBwZ
// Http Response (success)
{
"status": "0000",
"data": [
{
"cashoutTime": "2024-07-22T04:05:33.000+01:00",
"historyId": "550e8400-e29b-41d4-a716-446655440000",
"uid": "player1",
"machineType": "22001",
"gType": "22",
"bet": "2.0000",
"win": "4.0000",
"eventId": "660e8400-e29b-41d4-a716-446655440111",
"eventName": "TEST SPRIBE EVENT NAME",
"currency": "RB"
}
]
}
// Http Response (no data)
{
"status": "0000",
"data": []
}
// Http Response (failed)
1. 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."
}
2. 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."
}Last updated on