GET api/teststudents
obtain list of test students
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of StudentDtoName | Description | Type | Additional information |
---|---|---|---|
IndexNo | string |
None. |
|
StudentName | string |
None. |
|
Dob | date |
None. |
|
Phone | string |
None. |
|
string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "IndexNo": "sample string 1", "StudentName": "sample string 2", "Dob": "2025-06-25T14:13:01.2495631+00:00", "Phone": "sample string 4", "Email": "sample string 5" }, { "IndexNo": "sample string 1", "StudentName": "sample string 2", "Dob": "2025-06-25T14:13:01.2495631+00:00", "Phone": "sample string 4", "Email": "sample string 5" } ]
application/xml, text/xml
Sample:
<ArrayOfStudentDto xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRMS.WebApi.Models"> <StudentDto> <Dob>2025-06-25T14:13:01.2495631+00:00</Dob> <Email>sample string 5</Email> <IndexNo>sample string 1</IndexNo> <Phone>sample string 4</Phone> <StudentName>sample string 2</StudentName> </StudentDto> <StudentDto> <Dob>2025-06-25T14:13:01.2495631+00:00</Dob> <Email>sample string 5</Email> <IndexNo>sample string 1</IndexNo> <Phone>sample string 4</Phone> <StudentName>sample string 2</StudentName> </StudentDto> </ArrayOfStudentDto>