GET Betting/GetCashOutAmount/{betId}

Get Cash Out Amount For a bet

Request Information

URI Parameters

NameDescriptionTypeAdditional information
betId

The BetId to get cash out amount for

integer

Required

Body Parameters

None.

Response Information

Resource Description

betId with cash out amount

ApiGetCashOutAmountResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

ApiCashOutAmount

None.

ResponseType

Gets or sets the type of the response.

integer

None.

ResponseMessage

Gets or sets the response message.

string

None.

Response Formats

application/json, text/json

Sample:
{
  "ResponseObject": {
    "BetId": 1,
    "NewAmount": 2.0,
    "CanCashOut": true
  },
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiGetCashOutAmountResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <ResponseMessage>sample string 2</ResponseMessage>
  <ResponseType>1</ResponseType>
  <ResponseObject>
    <BetId>1</BetId>
    <CanCashOut>true</CanCashOut>
    <NewAmount>2</NewAmount>
  </ResponseObject>
</ApiGetCashOutAmountResponse>