Inquiry Game Server

API to check game server list.

Path

MethodPath
POSTapi/inquiry-game-server

Test Case

Use below test case in development environment only.

game_codeResponse MessageDescription
103SUCCESSServers list return , means that user have to fill the server value on their own
142SUCCESSFill server value accord to field value in the response
100CODE NOT FOUNDWrong code, check the code list above

Request Body

AttributesTypeDescriptionMandatory
usernameStringYour registered phone numberYes
game_codeStringGame Code. See here for game_code listYes
signStringSignature. Value: md5(username+api_key+game_code)Yes
{
  "username"   : "123123123",
  "game_code"  : "103",
  "sign"       : "148c711ac48519014d2c361b6ebb50c2"
}
<?xml version="1.0"?>
<mp>
  <username>123123123</username>
  <game_code>103</game_code>
  <sign>148c711ac48519014d2c361b6ebb50c2</sign>
</mp>

Response

AttributesTypeDescriptionMandatory
serversArrayPlayer usernameYes
servers.nameStringServer NameYes
servers.valueStringServer IDYes
statusDoubleList of status
1:Success 2:Failed
Yes
messageStringMessageYes
rcStringResponse code. See response code listYes
{
  "data": {
    "servers": [
      {
        "name": "Test 1",
        "value": "90001"
      },
      {
        "name": "Test 2",
        "value": "90002"
      }
    ],
    "status": 1,
    "message": "SUCCESS",
    "rc": "00",
  }
}
<?xml version="1.0"?>
<mp>
  <servers>
    <name>Test 1</name>
    <value>90001</value>
  </servers>
  <servers>
    <name>Test 2</name>
    <value>90002</value>
  </servers>
  <status>1</status>
  <message>SUCCESS</message>
  <rc>00</rc>
</mp>

Live Testing

Request URL
https://prepaid.iak.dev/api/inquiry-game-server
Request Method
Request Header
Content-Type: application/json
Body
Result