GET api/punters/{punterId}/balance?includeBonus={includeBonus}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
punterId

integer

Required

includeBonus

boolean

Default value is False

Body Parameters

None.

Response Information

Resource Description

BO.BETResponseObjects.BaseResponseOfBO.Models.Punter.PunterBalanceModel
NameDescriptionTypeAdditional information
ResponseObject

BO.Models.Punter.PunterBalanceModel

None.

ResponseMessage

string

None.

ResponseType

BO.Enums.ResponseType

None.

Response Formats

application/json, text/json

Sample:
{
  "responseObject": {
    "available": 1.0,
    "pending": 1.0,
    "bonus": 1.0,
    "bonusResponseMessage": "sample string 1"
  },
  "responseMessage": "sample string 1",
  "responseType": 1
}

application/xml, text/xml

Sample:
<BaseResponseOfPunterBalanceModel xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <ResponseObject>
    <Available>1</Available>
    <Pending>1</Pending>
    <Bonus>1</Bonus>
    <BonusResponseMessage>sample string 1</BonusResponseMessage>
  </ResponseObject>
  <ResponseMessage>sample string 1</ResponseMessage>
  <ResponseType>Success</ResponseType>
</BaseResponseOfPunterBalanceModel>