POST api/punters/{punterId}/cashout
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| punterId | integer |
Required |
Body Parameters
BO.BETRequestObjects.Punter.PunterCashOutRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| BetId | integer |
None. |
|
| InitialCashOutAmount | decimal number |
None. |
Request Formats
application/json, text/json
Sample:
{
"betId": 1,
"initialCashOutAmount": 2.0
}
application/xml, text/xml
Sample:
<PunterCashOutRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <BetId>1</BetId> <InitialCashOutAmount>2</InitialCashOutAmount> </PunterCashOutRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
BO.BETResponseObjects.BaseResponseOfBO.BETResponseObjects.Punter.PunterCashOut| Name | Description | Type | Additional information |
|---|---|---|---|
| ResponseObject | BO.BETResponseObjects.Punter.PunterCashOut |
None. |
|
| ResponseMessage | string |
None. |
|
| ResponseType | BO.Enums.ResponseType |
None. |
Response Formats
application/json, text/json
Sample:
{
"responseObject": {
"status": 1,
"message": "sample string 2"
},
"responseMessage": "sample string 1",
"responseType": 1
}
application/xml, text/xml
Sample:
<BaseResponseOfPunterCashOut xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<ResponseObject>
<Status>1</Status>
<Message>sample string 2</Message>
</ResponseObject>
<ResponseMessage>sample string 1</ResponseMessage>
<ResponseType>Success</ResponseType>
</BaseResponseOfPunterCashOut>