POST api/Enrolment/PostEnrolement
Creates an enrolement
Request Information
URI Parameters
None.
Body Parameters
Enrolment obect with programid, studentid and franchiseeId
BO.Models.Enrolments.EnrolmentBasic| Name | Description | Type | Additional information |
|---|---|---|---|
| EnrolmentId | integer |
None. |
|
| FranchiseeId | integer |
Required |
|
| ProgramId | integer |
Required |
|
| StudentId | integer |
Required |
Request 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>
application/x-www-form-urlencoded
Sample:
Sample not available.
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>