POST Betting/BetCashOut

Request Information

URI Parameters

None.

Body Parameters

ApiBetCashOutFilter
NameDescriptionTypeAdditional information
BetId

integer

None.

InitialCashOutAmount

decimal number

None.

ClientId

integer

None.

BranchId

integer

None.

UserId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "BetId": 1,
  "InitialCashOutAmount": 2.0,
  "ClientId": 3,
  "BranchId": 4,
  "UserId": 5
}

application/xml, text/xml

Sample:
<ApiBetCashOutFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <BetId>1</BetId>
  <BranchId>4</BranchId>
  <ClientId>3</ClientId>
  <InitialCashOutAmount>2</InitialCashOutAmount>
  <UserId>5</UserId>
</ApiBetCashOutFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiBetCashOutResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

ApiBetCashOut

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": {
    "Status": 1,
    "Message": "sample string 2"
  },
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiBetCashOutResponse 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>
    <Message>sample string 2</Message>
    <Status>1</Status>
  </ResponseObject>
</ApiBetCashOutResponse>