POST api/Enrollment/ClassEnrollment
Request Information
URI Parameters
None.
Body Parameters
ClassEnrollmentModelName | Description | Type | Additional information |
---|---|---|---|
EnrollmentId | integer |
None. |
|
ClassId | integer |
None. |
|
ATPId | integer |
None. |
|
BrandId | integer |
None. |
|
ClassCourseId | integer |
None. |
|
FirstName | string |
None. |
|
LastName | string |
None. |
|
EmailId | string |
None. |
|
PhoneNo | string |
None. |
|
PromoId | integer |
None. |
|
TransactionNo | string |
None. |
|
PaymentFee | decimal number |
None. |
|
PayerEmail | string |
None. |
|
ModeOfPayment | string |
None. |
Request Formats
application/json, text/json
Sample:
{ "EnrollmentId": 1, "ClassId": 2, "ATPId": 3, "BrandId": 4, "ClassCourseId": 5, "FirstName": "sample string 6", "LastName": "sample string 7", "EmailId": "sample string 8", "PhoneNo": "sample string 9", "PromoId": 10, "TransactionNo": "sample string 11", "PaymentFee": 12.0, "PayerEmail": "sample string 13", "ModeOfPayment": "sample string 14" }
application/xml, text/xml
Sample:
<EnrollmentModel.ClassEnrollmentModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/VMEduWebAPI2.Models"> <ATPId>3</ATPId> <BrandId>4</BrandId> <ClassCourseId>5</ClassCourseId> <ClassId>2</ClassId> <EmailId>sample string 8</EmailId> <EnrollmentId>1</EnrollmentId> <FirstName>sample string 6</FirstName> <LastName>sample string 7</LastName> <ModeOfPayment>sample string 14</ModeOfPayment> <PayerEmail>sample string 13</PayerEmail> <PaymentFee>12</PaymentFee> <PhoneNo>sample string 9</PhoneNo> <PromoId>10</PromoId> <TransactionNo>sample string 11</TransactionNo> </EnrollmentModel.ClassEnrollmentModel>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
HttpResponseMessageName | Description | Type | Additional information |
---|---|---|---|
Version | Version |
None. |
|
Content | HttpContent |
None. |
|
StatusCode | HttpStatusCode |
None. |
|
ReasonPhrase | string |
None. |
|
Headers | Collection of Object |
None. |
|
RequestMessage | HttpRequestMessage |
None. |
|
IsSuccessStatusCode | boolean |
None. |