POST api/Normal/RedeemVoucher

Request Information

URI Parameters

None.

Body Parameters

NormalVoucherModel
NameDescriptionTypeAdditional information
Phone

string

None.

Email

string

None.

Mail

string

None.

VoucherId

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "Phone": "sample string 1",
  "Email": "sample string 2",
  "Mail": "sample string 3",
  "VoucherId": 4
}

application/xml, text/xml

Sample:
<NormalVoucherModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/XmasApi.Models.Normal">
  <Email>sample string 2</Email>
  <Mail>sample string 3</Mail>
  <Phone>sample string 1</Phone>
  <VoucherId>4</VoucherId>
</NormalVoucherModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.