GET api/ECStudentsByClass
Gets all Students details.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
A list of students and Details
Collection of ECStudentName | Description | Type | Additional information |
---|---|---|---|
StudentId |
Gets or sets the student ID. |
integer |
None. |
StudentName |
Gets or sets the student name. |
string |
None. |
ClassId |
Gets or sets the class ID. |
integer |
None. |
Gender |
Gets or sets the gender of the student. |
string |
None. |
ProfileImageUrl |
Gets or sets the profile image URL of the student. |
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "StudentId": 1, "StudentName": "sample string 2", "ClassId": 3, "Gender": "sample string 4", "ProfileImageUrl": "sample string 5" }, { "StudentId": 1, "StudentName": "sample string 2", "ClassId": 3, "Gender": "sample string 4", "ProfileImageUrl": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfECStudent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models"> <ECStudent> <ClassId>3</ClassId> <Gender>sample string 4</Gender> <ProfileImageUrl>sample string 5</ProfileImageUrl> <StudentId>1</StudentId> <StudentName>sample string 2</StudentName> </ECStudent> <ECStudent> <ClassId>3</ClassId> <Gender>sample string 4</Gender> <ProfileImageUrl>sample string 5</ProfileImageUrl> <StudentId>1</StudentId> <StudentName>sample string 2</StudentName> </ECStudent> </ArrayOfECStudent>