GET api/teststudents/{id}
obtain student with record no (id) specified
Request Information
URI Parameters
Name | Description | Type | Additional information |
---|---|---|---|
id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
TestStudentName | Description | Type | Additional information |
---|---|---|---|
StudentId | integer |
None. |
|
IndexNo | string |
Required String length: inclusive between 0 and 11 |
|
Lastname | string |
Required String length: inclusive between 0 and 60 |
|
Othernames | string |
String length: inclusive between 0 and 100 |
|
Dob | date |
Required Data type: Date |
|
Admitted | date |
Required Data type: Date |
|
Phone | string |
String length: inclusive between 0 and 30 |
|
string |
Data type: EmailAddress String length: inclusive between 0 and 50 |
||
AddressLine1 | string |
String length: inclusive between 0 and 50 |
|
AddressLine2 | string |
String length: inclusive between 0 and 50 |
|
Nationality | string |
Required |
|
ProgId | integer |
Required |
|
LevelId | integer |
Required |
|
Active | boolean |
None. |
|
Prospective | boolean |
None. |
|
Completed | boolean |
None. |
|
Deferred | boolean |
None. |
|
Withdrawn | boolean |
None. |
|
FeeSchedule | FeeSchedule |
None. |
|
Gender | string |
String length: inclusive between 0 and 6 |
|
ClassGroupId | integer |
None. |
|
Username | string |
Required String length: inclusive between 0 and 50 |
|
PhotoId | integer |
None. |
|
AccountDisabled | boolean |
None. |
|
MaritalStatus | string |
None. |
|
ApplicationNo | string |
Required String length: inclusive between 0 and 12 |
|
BirthPlace | string |
Required |
|
Nok | string |
None. |
|
NokAddress | string |
None. |
|
NokPhone | string |
None. |
|
ApplicationDate | date |
None. |
|
PhysicalChallenge | string |
None. |
|
SponsorName | string |
None. |
|
SponsorAddressLine1 | string |
None. |
|
SponsorAddressLine2 | string |
None. |
|
SponsorContactNo | string |
None. |
|
ShortInfo | string |
None. |
|
PhotoName | string |
None. |
|
Completeness | string |
None. |
Response Formats
application/json, text/json
{ "StudentId": 1, "IndexNo": "sample string 2", "Lastname": "sample string 3", "Othernames": "sample string 4", "Dob": "2025-06-25T14:00:46.2502211+00:00", "Admitted": "2025-06-25T14:00:46.2502211+00:00", "Phone": "sample string 7", "Email": "sample string 8", "AddressLine1": "sample string 9", "AddressLine2": "sample string 10", "Nationality": "sample string 11", "ProgId": 12, "LevelId": 13, "Active": true, "Prospective": true, "Completed": true, "Deferred": true, "Withdrawn": true, "FeeSchedule": 1, "Gender": "sample string 19", "ClassGroupId": 1, "Username": "sample string 20", "PhotoId": 1, "AccountDisabled": true, "MaritalStatus": "sample string 22", "ApplicationNo": "sample string 23", "BirthPlace": "sample string 24", "Nok": "sample string 25", "NokAddress": "sample string 26", "NokPhone": "sample string 27", "ApplicationDate": "2025-06-25T14:00:46.2502211+00:00", "PhysicalChallenge": "sample string 29", "SponsorName": "sample string 30", "SponsorAddressLine1": "sample string 31", "SponsorAddressLine2": "sample string 32", "SponsorContactNo": "sample string 33", "ShortInfo": "[sample string 2] sample string 3, sample string 4", "PhotoName": "_sample_string_2__sample_string_3__sample_string_4", "Completeness": "100.00%" }
application/xml, text/xml
<TestStudent xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SRMS.Domain.Entities"> <AccountDisabled>true</AccountDisabled> <Active>true</Active> <AddressLine1>sample string 9</AddressLine1> <AddressLine2>sample string 10</AddressLine2> <Admitted>2025-06-25T14:00:46.2502211+00:00</Admitted> <ApplicationDate>2025-06-25T14:00:46.2502211+00:00</ApplicationDate> <ApplicationNo>sample string 23</ApplicationNo> <BirthPlace>sample string 24</BirthPlace> <ClassGroupId>1</ClassGroupId> <Completed>true</Completed> <Deferred>true</Deferred> <Dob>2025-06-25T14:00:46.2502211+00:00</Dob> <Email>sample string 8</Email> <FeeSchedule>Regular</FeeSchedule> <Gender>sample string 19</Gender> <IndexNo>sample string 2</IndexNo> <Lastname>sample string 3</Lastname> <LevelId>13</LevelId> <MaritalStatus>sample string 22</MaritalStatus> <Nationality>sample string 11</Nationality> <Nok>sample string 25</Nok> <NokAddress>sample string 26</NokAddress> <NokPhone>sample string 27</NokPhone> <Othernames>sample string 4</Othernames> <Phone>sample string 7</Phone> <PhotoId>1</PhotoId> <PhysicalChallenge>sample string 29</PhysicalChallenge> <ProgId>12</ProgId> <Prospective>true</Prospective> <SponsorAddressLine1>sample string 31</SponsorAddressLine1> <SponsorAddressLine2>sample string 32</SponsorAddressLine2> <SponsorContactNo>sample string 33</SponsorContactNo> <SponsorName>sample string 30</SponsorName> <StudentId>1</StudentId> <Username>sample string 20</Username> <Withdrawn>true</Withdrawn> </TestStudent>