POST api/placebet/addbet
Request Information
URI Parameters
None.
Body Parameters
AddBetRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| CustomerRef | string |
None. |
|
| WagerTypeId | integer |
None. |
|
| Stake | decimal number |
None. |
|
| EachWay | boolean |
None. |
|
| NoOfLines | integer |
None. |
|
| BasketId | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"CustomerRef": "sample string 1",
"WagerTypeId": 2,
"Stake": 3.0,
"EachWay": true,
"NoOfLines": 5,
"BasketId": "sample string 6"
}
application/xml, text/xml
Sample:
<AddBetRequest 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 6</BasketId> <CustomerRef>sample string 1</CustomerRef> <EachWay>true</EachWay> <NoOfLines>5</NoOfLines> <Stake>3</Stake> <WagerTypeId>2</WagerTypeId> </AddBetRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
ObjectNone.
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/" />