This operation retrieves start-up information for a specified module in Play for Fun mode (game module/application). Note that if Play for Fun mode is not enabled, this method returns an error.
Request
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
partnerID | ID of partner Unique ID associated with each customer | GUID | D61A14AE-0A0C-464B-B7AB-5900BE7462F9 |
sign | Parameters partnerID, module, currency (for more information, see Creating Data Sign) | string (64) | 5E0A0349AE36AD67 CD21D891AB124CCE 8CC4171C5BD7EF5B 26FCA86DB71F500A |
module | Module key | string | VSlotFH |
currency | Currency This value is in ISO 4217 format, so it is expressed with 3 letters. | string (3) | USD |
Request example:
REST JSON
POST https://staging.tomhorngames.com/services/gms/RestCustomerIntegrationService.svc/GetPlayMoneyModuleInfo HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 123456
Host: staging.tomhorngames.com
{
"partnerID" : "9a2e7402-5cef-42ed-84a6-db589ce19fc6",
"sign" : "C44F8B33C12E030171F6E9BAAAEA200A0BA52BCD8CABD9137D097BCEA2783745",
"module" : "VSlotBM",
"currency" : "EUR"
}
Response
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
Code | Result codes: 0, 1, 11, 12, 1001, 1002, 1003, 1006, 1007, 1010 (for more information, see Result Codes) | integer | 0 |
Message | Description of the error, if one has occurred. This value is filled only in the event that an error takes place. | string (256) | Cannot find specified identity |
Parameters | Key/value collection of parameters required for access to the specific module | ||
Parameter | Element includes the key and its value |
Response example:
REST JSON
{
"Code": 0,
"Message": null,
"Parameters": [
{
"Key": "width",
"Value": "800"
},
{
"Key": "height",
"Value": "600"
},
{
"Key": "param:scale",
"Value": "showAll"
},
{
"Key": "param:salign",
"Value": "T"
},
{
"Key": "param:allowfullscreen",
"Value": "true"
},
{
"Key": "param:allowScriptAccess",
"Value": "always"
},
{
"Key": "minVersion",
"Value": "11.1"
},
{
"Key": "param:base",
"Value": "https://server/path/"
},
{
"Key": "var:auth",
"Value": "GvTgD7aEa9w0qjc%2Fpyvh3UJIHFcdGhncnnsCphdO9rhXGnH4I6KIvcVXo6VrTYXo%2BuMI7LCUnsbPKEy676n6VGgD9K7O8MHIQvwmCTdLP5qZHSgz4DwOuhnlwPc7l61L8cVRsRAKR%2BnGbafVfuISgRT6djLmQMrq%3B230847431250542719"
},
{
"Key": "var:moneyType",
"Value": "2"
},
{
"Key": "channel",
"Value": "HTML5"
},
{
"Key": "var:config",
"Value": "%3Cconfig%20isSystem%3D%22true%22%20priority%3D%221%22%3E%3CClientConfig%20FAST_URL%3D%22http%3A%2F%2Fserver%2F%22%20LANGUAGES%3D%22en-GB%3Bzh-CN%3Bcs-CZ%3Bde-DE%3Bhu-HU%3Bit-IT%3Blt-LT%3Bpl-PL%3Bpt-PT%3Bru-RU%3Bsk-SK%3Bes-ES%22%20TREE_ROOT_ID%3D%22Z%3A1%22%20%2F%3E%3CModuleConfig%20REMOTE_PATH_FLASH%3D%22https%3A%2F%2Fserver%2Fpath%2F%22%20REMOTE_PATH_HTML5%3D%22%22%20%2F%3E%3CResourcePack%20FILE_LIST_POSTFIX%3D%22_IC%22%20%2F%3E%3CSystemController%20USE_EXIT_DIALOG%3D%22false%22%20%2F%3E%3CClientConfig%20LOGGER_ENABLED%3D%22true%22%20%2F%3E%3CFullscreenController%20SINGLE_BUTTON%3D%22true%22%20%2F%3E%3C%2Fconfig%3E"
},
{
"Key": "var:gameKey",
"Value": "VSlotBM"
},
{
"Key": "var:gameAddress",
"Value": "R%3A1.324.326.346"
},
{
"Key": "var:gameVersion",
"Value": "1"
},
{
"Key": "var:gameName",
"Value": "Black%20Mummy"
}
]
}
SOAP
<GetModuleInfoResponse xmlns="http://tomhorn.eu/icservice"> <GetModuleInfoResult> <Code>0</Code> <Parameters> <Parameter> <Key>width</Key> <Value>800</Value> </Parameter> <Parameter> <Key>height</Key> <Value>600</Value> </Parameter> <Parameter> <Key>param:scale</Key> <Value>showAll</Value> </Parameter> <Parameter> <Key>param:salign</Key> <Value>LT</Value> </Parameter> <Parameter> <Key>movieURL</Key> <Value>http://server/folder/base.swf?635826705830817106</Value> </Parameter> <Parameter> <Key>param:allowfullscreen</Key> <Value>true</Value> </Parameter> <Parameter> <Key>param:allowScriptAccess</Key> <Value>always</Value> </Parameter> <Parameter> <Key>minVersion</Key> <Value>11.1</Value> </Parameter> <Parameter> <Key>param:base</Key> <Value>http://server/folder/</Value> </Parameter> <Parameter> <Key>var:config</Key> <Value>%3Cconfig%20isSystem%3D%22true%22%20priority%3D%221%22%3E%3CClientConfig%20FAST_URL%3D%22http%3A%2F%2Fserver%2F%22%20LANGUAGES%3D%22en-US%3Bzh-CHT%3Bcs-CZ%3Bnl-NL%3Ben-GB%3Bde-DE%3Brw-RW%3Bsk-SK%3Bes-ES%22%20TREE_ROOT_ID%3D%22Z%3A1%22%20%2F%3E%3CModuleConfig%20REMOTE_PATH%3D%22http%3A%2F%2Fserver%2Ffolder%2F%22%20REMOTE_PATH_HTML5%3D%22%22%20%2F%3E%3CResourcePack%20FILE_LIST_POSTFIX%3D%22_IC%22%20%2F%3E%3CClientConfig%20LOGGER_ENABLED%3D%22true%22%20%2F%3E%3CFullscreenController%20SINGLE_BUTTON%3D%22false%22%20%2F%3E%3C%2Fconfig%3E</Value> </Parameter> <Parameter> <Key>var:auth</Key> <Value>GUpLi8%2FQnSgGpxJHplqspfEH3iSvyTd6q69vbDN10CIykW394enmptiovLyS4hD%2FezJPdsgTPmtAtWY2EBBpLgdrrSVUz53USWHDKmbal9r7bQoN2tyujg%3D%3D%3B196114103742234751</Value> </Parameter> <Parameter> <Key>var:moneyType</Key> <Value>2</Value> </Parameter> <Parameter> <Key>channel</Key> <Value>Flash</Value> </Parameter> <Parameter> <Key>var:gameKey</Key> <Value>VSlotFH</Value> </Parameter> <Parameter> <Key>var:gameAddress</Key> <Value>R%3A1.3.32</Value> </Parameter> <Parameter> <Key>var:gameVersion</Key> <Value>2</Value> </Parameter> <Parameter> <Key>var:gameName</Key> <Value>Firehot</Value> </Parameter> </Parameters> </GetModuleInfoResult> </GetModuleInfoResponse>
Comments
0 comments
Article is closed for comments.