Transfer
JDB Platform API
Get Game URL
Action 49: Query Game List

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

ParameterFormatMandatoryDescription
actionIntegerY49
tsLongYCurrent system time
parentString(50)YAgent ID
langString(2)NLanguage
en: English (Default)
cn: Simplified Chinese

Example

{
  "action": 49,
  "ts": 1447452951820,
  "parent": "testag",
  "lang": "en"
}

Return Results

ParameterFormatDescription
statusString(4)Success: 0000
Error: See Error Codes in Appendix
dataJSON ArrayThe returned data will be listed in the following table.
err_textString(255)Error message

Data Item Object

ParameterFormatDescription
gTypeIntegerGame types
See Game Provider
listJSON ArrayThe returned data will be listed in the following table.

List Item Object

ParameterFormatDescription
mtypeIntegerMachine Types
imageStringOne size image url, please refer to function description to get other size.
nameStringGame Name
betListArray of Stri F ngOptional 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.
freeSpinTypesArray of StringSupported free spin reward types
NORMAL: Free spin for Base Game
FEATURE: Free spin for Feature Game
BONUSCHIPS: Free spin for Bonus Chips
featureGameInfoJSON ObjectOnly supports FEATURE: Free Spin Feature type.
Provided only for games where gType = 0.
The returned data will be listed in the following table.

FeatureGameInfo Object

FieldTypeDescription
type1JSON ObjectFeature Game Type

Type1 Object

Feature Game bet calculation formula, please refer to the Action 72: Create Free Spin Reward Event function description.

FieldTypeDescription
multipleStringFeature Game multiple
maxTotalBetStringFeature Game bet limit
betListArray of StringFeature Game bet list

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": "Dragon Soar - Hyper Wild",
          "betList": [
            "0.2",
            "0.4",
            "0.6",
            "0.8",
            "1.0",
            "1.2",
            "2.0",
            "4.0",
            "6.0"
          ],
          "freeSpinTypes": ["NORMAL", "FEATURE"],
          "featureGameInfo": {
            "type1": {
              "multiple": "50",
              "maxTotalBet": "200",
              "betList": [
                "0.2",
                "0.4",
                "0.6",
                "0.8",
                "1.0",
                "1.2",
                "2.0",
                "4.0"
              ]
            }
          }
        },
        {
          "mType": 14089,
          "image": "https://xxx.xxx.xxx/images/xxx.png",
          "name": "Magic Ace",
          "betList": [
            "20",
            "50",
            "100",
            "200",
            "400",
            "800"
          ],
          "freeSpinTypes": ["NORMAL", "FEATURE"],
          "featureGameInfo": {
            "type1": {
              "multiple": "1",
              "maxTotalBet": "300",
              "betList": [
                "20",
                "50",
                "100",
                "200"
              ]
            }
          }
        }
      ]
    },
    {
      "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."
}