Six4Win.WebApi

<back to all web services

FindRescheduleRequests

The following routes are available for this service:
All Verbs/qry/super-win/reschedule-requests
namespace Six4Win.WebApi.ServiceModel

open System
open System.IO
open System.Collections
open System.Collections.Generic
open System.Runtime.Serialization
open ServiceStack
open ServiceStack.DataAnnotations

    [<AllowNullLiteral>]
    type QueryRequest() = 
        member val Qry:Dictionary<String, String> = null with get,set

    [<AllowNullLiteral>]
    type PaginatedQueryRequest() = 
        inherit QueryRequest()
        member val CurrentPage:Int32 = new Int32() with get,set
        member val PageSize:Int32 = new Int32() with get,set

    [<AllowNullLiteral>]
    type FindRescheduleRequests() = 
        inherit PaginatedQueryRequest()

    [<AllowNullLiteral>]
    type Bet() = 
        member val Id:String = null with get,set
        member val OrdinalOfAvailableRoundToAssignTo:Int32 = new Int32() with get,set
        member val Content:String = null with get,set
        member val Stake:Decimal = new Decimal() with get,set
        member val Payload:Dictionary<String, String> = null with get,set

    [<AllowNullLiteral>]
    type PaginatedResult<T>() = 
        member val Data:ResizeArray<Bet> = null with get,set
        member val CurrentPage:Int64 = new Int64() with get,set
        member val PageSize:Int64 = new Int64() with get,set
        member val TotalItems:Int64 = new Int64() with get,set
        member val TotalPages:Int64 = new Int64() with get,set

F# FindRescheduleRequests DTOs

To override the Content-type in your clients, use the 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 /qry/super-win/reschedule-requests HTTP/1.1 
Host: s4w2.api.bettor-dual-stage.webhop.biz 
Accept: application/xml
Content-Type: application/xml
Content-Length: length

<FindRescheduleRequests xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Six4Win.WebApi.ServiceModel">
  <Qry xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" xmlns="http://schemas.datacontract.org/2004/07/Starnet.Common">
    <d2p1:KeyValueOfstringstring>
      <d2p1:Key>String</d2p1:Key>
      <d2p1:Value>String</d2p1:Value>
    </d2p1:KeyValueOfstringstring>
  </Qry>
  <CurrentPage xmlns="http://schemas.datacontract.org/2004/07/Starnet.Common">0</CurrentPage>
  <PageSize xmlns="http://schemas.datacontract.org/2004/07/Starnet.Common">0</PageSize>
