GET api/punters/{punterId}/cashout?betId={betId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| punterId | integer |
Required |
|
| betId | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfBO.MetaData.Betting.ApiCashOutAmount| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | BO.MetaData.Betting.ApiCashOutAmount |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": {
"betId": 1,
"newAmount": 2.0,
"canCashOut": true,
"isCashOutInPlay": true,
"cashOutTimer": 1
},
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfApiCashOutAmount xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<BetId>1</BetId>
<NewAmount>2</NewAmount>
<CanCashOut>true</CanCashOut>
<IsCashOutInPlay>true</IsCashOutInPlay>
<CashOutTimer>1</CashOutTimer>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfApiCashOutAmount>