POST api/StudentServices/GetStudentTestInfoByStudentId
Returns a list of tests that the student has access to and completed tests with scores
Request Information
URI Parameters
None.
Body Parameters
GetStudentTestInfoByStudentIdPostName | Description | Type | Additional information |
---|---|---|---|
StudentId |
The Student ID of an existing GMetrix student, returned by other endpoints, optional for the Create endpoint |
integer |
None. |
Key |
Key to Access API provided by GMetrix |
string |
None. |
Request Formats
application/json, text/json
Sample:
{ "StudentId": 1, "Key": "sample string 2" }
application/xml, text/xml
Sample:
<GetStudentTestInfoByStudentIdPost xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ManagementServicesApi.Models"> <Key>sample string 2</Key> <StudentId>1</StudentId> </GetStudentTestInfoByStudentIdPost>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
List
Collection of TestStudentSuccessName | Description | Type | Additional information |
---|---|---|---|
FirstName | string |
None. |
|
LastName | string |
None. |
|
ASPNetUserID | globally unique identifier |
None. |
|
UserName | string |
None. |
|
TestID | integer |
None. |
|
TestName | string |
None. |
|
TestType | integer |
None. |
|
Category | string |
None. |
|
Product | string |
None. |
|
TestControl | string |
None. |
|
QuestionCount | integer |
None. |
|
Mode | string |
None. |
|
PassingScore | integer |
None. |
|
TimeLimitInMinutes | integer |
None. |
|
BestScore | integer |
None. |
|
TestStatus | string |
None. |
|
ResultID | integer |
None. |
|
StartDate | date |
None. |
|
LastModifiedDate | date |
None. |
|
FinishDate | date |
None. |
|
ElapsedTime | time interval |
None. |
|
Score | integer |
None. |
|
ScoreStatus | string |
None. |
|
Successful | boolean |
None. |
|
MsgSuccess | string |
None. |
Response Formats
application/json, text/json
Sample:
[ { "Successful": true, "MsgSuccess": "sample string 2", "FirstName": "sample string 1", "LastName": "sample string 2", "ASPNetUserID": "8d5b64f4-fb0e-4b4f-9d2c-999b5432d363", "UserName": "sample string 4", "TestID": 5, "TestName": "sample string 6", "TestType": 1, "Category": "sample string 7", "Product": "sample string 8", "TestControl": "sample string 9", "QuestionCount": 1, "Mode": "sample string 10", "PassingScore": 1, "TimeLimitInMinutes": 1, "BestScore": 1, "TestStatus": "sample string 11", "ResultID": 12, "StartDate": "2025-05-08T21:43:17.9114865-07:00", "LastModifiedDate": "2025-05-08T21:43:17.9114865-07:00", "FinishDate": "2025-05-08T21:43:17.9114865-07:00", "ElapsedTime": "00:00:00.1234567", "Score": 14, "ScoreStatus": "sample string 15" }, { "Successful": true, "MsgSuccess": "sample string 2", "FirstName": "sample string 1", "LastName": "sample string 2", "ASPNetUserID": "8d5b64f4-fb0e-4b4f-9d2c-999b5432d363", "UserName": "sample string 4", "TestID": 5, "TestName": "sample string 6", "TestType": 1, "Category": "sample string 7", "Product": "sample string 8", "TestControl": "sample string 9", "QuestionCount": 1, "Mode": "sample string 10", "PassingScore": 1, "TimeLimitInMinutes": 1, "BestScore": 1, "TestStatus": "sample string 11", "ResultID": 12, "StartDate": "2025-05-08T21:43:17.9114865-07:00", "LastModifiedDate": "2025-05-08T21:43:17.9114865-07:00", "FinishDate": "2025-05-08T21:43:17.9114865-07:00", "ElapsedTime": "00:00:00.1234567", "Score": 14, "ScoreStatus": "sample string 15" } ]
application/xml, text/xml
Sample:
<ArrayOfTestStudentSuccess xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ManagementServices.Repositories.Response"> <TestStudentSuccess> <MsgSuccess>sample string 2</MsgSuccess> <Successful>true</Successful> <ASPNetUserID>8d5b64f4-fb0e-4b4f-9d2c-999b5432d363</ASPNetUserID> <BestScore>1</BestScore> <Category>sample string 7</Category> <ElapsedTime>PT0.1234567S</ElapsedTime> <FinishDate>2025-05-08T21:43:17.9114865-07:00</FinishDate> <FirstName>sample string 1</FirstName> <LastModifiedDate>2025-05-08T21:43:17.9114865-07:00</LastModifiedDate> <LastName>sample string 2</LastName> <Mode>sample string 10</Mode> <PassingScore>1</PassingScore> <Product>sample string 8</Product> <QuestionCount>1</QuestionCount> <ResultID>12</ResultID> <Score>14</Score> <ScoreStatus>sample string 15</ScoreStatus> <StartDate>2025-05-08T21:43:17.9114865-07:00</StartDate> <TestControl>sample string 9</TestControl> <TestID>5</TestID> <TestName>sample string 6</TestName> <TestStatus>sample string 11</TestStatus> <TestType>1</TestType> <TimeLimitInMinutes>1</TimeLimitInMinutes> <UserName>sample string 4</UserName> </TestStudentSuccess> <TestStudentSuccess> <MsgSuccess>sample string 2</MsgSuccess> <Successful>true</Successful> <ASPNetUserID>8d5b64f4-fb0e-4b4f-9d2c-999b5432d363</ASPNetUserID> <BestScore>1</BestScore> <Category>sample string 7</Category> <ElapsedTime>PT0.1234567S</ElapsedTime> <FinishDate>2025-05-08T21:43:17.9114865-07:00</FinishDate> <FirstName>sample string 1</FirstName> <LastModifiedDate>2025-05-08T21:43:17.9114865-07:00</LastModifiedDate> <LastName>sample string 2</LastName> <Mode>sample string 10</Mode> <PassingScore>1</PassingScore> <Product>sample string 8</Product> <QuestionCount>1</QuestionCount> <ResultID>12</ResultID> <Score>14</Score> <ScoreStatus>sample string 15</ScoreStatus> <StartDate>2025-05-08T21:43:17.9114865-07:00</StartDate> <TestControl>sample string 9</TestControl> <TestID>5</TestID> <TestName>sample string 6</TestName> <TestStatus>sample string 11</TestStatus> <TestType>1</TestType> <TimeLimitInMinutes>1</TimeLimitInMinutes> <UserName>sample string 4</UserName> </TestStudentSuccess> </ArrayOfTestStudentSuccess>