</FindRescheduleRequests>
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<PaginatedResultOfSuperWinRescheduleRequestcdb8QqRi xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Starnet.Common">
  <CurrentPage>0</CurrentPage>
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/Six4Win.ReadModel">
    <d2p1:SuperWinRescheduleRequest>
      <d2p1:ErrorDescription>String</d2p1:ErrorDescription>
      <d2p1:Id>String</d2p1:Id>
      <d2p1:IsResolved>false</d2p1:IsResolved>
      <d2p1:IsSuccess>false</d2p1:IsSuccess>
      <d2p1:RequestedAt>0001-01-01T00:00:00</d2p1:RequestedAt>
      <d2p1:RequestedBy>String</d2p1:RequestedBy>
      <d2p1:State xmlns:d4p1="http://schemas.datacontract.org/2004/07/Six4Win">
        <d4p1:AvailableAmount>0</d4p1:AvailableAmount>
        <d4p1:CurrentDate>String</d4p1:CurrentDate>
        <d4p1:Pools xmlns:d5p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
          <d5p1:KeyValueOfintSuperWinPoolQC5r2uXE>
            <d5p1:Key>0</d5p1:Key>
            <d5p1:Value>
              <d4p1:Amount>0</d4p1:Amount>
              <d4p1:Id>0</d4p1:Id>
              <d4p1:Schedule>
                <d4p1:SuperWinPrize>
                  <d4p1:Amount>0</d4p1:Amount>
                  <d4p1:Id>0</d4p1:Id>
                  <d4p1:ScheduledAt>0001-01-01T00:00:00</d4p1:ScheduledAt>
                  <d4p1:Winner>
                    <d4p1:Amount>0</d4p1:Amount>
                    <d4p1:BetId>String</d4p1:BetId>
                    <d4p1:Bettor>
                      <_x003C_Id_x003E_k__BackingField>String</_x003C_Id_x003E_k__BackingField>
                      <_x003C_Val_x003E_k__BackingField>String</_x003C_Val_x003E_k__BackingField>
                    </d4p1:Bettor>
                    <d4p1:Code>String</d4p1:Code>
                    <d4p1:DrawnAtUtc>0001-01-01T00:00:00</d4p1:DrawnAtUtc>
                    <d4p1:IsDrawn>false</d4p1:IsDrawn>
                    <d4p1:LocationAddressOrBettorInfo>String</d4p1:LocationAddressOrBettorInfo>
                    <d4p1:Origin xmlns:d11p1="http://schemas.datacontract.org/2004/07/Betting.Common">
                      <d11p1:Application>
                        <d11p1:Name>String</d11p1:Name>
                        <d11p1:Version>String</d11p1:Version>
                      </d11p1:Application>
                      <d11p1:Clerk>
                        <_x003C_Id_x003E_k__BackingField>String</_x003C_Id_x003E_k__BackingField>
                        <_x003C_Val_x003E_k__BackingField>String</_x003C_Val_x003E_k__BackingField>
                      </d11p1:Clerk>
                      <d11p1:Device>
                        <_x003C_Id_x003E_k__BackingField>String</_x003C_Id_x003E_k__BackingField>
                        <_x003C_Val_x003E_k__BackingField>String</_x003C_Val_x003E_k__BackingField>
                        <_x003C_Data_x003E_k__BackingField>
                          <d5p1:KeyValueOfstringstring>
                            <d5p1:Key>String</d5p1:Key>
                            <d5p1:Value>String</d5p1:Value>
                          </d5p1:KeyValueOfstringstring>
                        </_x003C_Data_x003E_k__BackingField>
                      </d11p1:Device>
                      <d11p1:IP>String</d11p1:IP>
                      <d11p1:Location>
                        <_x003C_Id_x003E_k__BackingField>String</_x003C_Id_x003E_k__BackingField>
                        <_x003C_Val_x003E_k__BackingField>String</_x003C_Val_x003E_k__BackingField>
                        <_x003C_Data_x003E_k__BackingField>
                          <d5p1:KeyValueOfstringstring>
                            <d5p1:Key>String</d5p1:Key>
                            <d5p1:Value>String</d5p1:Value>
                          </d5p1:KeyValueOfstringstring>
                        </_x003C_Data_x003E_k__BackingField>
                      </d11p1:Location>
                      <d11p1:LocationGroup>
                        <_x003C_Id_x003E_k__BackingField>String</_x003C_Id_x003E_k__BackingField>
                        <_x003C_Val_x003E_k__BackingField>String</_x003C_Val_x003E_k__BackingField>
                      </d11p1:LocationGroup>
                      <d11p1:Organization>
                        <_x003C_Id_x003E_k__BackingField>String</_x003C_Id_x003E_k__BackingField>
                        <_x003C_Val_x003E_k__BackingField>String</_x003C_Val_x003E_k__BackingField>
                        <_x003C_Data_x003E_k__BackingField>
                          <d5p1:KeyValueOfstringstring>
                            <d5p1:Key>String</d5p1:Key>
                            <d5p1:Value>String</d5p1:Value>
                          </d5p1:KeyValueOfstringstring>
                        </_x003C_Data_x003E_k__BackingField>
                      </d11p1:Organization>
                      <d11p1:Region>
                        <_x003C_Id_x003E_k__BackingField>String</_x003C_Id_x003E_k__BackingField>
                        <_x003C_Val_x003E_k__BackingField>String</_x003C_Val_x003E_k__BackingField>
                      </d11p1:Region>
                    </d4p1:Origin>
                    <d4p1:RoundId>String</d4p1:RoundId>
                    <d4p1:SlipId>String</d4p1:SlipId>
                  </d4p1:Winner>
                </d4p1:SuperWinPrize>
              </d4p1:Schedule>
              <d4p1:State>Idle</d4p1:State>
            </d5p1:Value>
          </d5p1:KeyValueOfintSuperWinPoolQC5r2uXE>
        </d4p1:Pools>
      </d2p1:State>
    </d2p1:SuperWinRescheduleRequest>
  </Data>
  <PageSize>0</PageSize>
  <TotalItems>0</TotalItems>
  <TotalPages>0</TotalPages>
</PaginatedResultOfSuperWinRescheduleRequestcdb8QqRi>