POST Casino/CasinoCancelOrRefund

Casino Result

Request Information

URI Parameters

None.

Body Parameters

WepApiCasinoCancelOrRefundFilter
NameDescriptionTypeAdditional information
ClientID

Gets or sets the ClientID

integer

None.

CasinoClientID

Gets or sets the CasinoClientID

integer

None.

BetID

Gets or sets the BetID

integer

None.

Reference

string

None.

TransactionID

Gets or sets the TransactionID

string

None.

GameName

Gets or sets the Game

string

None.

BetValue

Gets or sets the BetValue

string

None.

BetInfo

Gets or sets the Bet

string

None.

Amount

Gets or sets the Amount

decimal number

None.

Type

Gets or sets the Type

integer

None.

ProviderBetRefId

string

None.

userID

Gets or sets the user identifier.

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClientID": 1,
  "CasinoClientID": 2,
  "BetID": 3,
  "Reference": "sample string 4",
  "TransactionID": "sample string 5",
  "GameName": "sample string 6",
  "BetValue": "sample string 7",
  "BetInfo": "sample string 8",
  "Amount": 1.0,
  "Type": 9,
  "ProviderBetRefId": "sample string 10",
  "userID": 11
}

application/xml, text/xml

Sample:
<WepApiCasinoCancelOrRefundFilter xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SyX.Online.API.Models">
  <userID>11</userID>
  <Amount>1</Amount>
  <BetID>3</BetID>
  <BetInfo>sample string 8</BetInfo>
  <BetValue>sample string 7</BetValue>
  <CasinoClientID>2</CasinoClientID>
  <ClientID>1</ClientID>
  <GameName>sample string 6</GameName>
  <ProviderBetRefId>sample string 10</ProviderBetRefId>
  <Reference>sample string 4</Reference>
  <TransactionID>sample string 5</TransactionID>
  <Type>9</Type>
</WepApiCasinoCancelOrRefundFilter>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

ApiCasinoBetTransactionResponse
NameDescriptionTypeAdditional information
ResponseObject

Gets or sets the response object.

ApiCasinoBetTransaction

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": {
    "SucessMessage": "sample string 1",
    "Success": true,
    "Balance": 1.0,
    "BonusBalance": 1.0,
    "TransactionID": 1
  },
  "ResponseType": 1,
  "ResponseMessage": "sample string 2"
}

application/xml, text/xml

Sample:
<ApiCasinoBetTransactionResponse 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>
    <Balance>1</Balance>
    <BonusBalance>1</BonusBalance>
    <Success>true</Success>
    <SucessMessage>sample string 1</SucessMessage>
    <TransactionID>1</TransactionID>
  </ResponseObject>
</ApiCasinoBetTransactionResponse>