GET api/results/initialAssessment/{userId}/bySubject?page={page}&recordsPerPage={recordsPerPage}&courseSubject={courseSubject}

Get initial assessment results for the user and course subject.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
userId

User Id.

integer

Required

page

Page number.

integer

Required

recordsPerPage

Records per page.

integer

Required

courseSubject

Course Subject.

string

Required

Body Parameters

None.

Response Information

Resource Description

InitialAssessmentResultCollection
NameDescriptionTypeAdditional information
InitialAssessmentResults

Collection of Initial Assessment Result

Collection of InitialAssessmentResult

None.

Pagination

Pagination

Pagination

None.

Response Formats

application/json, text/json

Sample:
{
  "InitialAssessmentResults": [
    {
      "SessionId": 1,
      "CourseSubject": "sample string 2",
      "CourseName": "sample string 3",
      "ResultDate": "2024-11-10T20:51:13.5669184+00:00",
      "AssessmentName": "sample string 5",
      "AssessmentID": 6,
      "Result": "sample string 7"
    },
    {
      "SessionId": 1,
      "CourseSubject": "sample string 2",
      "CourseName": "sample string 3",
      "ResultDate": "2024-11-10T20:51:13.5669184+00:00",
      "AssessmentName": "sample string 5",
      "AssessmentID": 6,
      "Result": "sample string 7"
    }
  ],
  "Pagination": {
    "CurrentPage": 1,
    "TotalRecords": 2,
    "RecordsPerPage": 3
  }
}

application/xml, text/xml

Sample:
<InitialAssessmentResultCollection xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <InitialAssessmentResults>
    <InitialAssessmentResult>
      <SessionId>1</SessionId>
      <CourseSubject>sample string 2</CourseSubject>
      <CourseName>sample string 3</CourseName>
      <ResultDate>2024-11-10T20:51:13.5669184+00:00</ResultDate>
      <AssessmentName>sample string 5</AssessmentName>
      <AssessmentID>6</AssessmentID>
      <Result>sample string 7</Result>
    </InitialAssessmentResult>
    <InitialAssessmentResult>
      <SessionId>1</SessionId>
      <CourseSubject>sample string 2</CourseSubject>
      <CourseName>sample string 3</CourseName>
      <ResultDate>2024-11-10T20:51:13.5669184+00:00</ResultDate>
      <AssessmentName>sample string 5</AssessmentName>
      <AssessmentID>6</AssessmentID>
      <Result>sample string 7</Result>
    </InitialAssessmentResult>
  </InitialAssessmentResults>
  <Pagination>
    <CurrentPage>1</CurrentPage>
    <TotalRecords>2</TotalRecords>
    <RecordsPerPage>3</RecordsPerPage>
  </Pagination>
</InitialAssessmentResultCollection>