POST Enrollment/UpdateCouponStatus

Request Information

URI Parameters

None.

Body Parameters

CouponcodeModule
NameDescriptionTypeAdditional information
ClassId

string

None.

SchList

Object

None.

CouponID

integer

None.

UserType

string

None.

NewStudent

boolean

None.

ReturningStudent

boolean

None.

CouponCode

string

None.

CoupDesc

string

None.

CoupValue

string

None.

ValidFromDate

date

None.

ValidFromTime

date

None.

ValidToDate

date

None.

ValidToTime

date

None.

CoupCategory

string

None.

CoupSubCategory

string

None.

CoupSchedules

string

None.

LimitPerCoupon

integer

None.

LimitPerPerson

integer

None.

CoupStatus

integer

None.

CreatedOn

date

None.

CreatedBy

string

None.

UpdatedOn

date

None.

UpdatedBy

string

None.

ClassID

string

None.

ScheduleID

integer

None.

CoupSubCategoryID

integer

None.

CouponSubCategoryScheduleID

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "ClassId": "sample string 1",
  "SchList": {},
  "CouponID": 3,
  "UserType": "sample string 4",
  "NewStudent": true,
  "ReturningStudent": true,
  "CouponCode": "sample string 5",
  "CoupDesc": "sample string 6",
  "CoupValue": "sample string 7",
  "ValidFromDate": "2025-09-06T17:37:37.5905156+00:00",
  "ValidFromTime": "2025-09-06T17:37:37.5905156+00:00",
  "ValidToDate": "2025-09-06T17:37:37.5905156+00:00",
  "ValidToTime": "2025-09-06T17:37:37.5905156+00:00",
  "CoupCategory": "sample string 12",
  "CoupSubCategory": "sample string 13",
  "CoupSchedules": "sample string 14",
  "LimitPerCoupon": 15,
  "LimitPerPerson": 16,
  "CoupStatus": 17,
  "CreatedOn": "2025-09-06T17:37:37.5905156+00:00",
  "CreatedBy": "sample string 18",
  "UpdatedOn": "2025-09-06T17:37:37.5905156+00:00",
  "UpdatedBy": "sample string 19",
  "ClassID": "sample string 20",
  "ScheduleID": 21,
  "CoupSubCategoryID": 22,
  "CouponSubCategoryScheduleID": 23
}

application/xml, text/xml

Sample:
<CouponcodeModule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/HLSClientPortal.Models">
  <ClassID>sample string 20</ClassID>
  <ClassId>sample string 1</ClassId>
  <CoupCategory>sample string 12</CoupCategory>
  <CoupDesc>sample string 6</CoupDesc>
  <CoupSchedules>sample string 14</CoupSchedules>
  <CoupStatus>17</CoupStatus>
  <CoupSubCategory>sample string 13</CoupSubCategory>
  <CoupSubCategoryID>22</CoupSubCategoryID>
  <CoupValue>sample string 7</CoupValue>
  <CouponCode>sample string 5</CouponCode>
  <CouponID>3</CouponID>
  <CouponSubCategoryScheduleID>23</CouponSubCategoryScheduleID>
  <CreatedBy>sample string 18</CreatedBy>
  <CreatedOn>2025-09-06T17:37:37.5905156+00:00</CreatedOn>
  <LimitPerCoupon>15</LimitPerCoupon>
  <LimitPerPerson>16</LimitPerPerson>
  <NewStudent>true</NewStudent>
  <ReturningStudent>true</ReturningStudent>
  <SchList />
  <ScheduleID>21</ScheduleID>
  <UpdatedBy>sample string 19</UpdatedBy>
  <UpdatedOn>2025-09-06T17:37:37.5905156+00:00</UpdatedOn>
  <UserType>sample string 4</UserType>
  <ValidFromDate>2025-09-06T17:37:37.5905156+00:00</ValidFromDate>
  <ValidFromTime>2025-09-06T17:37:37.5905156+00:00</ValidFromTime>
  <ValidToDate>2025-09-06T17:37:37.5905156+00:00</ValidToDate>
  <ValidToTime>2025-09-06T17:37:37.5905156+00:00</ValidToTime>
</CouponcodeModule>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'CouponcodeModule'.

Response Information

Resource Description

Object

None.

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/" />