GET Vending/Balance?badgeID={badgeID}&walletID={walletID}

Retrieve the balance of the selected badge

Request Information

URI Parameters

NameDescriptionTypeAdditional information
badgeID

Badge ID

string

Required

walletID

wallet ID

decimal number

Required

Body Parameters

None.

Response Information

Resource Description

VendingResponse
NameDescriptionTypeAdditional information
Balance

The balance for the current badge

decimal number

None.

Status

Result of the API call

VendingResponseStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "Balance": 1.0,
  "Status": "OK"
}

application/xml, text/xml

Sample:
<VendingResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.ApiModel.Responses">
  <Balance>1</Balance>
  <Status>OK</Status>
</VendingResponse>