POST api/liveinplay/submit
Request Information
URI Parameters
None.
Body Parameters
BO.BETRequestObjects.LiveInPLay.BetCriteria| Name | Description | Type | Additional information |
|---|---|---|---|
| PunterId | integer |
None. |
|
| TotalOdds | decimal number |
None. |
|
| TotalStake | decimal number |
None. |
|
| TotalPayout | decimal number |
None. |
|
| BetLegs | Collection of BO.Models.LiveInPLay.BetLeg |
None. |
|
| PriceChangeDrift | byte |
None. |
|
| RequestID | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"punterId": 1,
"totalOdds": 2.0,
"totalStake": 3.0,
"totalPayout": 4.0,
"betLegs": [
{
"eventId": "sample string 1",
"marketId": "sample string 2",
"marketDetailId": "sample string 3",
"odds": 4.0,
"stake": 5.0,
"betLegNumber": 6
},
{
"eventId": "sample string 1",
"marketId": "sample string 2",
"marketDetailId": "sample string 3",
"odds": 4.0,
"stake": 5.0,
"betLegNumber": 6
}
],
"priceChangeDrift": 64,
"requestID": "sample string 6"
}
application/xml, text/xml
Sample:
<BetCriteria xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<PunterId>1</PunterId>
<TotalOdds>2</TotalOdds>
<TotalStake>3</TotalStake>
<TotalPayout>4</TotalPayout>
<BetLegs>
<BetLeg>
<EventId>sample string 1</EventId>
<MarketId>sample string 2</MarketId>
<MarketDetailId>sample string 3</MarketDetailId>
<Odds>4</Odds>
<Stake>5</Stake>
<BetLegNumber>6</BetLegNumber>
</BetLeg>
<BetLeg>
<EventId>sample string 1</EventId>
<MarketId>sample string 2</MarketId>
<MarketDetailId>sample string 3</MarketDetailId>
<Odds>4</Odds>
<Stake>5</Stake>
<BetLegNumber>6</BetLegNumber>
</BetLeg>
</BetLegs>
<PriceChangeDrift>64</PriceChangeDrift>
<RequestID>sample string 6</RequestID>
</BetCriteria>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfSystem.Collections.Generic.ListOfBO.MetaData.LiveInPlay.ApiLiveInPlayBets| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | Collection of BO.MetaData.LiveInPlay.ApiLiveInPlayBets |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": [
{
"returnID": 1,
"returnMessage": "sample string 2",
"ticketNumber": "sample string 3"
},
{
"returnID": 1,
"returnMessage": "sample string 2",
"ticketNumber": "sample string 3"
}
],
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfListOfApiLiveInPlayBets xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<ApiLiveInPlayBets>
<ReturnID>1</ReturnID>
<ReturnMessage>sample string 2</ReturnMessage>
<TicketNumber>sample string 3</TicketNumber>
</ApiLiveInPlayBets>
<ApiLiveInPlayBets>
<ReturnID>1</ReturnID>
<ReturnMessage>sample string 2</ReturnMessage>
<TicketNumber>sample string 3</TicketNumber>
</ApiLiveInPlayBets>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfListOfApiLiveInPlayBets>