POST api/vouchers/redeemvoucher

Request Information

URI Parameters

None.

Body Parameters

BO.BETRequestObjects.Voucher.VoucherCheckRequest
NameDescriptionTypeAdditional information
PunterId

integer

None.

VoucherPin

string

None.

ioBB

string

None.

Request Formats

application/json, text/json

Sample:
{
  "punterId": 1,
  "voucherPin": "sample string 2",
  "ioBB": "sample string 3"
}

application/xml, text/xml

Sample:
<VoucherCheckRequest xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <PunterId>1</PunterId>
  <VoucherPin>sample string 2</VoucherPin>
  <ioBB>sample string 3</ioBB>
</VoucherCheckRequest>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

BO.BETResponseObjects.BaseResponseOfBO.Models.Voucher.VoucherRedeem
NameDescriptionTypeAdditional information
ResponseObject

BO.Models.Voucher.VoucherRedeem

None.

ResponseMessage

string

None.

ResponseType

BO.Enums.ResponseType

None.

Response Formats

application/json, text/json

Sample:
{
  "responseObject": {
    "message": "sample string 1",
    "amount": 1.0,
    "bonus": 1.0,
    "balanceAvailable": 1.0,
    "balancePending": 1.0,
    "voucherRedeemed": true,
    "bonusRedeemed": true
  },
  "responseMessage": "sample string 1",
  "responseType": 1
}

application/xml, text/xml

Sample:
<BaseResponseOfVoucherRedeem xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseObject>
    <Message>sample string 1</Message>
    <Amount>1</Amount>
    <Bonus>1</Bonus>
    <BalanceAvailable>1</BalanceAvailable>
    <BalancePending>1</BalancePending>
    <VoucherRedeemed>true</VoucherRedeemed>
    <BonusRedeemed>true</BonusRedeemed>
  </ResponseObject>
  <ResponseMessage>sample string 1</ResponseMessage>
  <ResponseType>Success</ResponseType>
</BaseResponseOfVoucherRedeem>