Action 49:查询游戏列表
功能说明
参数
参数 | 格式 | 强制 | 说明 |
---|---|---|---|
action | Integer | Y | 49 |
ts | Long | Y | 当前系统时间 |
parent | String(50) | Y | 代理账号 |
lang | String(2) | N | 语系 en:英文(默认值) cn:简体中文 |
Example
{
"action": 49,
"ts": 1447452951820,
"parent": "testag",
"lang": "cn"
}
返回结果
参数 | 格式 | 说明 |
---|---|---|
status | String(4) | 成功:0000 错误:参照附录 错误代码 |
data | JSON Array | 回传的数据将列于下列表中 |
err_text | String(255) | 错误讯息 |
Data 里面的对象
参数 | 格式 | 说明 |
---|---|---|
gType | Integer | 游戏类型 参照附录 游戏提供商 |
list | JSON Array | 回传的数据将列于下列表中 |
List 里面的对象
参数 | 格式 | 说明 |
---|---|---|
mtype | Integer | 机台类型 |
image | String | 单一格式图档连结,其余格式请至功能说明取得图档连结 |
name | String | 游戏名称 |
betList | Array of String | 可选的投注额gType 为 0、66、90 的游戏才会提供,其他类型的游戏此栏位为空列表 |
freeSpinTypes | Array of String | 可支援的免费场次类別 NORMAL: 免费场次赠送一般游戏 FEATURE: 免费场次赠送特色游戏 |
操作范例
// 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."
}