This Web service will fetch the unfinished slot game of a user. The API only gets the unfinished game within 10 days. The frequency of the call should be made to this API 10 times per 1 second otherwise it will throw an error.
ParametersName | Description | Type and Limit | Required? |
---|---|---|---|
method | Must be "GetUnfinishedGame" | String (32) | Y |
Key | Secret key | String (32) | Y |
Time | Current time in "yyyyMMddHHmmss" format | DateTime | Y |
Username | Username | String (28) | Y |
Name | Description | Type and Limit | Required? |
---|---|---|---|
Username | Username | String (28) | Y |
UnfinishedGameDetailList | Unfinished Game Detail List | XML | Y |
ErrorMsgId | Error message 0: Success 100: Username error 108: Username length/format incorrect 116: Username does not exist | Byte | Y |
ErrorMsg | Error message detail | String | Y |
output:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 |
<?xml version="1.0" encoding="utf-8"?> <GetUnfinishedGameResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <Username>DemoUser001</Username> <UnfinishedGameDetailList> <UnfinishedGameDetail> <GameCode>EG-SLOT-A036</GameCode> <BetAmount>10</BetAmount> </UnfinishedGameDetail> <UnfinishedGameDetail> <GameCode>EG-SLOT-A038</GameCode> <BetAmount>20</BetAmount> </UnfinishedGameDetail> <UnfinishedGameDetail> <GameCode>EG-SLOT-C003</GameCode> <BetAmount>40</BetAmount> </UnfinishedGameDetail> </UnfinishedGameDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetUnfinishedGameResponse> |