GET api/MrStudentClassmate?schoolId={schoolId}&StudentID={StudentID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
schoolId

integer

Required

StudentID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of StudentClassmate
NameDescriptionTypeAdditional information
RollNo

integer

None.

RegisterNo

string

None.

StudentName

string

None.

DOB

date

None.

Photo

string

None.

Response Formats

application/json, text/json, text/html

Sample:
[
  {
    "rollNo": 1,
    "registerNo": "sample string 2",
    "studentName": "sample string 3",
    "dob": "2025-12-29T00:32:31.3839999-08:00",
    "photo": "sample string 5"
  },
  {
    "rollNo": 1,
    "registerNo": "sample string 2",
    "studentName": "sample string 3",
    "dob": "2025-12-29T00:32:31.3839999-08:00",
    "photo": "sample string 5"
  }
]

application/xml, text/xml

Sample:
<ArrayOfStudentClassmate xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SchoolMaster_API.Models">
  <StudentClassmate>
    <DOB>2025-12-29T00:32:31.3839999-08:00</DOB>
    <Photo>sample string 5</Photo>
    <RegisterNo>sample string 2</RegisterNo>
    <RollNo>1</RollNo>
    <StudentName>sample string 3</StudentName>
  </StudentClassmate>
  <StudentClassmate>
    <DOB>2025-12-29T00:32:31.3839999-08:00</DOB>
    <Photo>sample string 5</Photo>
    <RegisterNo>sample string 2</RegisterNo>
    <RollNo>1</RollNo>
    <StudentName>sample string 3</StudentName>
  </StudentClassmate>
</ArrayOfStudentClassmate>