HTTP + XML
The following are sample HTTP requests and responses.
The placeholders shown need to be replaced with actual values.
POST /xml/reply/MatchTilesPerformanceRequest HTTP/1.1
Host: games.api.valora.liquidbarcodes.com
Content-Type: application/xml
Content-Length: length
<MatchTilesPerformanceRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Liquid.Games.Public.Rest.Models">
<Guid>00000000-0000-0000-0000-000000000000</Guid>
<Instance xmlns:d2p1="http://schemas.datacontract.org/2004/07/Liquid.Games.Common.Models">
<d2p1:AccessId>00000000-0000-0000-0000-000000000000</d2p1:AccessId>
<d2p1:ChosenPrizeId>0</d2p1:ChosenPrizeId>
<d2p1:CustomerId>0</d2p1:CustomerId>
<d2p1:DefinedCulture>String</d2p1:DefinedCulture>
<d2p1:Depleted>false</d2p1:Depleted>
<d2p1:ExpirationDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>0001-01-01T00:00:00Z</d3p1:DateTime>
<d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
</d2p1:ExpirationDate>
<d2p1:ExternalRef>String</d2p1:ExternalRef>
<d2p1:GameId>0</d2p1:GameId>
<d2p1:GameType i:nil="true" />
<d2p1:GameUrl>String</d2p1:GameUrl>
<d2p1:Id>0</d2p1:Id>
<d2p1:Inactive>false</d2p1:Inactive>
<d2p1:Invalidated>false</d2p1:Invalidated>
<d2p1:IssuedDate>0001-01-01T00:00:00</d2p1:IssuedDate>
<d2p1:MediaType>String</d2p1:MediaType>
<d2p1:MemberId>0</d2p1:MemberId>
<d2p1:MetafileUrl>String</d2p1:MetafileUrl>
<d2p1:PrizeId>0</d2p1:PrizeId>
<d2p1:Rating>0</d2p1:Rating>
<d2p1:RatingDate xmlns:d3p1="http://schemas.datacontract.org/2004/07/System">
<d3p1:DateTime>0001-01-01T00:00:00Z</d3p1:DateTime>
<d3p1:OffsetMinutes>0</d3p1:OffsetMinutes>
</d2p1:RatingDate>
<d2p1:Result>Win</d2p1:Result>
<d2p1:ScheduleId>0</d2p1:ScheduleId>
<d2p1:State>Pending</d2p1:State>
<d2p1:UserId>String</d2p1:UserId>
</Instance>
<Language>String</Language>
<X>0</X>
<Y>0</Y>
</MatchTilesPerformanceRequest>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length
<PerformanceGameBoardMatchingColors xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Liquid.Games.Public.Rest.Models.PerformanceGames">
<Board xmlns:d2p1="http://schemas.datacontract.org/2004/07/System">
<d2p1:ArrayOfNullableOfint>
<d2p1:int>0</d2p1:int>
</d2p1:ArrayOfNullableOfint>
</Board>
<Colors xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
<d2p1:int>0</d2p1:int>
</Colors>
<LastMovement>0001-01-01T00:00:00</LastMovement>
<RemainingTime>0</RemainingTime>
<Score>0</Score>
<Started>false</Started>
<Time>0</Time>
</PerformanceGameBoardMatchingColors>