POST api/ResellerWallet/CreditWithVoucher

Request Information

URI Parameters

None.

Body Parameters

ResellerCreditWalletViewModel
NameDescriptionTypeAdditional information
userName

string

None.

vouchercode

string

None.

dealid

integer

None.

Request Formats

application/json, text/json

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

application/xml, text/xml

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

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

HttpResponseMessage
NameDescriptionTypeAdditional information
Version

None.