This Web service will fetch the stake amount for a lobby.
ParametersName | Description | Type and Limit | Required? |
---|---|---|---|
method | Must be "GetUserBetAmount" | String (32) | Y |
Key | Secret key | String (32) | Y |
Time | Current time in "yyyyMMdddHHmmss" format | DateTime | Y |
Username | Username | String (28) | N |
StartDate | Start time (default current date): "yyyy-MM-dd HH:mm:ss" | DateTime | N |
TimeRange | Range in hour from 0 to 23 (default 0 = 24 hours) | Int | N |
Name | Description | Type and Limit | Required? |
---|---|---|---|
Username | Username | String (28) | Y |
StakeAmount | Sum of bet amount for all games | Decimal | Y |
ErrorMsgId | Error message: 0: Success 108: Username length/format incorrect 116: Username does not exist | Byte | Y |
ErrorMsg | Error message detail | String | Y |
1 2 3 4 5 6 7 8 9 10 11 12 13 |
<?xml version="1.0" encoding="utf-8"?> <GetUserBetAmountResponse> xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetAmountDetailList> <BetAmountDetails> <Username>user001</Username> <StakeAmount>1105.45</StakeAmount> </BetAmountDetails> </BetAmountDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetUserBetAmountResponse> |