Action 49: Query Game List
Function Description
- Get Game List of agent ID. Please get game icon from Other Resources.
- For further information about each game, please refer to Game List in appendix.
Parameter
Parameter | Format | Mandatory | Description |
---|---|---|---|
action | Integer | Y | 49 |
ts | Long | Y | Current system time |
parent | String(50) | Y | Agent ID |
lang | String(2) | N | Language en: English (Default) cn: Simplified Chinese |
Example
{
"action": 49,
"ts": 1447452951820,
"parent": "testag",
"lang": "en"
}
Return Results
Parameter | Format | Description |
---|---|---|
status | String(4) | Success: 0000 Error: See Error Codes in Appendix |
data | JSON Array | The returned data will be listed in the following table. |
err_text | String(255) | Error message |
Data Item Object
Parameter | Format | Description |
---|---|---|
gType | Integer | Game types See Game Provider |
list | JSON Array | The returned data will be listed in the following table. |
List Item Object
Parameter | Format | Description |
---|---|---|
mtype | Integer | Machine Types |
image | String | One size image url, please refer to function description to get other size. |
name | String | Game Name |
betList | Array of String | Optional betting amount This field is only provided for games with gType 0、66、90, and it will be an empty list for other types of games. |
freeSpinTypes | Array of String | Supported free spin reward types NORMAL: Free spin for Base Game FEATURE: Free spin for Feature Buy |
Operation Sample
// Http Request
http://{API_Address}/apiRequest.do?dc=jb&x=udbFVt_xv0tsAmLDpz5Z3Ct4-p0gedUPdQO-UWsfd6PHz9Ky-wM3mIC9El4kwl_SlX3lpraVaCLnp-K0WsgKmpYTV9XpYncHzbtvn591qfaAwpGyOvsS4v1Yj7OvpRw_iU4554RuSsvHpI9jaj4XUgTK5yzbWKEddANjAAbxF0s=
// Http Response (success)
{
"status":"0000",
"data":[
{
"gType": 0,
"list": [
{
"mType": 14093,
"image": "https://xxx.xxx.xxx/images/xxx.png",
"name": "Magic Ace Wild Lock",
"betList": [
"0.2",
"0.4",
"0.6",
"0.8",
"1.0",
"1.2",
"2.0",
"4.0",
"6.0"
],
"freeSpinTypes": ["NORMAL", "FEATURE"]
}
]
},
{
"gType": 7,
"list": [
{
"mType": 7001,
"image": "https://xxx.xxx.xxx/images/xxx.png",
"name": "Dragon Treasure",
"betList": [],
"freeSpinTypes": []
}
]
},
{
"gType": 9,
"list": [
{
"mType": 9022,
"image": "https://xxx.xxx.xxx/images/xxx.png",
"name": "Cricket Burst",
"betList": [],
"freeSpinTypes": []
}
]
}
]
}
// Http Response (error)
{
"status": "9005",
"err_text": "Assertion(SAML) didn't pass the timestamp validation."
}