GET api/Exams?gradeSection={gradeSection}
Retrieves a list of exams scheduled for a given grade and section.
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| gradeSection |
The grade and section of the student (e.g., "Grade 5A"). |
string |
Required |
Body Parameters
None.
Response Information
Resource Description
A list of exams including subject, date, and time for the specified grade and section.
Collection of ExamSchedule| Name | Description | Type | Additional information |
|---|---|---|---|
| GradeSection |
The grade and section of the student (e.g., "Grade 5A"). |
string |
None. |
| Subject |
The subject of the exam (e.g., "Mathematics"). |
string |
None. |
| Date |
The date of the exam in YYYY-MM-DD format. |
string |
None. |
| Time |
The time of the exam (e.g., "10:00 AM"). |
string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"GradeSection": "sample string 1",
"Subject": "sample string 2",
"Date": "sample string 3",
"Time": "sample string 4"
},
{
"GradeSection": "sample string 1",
"Subject": "sample string 2",
"Date": "sample string 3",
"Time": "sample string 4"
}
]
application/xml, text/xml
Sample:
<ArrayOfExamSchedule xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/OTJServices.Models">
<ExamSchedule>
<Date>sample string 3</Date>
<GradeSection>sample string 1</GradeSection>
<Subject>sample string 2</Subject>
<Time>sample string 4</Time>
</ExamSchedule>
<ExamSchedule>
<Date>sample string 3</Date>
<GradeSection>sample string 1</GradeSection>
<Subject>sample string 2</Subject>
<Time>sample string 4</Time>
</ExamSchedule>
</ArrayOfExamSchedule>