POST api/Recharge/RechargeWithVoucher

Request Information

URI Parameters

None.

Body Parameters

VouherRechargeViewModel
NameDescriptionTypeAdditional information
userName

string

None.

vouchercode

string

None.

Request Formats

application/json, text/json

Sample:
{
  "userName": "sample string 1",
  "vouchercode": "sample string 2"
}

application/xml, text/xml

Sample:
<VouherRechargeViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AtozOnlineAPI.Areas.Consumer.Models">
  <userName>sample string 1</userName>
  <vouchercode>sample string 2</vouchercode>
</VouherRechargeViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

None.