Liquid gaming web server.

<back to all web services

SpinRequest

The following routes are available for this service:
All Verbs/spin/{Guid}

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/oneway/SpinRequest HTTP/1.1 
Host: games.api.valora.liquidbarcodes.com 
Content-Type: application/xml
Content-Length: length

<SpinRequest 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>
  <NewState i:nil="true" />
  <SpinForce>0</SpinForce>
</SpinRequest>