This API function is to get a user’s win/loss summary for a period of time with maximum of 31 days.
ParametersName | Description | Type and Limit | Required? |
---|---|---|---|
method | Must be "GetUserWinLost" | String (32) | Y |
Key | Secret key | String (32) | Y |
Time | Current time in "yyyyMMddHHmmss" format | DateTime | Y |
Username | Username | String (28) | Y |
FromTime | Start date and time: "yyyy-MM-dd HH:mm:ss" | DateTime | Y |
ToTime | End of date and time: "yyyy-MM-dd HH:mm:ss" | DateTime | Y |
Type | 0 - includes win and loss 1 - only includes win 2 - only includes loss | Int | N |
Name | Description | Type and Limit | Required? |
---|---|---|---|
Username | Username | String (28) | Y |
Winlost | Win or loss summary value | Decimal | Y |
ErrorMsgId | Error message: 0: Success 106: Server not ready 108: Username length/format incorrect 111: Query time range out of limitation 116: Username does not exist 144: Query type invalid | Byte | Y |
ErrorMsg | Error message detail | String | Y |