POST api/account/apply-coupon
Request Information
URI Parameters
None.
Body Parameters
CouponRequestModelName | Description | Type | Additional information |
---|---|---|---|
coupon | string |
None. |
|
childid | integer |
None. |
Request Formats
application/json, text/json
Sample:
{ "coupon": "sample string 1", "childid": 2 }
application/xml, text/xml
Sample:
<CouponRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel"> <childid>2</childid> <coupon>sample string 1</coupon> </CouponRequestModel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
CouponRequestModelName | Description | Type | Additional information |
---|---|---|---|
coupon | string |
None. |
|
childid | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "coupon": "sample string 1", "childid": 2 }
application/xml, text/xml
Sample:
<CouponRequestModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/iCareApiModel"> <childid>2</childid> <coupon>sample string 1</coupon> </CouponRequestModel>