POST api/Payment/GetCouponCodeDiscount
Request Information
URI Parameters
None.
Body Parameters
CouponCodemodel| Name | Description | Type | Additional information |
|---|---|---|---|
| StudentId | integer |
None. |
|
| ScheduleId | integer |
None. |
|
| CouponCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"StudentId": 1,
"ScheduleId": 2,
"CouponCode": "sample string 3"
}
application/xml, text/xml
Sample:
<CouponCodemodel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HLSClientPortal.Models"> <CouponCode>sample string 3</CouponCode> <ScheduleId>2</ScheduleId> <StudentId>1</StudentId> </CouponCodemodel>
application/x-www-form-urlencoded
Sample:
Response Information
Resource Description
ObjectNone.
Response Formats
application/json, text/json
Sample:
{}
application/xml, text/xml
Sample:
<z:anyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns:z="http://schemas.microsoft.com/2003/10/Serialization/" />