This Web service will fetch bet details for the current lobby of the specified date from 12:00 PM to 11:59:59 AM. If no Date input, the current date will be used. The frequency of the call should be made to this API 10 times per 5 minutes otherwise it will throw an error.
ParametersName | Description | Type and Limit | Required? |
---|---|---|---|
method | Must be "GetAllBetDetails" | String (32) | Y |
Key | Secret key | String (32) | Y |
Time | Current time in "yyyyMMddHHmmss" format | DateTime | Y |
Username | Username | String (28) | N |
Date | Date for details “yyyy-MM-dd” | Date | N |
Name | Description | Type and Limit | Required? |
---|---|---|---|
BetDetailList | Bet details structure | XML | Y |
ErrorMsgId | Error message: 0: Success 108: Username length/format incorrect 112: API recently called 116: Username does not exist 142: Parameter(s) error | Byte | Y |
ErrorMsg | Error message detail | String | Y |
Name | Description | Type and Limit | Required? | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
BetTime | Bet start time | Date Time | Y | ||||||||
PayoutTime | Payout time | Date Time | Y | ||||||||
Username | Username | String (28) | Y | ||||||||
Detail | Game code | String | Y | ||||||||
GameID | Game ID | String | Y | ||||||||
BetID | Bet ID | Int64 | Y | ||||||||
BetAmount | Bet amount | Decimal | Y | ||||||||
Rolling | Rolling | Decimal | Y | ||||||||
ResultAmount | Payout | Decimal | Y | ||||||||
Balance | Balance after this bet | Decimal | Y | ||||||||
HostID* | Host table ID | Int(16) | N | ||||||||
Round* | Game Round | Int(32) | N | ||||||||
Set* | Game Set | Int(32) | N | ||||||||
GameType | Game type. slot - Slot Game table - Table Game multiplayer - Fishing Game | String | Y | ||||||||
BetType* | Bet Type | Int(*) | N | ||||||||
BetSource |
| Int | Y | ||||||||
TransactionID | Seamless wallet PlaceBet transaction ID. -1 if not using seamless wallet | Int64 | Y | ||||||||
JackpotContribution | Jackpot Contribution (decimal format and max. 9 decimal places) | Decimal | Y | ||||||||
PrizeID | Prize ID of FSO | Integer | N | ||||||||
GameResult* | The result of the game Baccarat Color SicBo Shake Shake Pula-Puti | XML | N |
* The fields “HostID”, “Round”, “Set”, “BetType” and “GameResult” are designated for Table Game only. It will not be returned in Slot and Fish games.
Output without PrizeID
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<?xml version="1.0" encoding="utf-8"?> <GetAllBetDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetDetailList> <BetDetail> <BetTime>2021-04-07T10:34:321</BetTime> <PayoutTime>2021-04-07T10:34:34.057</PayoutTime> <Username>DemoUser001</Username> <GameID>14487631238544</GameID> <BetID>11822141</BetID> <BetAmount>0.01</BetAmount> <Rolling>0.01</Rolling> <ResultAmount>-0.01</ResultAmount> <Balance>7606.93</Balance> <GameType>slot</GameType> <BetSource>2640</BetSource> <Detail>EG-SLOT-A049</Detail> <TransactionID>-1</TransactionID> <JackpotContribution>0.000020000</JackpotContribution> </BetDetail> </BetDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetAllBetDetailsResponse> |
Output with PrizeID
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 |
<?xml version="1.0" encoding="utf-8"?> <GetAllBetDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetDetailList> <BetDetail> <BetTime>2021-04-07T10:34:321</BetTime> <PayoutTime>2021-04-07T10:34:34.057</PayoutTime> <Username>DemoUser001</Username> <GameID>14487631238544</GameID> <BetID>11822141</BetID> <BetAmount>0.01</BetAmount> <Rolling>0.01</Rolling> <ResultAmount>-0.01</ResultAmount> <Balance>7606.93</Balance> <GameType>slot</GameType> <BetSource>2640</BetSource> <Detail>EG-SLOT-A049</Detail> <TransactionID>-1</TransactionID> <JackpotContribution>0.000020000</JackpotContribution> <PrizeID>26</PrizeID> </BetDetail> </BetDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetAllBetDetailsResponse> |
Jackpot sample:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 |
<?xml version="1.0" encoding="utf-8"?> <GetAllBetDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetDetailList> <BetDetail> <BetTime>2021-04-07T10:34:321</BetTime> <PayoutTime>2021-04-07T10:34:34.057</PayoutTime> <Username>DemoUser001</Username> <GameID>14487631238544</GameID> <BetID>11822141</BetID> <BetAmount>0</BetAmount> <Rolling>0</Rolling> <ResultAmount>500.00</ResultAmount> <Balance>7606.93</Balance> <GameType>slot</GameType> <BetSource>2640</BetSource> <Detail>EG-SLOT-A049</Detail> <TransactionID>-1</TransactionID> <JackpotContribution>0.000000000</JackpotContribution> </BetDetail> </BetDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetAllBetDetailsResponse> |
Sample for Baccarat Game Result:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 |
<?xml version="1.0" encoding="UTF-8"?> <GetAllBetDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetDetailList> <BetDetail> <BetTime>2021-03-19T16:11:47.191</BetTime> <PayoutTime>2021-03-19T16:12:28.877</PayoutTime> <Username>DemoUser001</Username> <Detail>EG-BACC-LOBBY</Detail> <GameID>1234567890123456</GameID> <BetID>1234567890</BetID> <BetAmount>123.45</BetAmount> <Rolling>123.45</Rolling> <Balance>434456.35</Balance> <ResultAmount>246.90</ResultAmount> <HostID>123</HostID> <Round>10</Round> <Set>34</Set> <GameType>table</GameType> <BetType>123</BetType> <BetSource>2</BetSource> <TranactionID>2</TranactionID> <GameResult> <BaccaratResult> <PlayerCard1> <Suit>2</Suit> <Rank>11</Rank> </PlayerCard1> <PlayerCard2> <Suit>3</Suit> <Rank>1</Rank> </PlayerCard2> <PlayerCard3> <Suit>2</Suit> <Rank>12</Rank> </PlayerCard3> <BankerCard1> <Suit>4</Suit> <Rank>7</Rank> </BankerCard1> <BankerCard2> <Suit>2</Suit> <Rank>6</Rank> </BankerCard2> <BankerCard3> <Suit>3</Suit> <Rank>9</Rank> </BankerCard3> <ResultDetail> <BRTie>false</BRTie> <BRPlayerWin>false</BRPlayerWin> <BRBankerWin>true</BRBankerWin> <BRPlayerPair>false</BRPlayerPair> <BRBankerPair>false</BRBankerPair> <BRSLuckySix>false</BRSLuckySix> </ResultDetail> </BaccaratResult> </GameResult> </BetDetail> </BetDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetAllBetDetailsResponse> |
Sample for Color SicBo Game Result:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 |
<?xml version="1.0" encoding="UTF-8"?> <GetAllBetDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetDetailList> <BetDetail> <BetTime>2023-03-20T17:22:36</BetTime> <PayoutTime>2023-03-20T17:22:48.41</PayoutTime> <Username>DemoUser001</Username> <Detail>EG-COSB-LOBBY</Detail> <GameID>1234567890123456</GameID> <BetID>1234567890</BetID> <BetAmount>200</BetAmount> <Rolling>200</Rolling> <Balance>434456.35</Balance> <ResultAmount>246.90</ResultAmount> <HostID>2101</HostID> <Round>10</Round> <Set>34</Set> <GameType>table</GameType> <BetType>123</BetType> <BetSource>2</BetSource> <TranactionID>2</TranactionID> <GameResult> <ColorSicboResult> <Dice1>1</Dice1> <Dice2>4</Dice2> <Dice3>6</Dice3> </ColorSicboResult> </GameResult> </BetDetail> </BetDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetAllBetDetailsResponse> |
Sample for Shake Shake Game Result:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 |
<?xml version="1.0" encoding="UTF-8"?> <GetAllBetDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetDetailList> <BetDetail> <BetTime>2023-03-20T18:50:50.23</BetTime> <PayoutTime>2023-03-20T18:51:04.787</PayoutTime> <Username>DemoUser001</Username> <Detail>EG-SKSK-LOBBY</Detail> <GameID>1234567890123456</GameID> <BetID>1234567890</BetID> <BetAmount>123.45</BetAmount> <Rolling>123.45</Rolling> <Balance>434456.35</Balance> <ResultAmount>246.90</ResultAmount> <HostID>3001</HostID> <Round>10</Round> <Set>34</Set> <GameType>table</GameType> <BetType>123</BetType> <BetSource>2</BetSource> <TranactionID>2</TranactionID> <GameResult> <ShakeShakeResult> <Dice1>5</Dice1> <Dice2>6</Dice2> <TotalPoint>11</TotalPoint> <ResultDetail> <SSR_4_5_9_10>false</SSR_4_5_9_10> <SSR_6_7_8>false</SSR_6_7_8> <SSR_2_3_11_12>true</SSR_2_3_11_12> </ResultDetail> </ShakeShakeResult> </GameResult> </BetDetail> </BetDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetAllBetDetailsResponse> |
Sample for Pula-Puti Game Result:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 |
<?xml version="1.0" encoding="UTF-8"?> <GetAllBetDetailsResponse xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetDetailList> <BetDetail> <BetTime>2023-04-18T11:13:41.297</BetTime> <PayoutTime>2023-04-18T11:14:04.323</PayoutTime> <Username>DemoUser001</Username> <HostID>4001</HostID> <GameID>2612027592704</GameID> <Round>1587</Round> <BetID>691439278</BetID> <BetAmount>5</BetAmount> <Rolling>5</Rolling> <ResultAmount>5</ResultAmount> <Balance>87743.8</Balance> <GameType>table</GameType> <BetType>2</BetType> <BetSource>600</BetSource> <Detail>EG-PUPU-LOBBY</Detail> <TransactionID>-1</TransactionID> <GameResult> <PulaPutiResult> <Ball1>1</Ball1> <Ball2>2</Ball2> <Ball3>2</Ball3> <ResultDetail> <PPRRedRed>false</PPRRedRed> <PPRRedRedRed>false</PPRRedRedRed> <PPRWhiteWhite>true</PPRWhiteWhite> <PPRWhiteWhiteWhite>false</PPRWhiteWhiteWhite> <PPRSpecial>false</PPRSpecial> <PPRSpecialRedWhite>false</PPRSpecialRedWhite> </ResultDetail> </PulaPutiResult> </GameResult> </BetDetail> </BetDetailList> <ErrorMsgId>0</ErrorMsgId> <ErrorMsg>Success</ErrorMsg> </GetAllBetDetailsResponse> |