This operation retrieves start-up information for a specified module (game module/application).
Request
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
partnerID | ID of partner Unique ID associated with each customer |
GUID | D61A14AE-0A0C-464B-B7AB-5900BE7462F9 |
sign | Parameters partnerID, sessionID, module (for more information, see Creating Data Sign) |
string (64) | 5E0A0349AE36AD67 CD21D891AB124CCE 8CC4171C5BD7EF5B 26FCA86DB71F500A |
sessionID | ID of the player’s session. | long | 123456789 |
module | Module key | string | VSlotFH_TNP |
language | The language code to use when loading the game NOTE: This is only used for non-native Tom Horn Gaming |
string |
it-IT |
homeUrl | The website of where to redirect when clicking on the Home button. NOTE: This is only used for non-native Tom Horn Gaming |
string |
https://www.tomhorngames.com |
Request example:
REST JSON
POST https://staging.tomhorngames.com/services/gms/RestCustomerIntegrationService.svc/GetModuleInfo 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" : "0D919DE13417FFCAEBC3BDD6C97B0C72EB4696CB988D17A135EA7560A45831F1",
"sessionID" : 669362,
"module" : "VSlotBM"
}
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 |
Info | The property is set only if the result code is 0 (success) | ||
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": "param:base",
"Value": "https://server/path/Casino.THE/"
},
{
"Key": "var:auth",
"Value": "%2Bg5Uzl9EZwnvtaofm0OqnZ2%2FC6zUqr8q%2FeUGNL6OaavXWL4%2Bd99k6cQLJnOrFIQk0fe8sRibvC1fjmU3Cp8aIG3ewVxiveIjLMEysA%2FDwHZ92Pw3FUR7Jw%3D%3D%3B369083230004969599"
},
{
"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.