This operation retrieves all players' transactions for a specified date interval. The time span interval is limited by 10 minutes
Request
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
partnerID | ID of partner Unique ID associated with each customer | GUID | D61A14AE-0A0C-464B-B7AB-5900BE7462F9 |
Sign | Parameters PartnerID, DateFrom, DateTo, Branch (for more information, see Creating Data Sign) | string(64) | E108134442EC162E 9737DB9E1F2059AF 50E9AB88ABA40C87 E4F81F2971B0ABD9 |
DateFrom | The start of the date interval | Date | 2015-01-20T00:00:00 |
DateTo | The end of the date interval | Date | 2015-01-20T00:10:00 |
Branch | The customer’s branch. This parameter is optional. | string | Branch1. |
Request example:
REST JSON
POST https://staging.tomhorngames.com/services/gms/RestCustomerReportService.svc/GetCustomerGames HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: application/json
Content-Length: 123456
Host: staging.tomhorngames.com
{
"PartnerID": "C77BB500-7E9A-4214-BD3C-605D6D2F91D9",
"DateFrom": "2022-06-15T07:05:00",
"DateTo": "2022-06-15T07:15:00",
"Branch": "a1",
"Sign": "bba7d65f7578a5f058dbe598e87b54cc94b4e6a8064fbc109013401aebbdd285"
}
SOAP
POST https://staging.tomhorngames.com/services/gms/CustomerReportService.svc HTTP/1.1
Host: staging.tomhorngames.com
Content-Type: text/xml; charset="utf-8"
SOAPAction: "http://tomhorn.eu/crservice/ICustomerReportService/GetCustomerGames"
Content-Length: 123456
<GetCustomerSummaryRequest>
<PartnerID>D61A14AE-0A0C-464B-B7AB-5900BE7462F9C</PartnerID>
<Sign>E108134442EC162E9737DB9E1F2059AF50E9AB88ABA40C87E4F81F2971B0ABD9</Sign>
<DateFrom>2015-01-20T00:00:00</DateFrom>
<DateTo>2015-01-20T00:10:00</DateTo>
<Branch>Branch1</Branch>
</GetCustomerSummaryRequest>
Response
PARAMETER | DESCRIPTION | FORMAT | EXAMPLE |
Code | Result codes: 0, 1, 11, 1001, 1002 (for more information, see Result Codes) | integer | 0 |
Message | Description of the error, if one has occurred. This value is filled only in the event that an error takes place. | string | The specified session was not found |
DateFrom | The requested start of the date interval | Date | 2015-01-20T00:00:00 |
DateTo | The requested end of the date interval | Date | 2015-01-21T00:00:00 |
Branch | The requested customer’s branch. | string | Branch1 |
Games | List of all games. This property is set only if the result code is 0 (success). | ||
GameInfo | The game summary data, contains bet amount, finished DateTime, gameId, gameKey, game name, player name, balance at the end of the game, and win amount. | ||
Bet | Bet in the game. | decimal | 0.10 |
Finished | Full close date and time of the game. | DateTime | 2015-01-20T09:27:48 |
GameId | The ID of the game. | long | 4562321354 |
GameKey | GameKey of the game | string | VSlotBOS_TNP |
GameName | Name of the game. | string | Book Of Spells |
PlayerName | The player’s name. | string | Player01 |
RealAmountEnd | The player's real money account balance after the game was closed. | decimal | 25.16 |
Win | Win in a game. | decimal | 10.50 |
Response example:
REST JSON
{
"Branch": "a1",
"Code": 0,
"DateFrom": "2022-06-15T07:05:00",
"DateTo": "2022-06-15T07:15:00",
"Games": [
{
"Bet": 0.50,
"BetInfo": null,
"Currency": "USD",
"Finished": "2022-06-15T07:10:11.86",
"GameId": 142421319,
"GameKey": "RouletteEU_TNP",
"GameName": "Roulette EU",
"PlayerName": "THETestRest_dummy_a1_USD",
"RealAmountEnd": 19.60,
"Win": 0.00
},
{
"Bet": 0.75,
"BetInfo": null,
"Currency": "USD",
"Finished": "2022-06-15T07:12:39.263",
"GameId": 142472373,
"GameKey": "VSlotSB_TNP",
"GameName": "Sky Barons",
"PlayerName": "THETestRest_dummy_a1_USD",
"RealAmountEnd": 11.10,
"Win": 1.00
}
],
"Message": null
}
SOAP
<GetCustomerSummaryResponse>
<Code>0</Code>
<Message></Message>
<DateFrom>2015-01-20T00:00:00</DateFrom>
<DateTo>2015-01-20T00:10:00</DateTo>
<Branch>Branch1</Branch>
<Games>
<GameInfo>
<Bet>0.10</Bet>
<Finished>2015-01-20T00:00:01</Finished>
<GameId>4562321354</GameId>
<GameKey>VSlotBOS</GameKey>
<GameName>Book Of Spells</GameName>
<PlayerName>Player01</PlayerName>
<RealAmountEnd>10.40</RealAmountEnd>
<Win>0</Win>
</GameInfo>
<GameInfo>
<Bet>1.25</Bet>
<Finished>2015-01-20T00:00:05</Finished>
<GameId>4562377651</GameId>
<GameKey>VSlotMY</GameKey>
<GameName>Monkey 27</GameName>
<PlayerName>Player02</PlayerName>
<RealAmountEnd>100.50</RealAmountEnd>
<Win>10</Win>
</GameInfo>
</Games
</GetCustomerSummaryResponse>
Comments
0 comments
Article is closed for comments.