GET api/Enrolment/GetEnrolement?enrolementId={enrolementId}&franchiseeId={franchiseeId}
Gets enrolement by id
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| enrolementId |
enrolementId |
integer |
Required |
| franchiseeId |
franchiseeId |
integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BO.Models.Enrolments.EnrolmentBasic| Name | Description | Type | Additional information |
|---|---|---|---|
| EnrolmentId | integer |
None. |
|
| FranchiseeId | integer |
Required |
|
| ProgramId | integer |
Required |
|
| StudentId | integer |
Required |
Response Formats
application/json, text/json
Sample:
{
"EnrolmentId": 1,
"FranchiseeId": 2,
"ProgramId": 3,
"StudentId": 4
}
application/xml, text/xml
Sample:
<EnrolmentBasic xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BO.Models.Enrolments"> <EnrolmentId>1</EnrolmentId> <FranchiseeId>2</FranchiseeId> <ProgramId>3</ProgramId> <StudentId>4</StudentId> </EnrolmentBasic>