The status of a user including:
- Online/offline
- Bet exist
- Bet amount and remain balance
- Maximum balance
- Maximum daily winning
Name | Description | Type and Limit | Required? |
---|---|---|---|
method | Must be "GetUserStatus" | 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? |
---|---|---|---|
IsSuccess | Success? True: Success False: Failed | Bool | Y |
Username | Username | String (28) | Y |
Balance | Active Balance, excluding BetAmount & WithholdAmount | Decimal | Y |
Online | Online? | Bool | Y |
Betted | Betted? | Bool | Y |
BetAmount | Total amount withhold by unfinished slot games | Decimal | Y |
MaxBalance | The upper limit in user's balance to place bet | Decimal | Y |
MaxWinning | Daily winning limitation to allow place bet | Decimal | Y |
WithholdAmount | Total amount withhold by unfinished fishing games | Decimal | 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 |
<?xml version="1.0" encoding="utf-8"?> <GetUserStatusResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <IsSuccess>true</IsSuccess> <Username>DemoUser001</Username> <Balance>1234567.89</Balance> <Online>false</Online> <Betted>false</Betted> <BetAmount>0</BetAmount> <MaxBalance>0</MaxBalance> <MaxWinning>0</MaxWinning> <WithholdAmount>0</WithholdAmount> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetUserStatusResponse> |