POST api/Coupon/AddCoupon
Request Information
URI Parameters
None.
Body Parameters
RedeemModel| Name | Description | Type | Additional information |
|---|---|---|---|
| PhoneNumber | string |
Required |
|
| CouponID | string |
Required |
Request Formats
application/json, text/json
Sample:
{
"PhoneNumber": "sample string 1",
"CouponID": "sample string 2"
}
text/html
Sample:
{"PhoneNumber":"sample string 1","CouponID":"sample string 2"}
application/xml, text/xml
Sample:
<RedeemModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/CMAPI.Models"> <CouponID>sample string 2</CouponID> <PhoneNumber>sample string 1</PhoneNumber> </RedeemModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
IHttpActionResultNone.
Response Formats
application/json, text/json, text/html, application/xml, text/xml
Sample:
Sample not available.