POST api/Application/ApplyCoupon

Request Information

URI Parameters

None.

Body Parameters

ApplyCouponViewModel
NameDescriptionTypeAdditional information
UserID

integer

None.

CouponName

string

None.

PlaceTypeID

integer

None.

PlaceID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "UserID": 1,
  "CouponName": "sample string 2",
  "PlaceTypeID": 1,
  "PlaceID": 1
}

text/html

Sample:
{"UserID":1,"CouponName":"sample string 2","PlaceTypeID":1,"PlaceID":1}

application/xml, text/xml

Sample:
<ApplyCouponViewModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Authr.Web.Api.Models">
  <CouponName>sample string 2</CouponName>
  <PlaceID>1</PlaceID>
  <PlaceTypeID>1</PlaceTypeID>
  <UserID>1</UserID>
</ApplyCouponViewModel>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

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

Sample:

Sample not available.