Action 85: Query Side Bet Result
Function Description
- Returns a short-lived URL to the Side Bet report.
- Without
historyId:uidandmachineTypemust be specified, and the URL opens the player’s Side Bet report home page. - With
historyId: the URL opens the detailed result of that single Side Bet transaction.uidandmachineTypeare not required and are ignored. historyIdmust be the Side Bet ID returned by Action 84. Do not send the related main-gamegameHistoryId.- The result URL is valid for 30 seconds.
- About socket timeout setting, it is recommended to set more than 40 seconds for testing environment and 20 seconds for production environment.
Parameter
| Parameter | Format | Mandatory | Description |
|---|---|---|---|
| action | Integer | Y | 85 |
| ts | Long | Y | Current system time |
| parent | String(50) | Y | Agent ID |
| uid | String(50) | N | Player ID “uid” is needed when “historyId” is not specified. |
| historyId | String(200) | N | Unique Side Bet transaction ID returned by Action 84 “historyId” is needed when searching a single Side Bet detail. |
| lang | String | N | Language; unsupported languages use English by default See Language Code |
| showUid | Integer | N | Show player ID 0: hide (default for GH2/GH3 domains) 1: show (default for other domains) |
| machineType | Integer | N | Machine Type “machineType” is needed when “historyId” is not specified. |
Example
Query a single Side Bet record:
{
"action": 85,
"ts": 1785721200000,
"parent": "testag",
"historyId": "sidebet_5250234694590",
"lang": "en",
"showUid": 1
}Open the Side Bet report home page:
{
"action": 85,
"ts": 1785721200000,
"parent": "testag",
"uid": "testpl01",
"machineType": 14099,
"lang": "en",
"showUid": 1
}Return Results
| Parameter | Format | Description |
|---|---|---|
| status | String(4) | Success: 0000 Error: See Error Codes in Appendix |
| data | JSON Array | Side Bet result URL |
| err_text | String(255) | Error message |
Data Object
| Parameter | Format | Description |
|---|---|---|
| path | String | Side Bet result URL, valid for 30 seconds |
Response Example
{
"status": "0000",
"data": [
{
"path": "https://xxx.xxx.xxx/sidebet?..."
}
]
}Last updated on