POST api/bets/AvailableWagerTypes

Request Information

URI Parameters

None.

Body Parameters

WagerTypesRequest
NameDescriptionTypeAdditional information
BasketId

string

None.

NumSelections

integer

None.

NumEvents

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BasketId": "sample string 1",
  "NumSelections": 2,
  "NumEvents": 3
}

application/xml, text/xml

Sample:
<WagerTypesRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Anthill.Geoff.Integrations.Betty.Models.Requests">
  <BasketId>sample string 1</BasketId>
  <NumEvents>3</NumEvents>
  <NumSelections>2</NumSelections>
</WagerTypesRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

Object

None.

Response Formats

application/json, text/json

Sample:
{}

application/xml, text/xml

Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />