GET api/GameHistory/{id}?gameId={gameId}
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
|
gameId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
DetailsViewModelName | Description | Type | Additional information |
---|---|---|---|
gameId | integer |
None. |
|
UserDetails |
None. |
Response Formats
application/json, text/json
Sample:
{ "gameId": 1, "UserDetails": { "Id": 1, "Name": "sample string 2", "DeviceId": "sample string 3", "FacebookId": "sample string 4", "Email": "sample string 5", "LastPlayed": "2024-10-24T11:50:54.9247403+00:00", "Avatar": "sample string 6", "CreateDate": "2024-10-24T11:50:54.9247403+00:00", "ModifyDate": "2024-10-24T11:50:54.9247403+00:00", "NotificationHandle": "sample string 7", "NotificationPlatform": "sample string 8", "FacebookSenderId": "sample string 9", "FacebookMessageSent": "2024-10-24T11:50:54.9247403+00:00", "Salt": "0f6f9f45-5cdd-4ed2-a35a-770751a3b13f", "PasswordHash": null, "AvatarNew": "sample string 10", "EmailSubscribe": true, "PasswordSalt": null, "Verified": true }, "UserHistory": [ { "Id": 1, "MatchId": 1, "CreateDate": "2024-10-24T11:50:54.9247403+00:00", "PlayerName": "sample string 3", "PlayerId": 1, "PlayerRating": 1, "OpponentName": "sample string 4", "OpponentId": 1, "OpponentRating": 1, "Result": "sample string 5", "Duration": 1, "LastRating": 1, "RankChange": 1, "IsDealer": true, "Notes": "sample string 6", "PlayerPoints": 1, "OpponentPoints": 1, "Rated": true }, { "Id": 1, "MatchId": 1, "CreateDate": "2024-10-24T11:50:54.9247403+00:00", "PlayerName": "sample string 3", "PlayerId": 1, "PlayerRating": 1, "OpponentName": "sample string 4", "OpponentId": 1, "OpponentRating": 1, "Result": "sample string 5", "Duration": 1, "LastRating": 1, "RankChange": 1, "IsDealer": true, "Notes": "sample string 6", "PlayerPoints": 1, "OpponentPoints": 1, "Rated": true } ] }
application/xml, text/xml
Sample:
<DetailsViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GamificationWebMVC.Controllers"> <UserDetails xmlns:d2p1="http://schemas.datacontract.org/2004/07/GamificationWebMVC.DataAccess"> <d2p1:Avatar>sample string 6</d2p1:Avatar> <d2p1:AvatarNew>sample string 10</d2p1:AvatarNew> <d2p1:CreateDate>2024-10-24T11:50:54.9247403+00:00</d2p1:CreateDate> <d2p1:DeviceId>sample string 3</d2p1:DeviceId> <d2p1:Email>sample string 5</d2p1:Email> <d2p1:EmailSubscribe>true</d2p1:EmailSubscribe> <d2p1:FacebookId>sample string 4</d2p1:FacebookId> <d2p1:FacebookMessageSent>2024-10-24T11:50:54.9247403+00:00</d2p1:FacebookMessageSent> <d2p1:FacebookSenderId>sample string 9</d2p1:FacebookSenderId> <d2p1:Id>1</d2p1:Id> <d2p1:LastPlayed>2024-10-24T11:50:54.9247403+00:00</d2p1:LastPlayed> <d2p1:ModifyDate>2024-10-24T11:50:54.9247403+00:00</d2p1:ModifyDate> <d2p1:Name>sample string 2</d2p1:Name> <d2p1:NotificationHandle>sample string 7</d2p1:NotificationHandle> <d2p1:NotificationPlatform>sample string 8</d2p1:NotificationPlatform> <d2p1:PasswordHash xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Linq" i:nil="true" /> <d2p1:PasswordSalt xmlns:d3p1="http://schemas.datacontract.org/2004/07/System.Data.Linq" i:nil="true" /> <d2p1:Salt>0f6f9f45-5cdd-4ed2-a35a-770751a3b13f</d2p1:Salt> <d2p1:Verified>true</d2p1:Verified> </UserDetails> <UserHistory xmlns:d2p1="http://schemas.datacontract.org/2004/07/GamificationWebMVC.DataAccess"> <d2p1:uspGetGameHistoryResult> <d2p1:CreateDate>2024-10-24T11:50:54.9247403+00:00</d2p1:CreateDate> <d2p1:Duration>1</d2p1:Duration> <d2p1:Id>1</d2p1:Id> <d2p1:IsDealer>true</d2p1:IsDealer> <d2p1:LastRating>1</d2p1:LastRating> <d2p1:MatchId>1</d2p1:MatchId> <d2p1:Notes>sample string 6</d2p1:Notes> <d2p1:OpponentId>1</d2p1:OpponentId> <d2p1:OpponentName>sample string 4</d2p1:OpponentName> <d2p1:OpponentPoints>1</d2p1:OpponentPoints> <d2p1:OpponentRating>1</d2p1:OpponentRating> <d2p1:PlayerId>1</d2p1:PlayerId> <d2p1:PlayerName>sample string 3</d2p1:PlayerName> <d2p1:PlayerPoints>1</d2p1:PlayerPoints> <d2p1:PlayerRating>1</d2p1:PlayerRating> <d2p1:RankChange>1</d2p1:RankChange> <d2p1:Rated>true</d2p1:Rated> <d2p1:Result>sample string 5</d2p1:Result> </d2p1:uspGetGameHistoryResult> <d2p1:uspGetGameHistoryResult> <d2p1:CreateDate>2024-10-24T11:50:54.9247403+00:00</d2p1:CreateDate> <d2p1:Duration>1</d2p1:Duration> <d2p1:Id>1</d2p1:Id> <d2p1:IsDealer>true</d2p1:IsDealer> <d2p1:LastRating>1</d2p1:LastRating> <d2p1:MatchId>1</d2p1:MatchId> <d2p1:Notes>sample string 6</d2p1:Notes> <d2p1:OpponentId>1</d2p1:OpponentId> <d2p1:OpponentName>sample string 4</d2p1:OpponentName> <d2p1:OpponentPoints>1</d2p1:OpponentPoints> <d2p1:OpponentRating>1</d2p1:OpponentRating> <d2p1:PlayerId>1</d2p1:PlayerId> <d2p1:PlayerName>sample string 3</d2p1:PlayerName> <d2p1:PlayerPoints>1</d2p1:PlayerPoints> <d2p1:PlayerRating>1</d2p1:PlayerRating> <d2p1:RankChange>1</d2p1:RankChange> <d2p1:Rated>true</d2p1:Rated> <d2p1:Result>sample string 5</d2p1:Result> </d2p1:uspGetGameHistoryResult> </UserHistory> <gameId>1</gameId> </DetailsViewModel>