POST Wallet/addcredit
Add credit to a wallet
Request Information
URI Parameters
None.
Body Parameters
AddCreditRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| badgeid | string |
None. |
|
| walletid | decimal number |
None. |
|
| credit | integer |
None. |
Request Formats
application/json, text/json
Sample:
{
"badgeid": "sample string 1",
"walletid": 2.0,
"credit": 3
}
application/xml, text/xml
Sample:
<WalletController.AddCreditRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Sportrick.WebApi.Controllers"> <badgeid>sample string 1</badgeid> <credit>3</credit> <walletid>2</walletid> </WalletController.AddCreditRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
stringResponse Formats
application/json, text/json
Sample:
"sample string 1"
application/xml, text/xml
Sample:
<string xmlns="http://schemas.microsoft.com/2003/10/Serialization/">sample string 1</string>