GET api/assessmentSessions/getDiagnosticAssessmentSessionsForCurrentWorkingLevel?courseSubject={courseSubject}&userId={userId}

Get all diagnostic assessment sessions for a current working level and user. List may include incomplete and voided sessions.

Request Information

URI Parameters

NameDescriptionTypeAdditional information
courseSubject

Course subject

string

Required

userId

User Id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of DiagnosticAssessmentSession
NameDescriptionTypeAdditional information
CourseLevel

Course Level

string

None.

LevelName

Level Name

string

None.

SessionId

A unique session id attached to each session

integer

None.

UserId

User id for session

integer

None.

DateStarted

Date when session was started

date

None.

SessionStatus

Current session status

SessionStatus

None.

SessionType

Session type

SessionType

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "CourseLevel": "sample string 1",
    "LevelName": "sample string 2",
    "SessionId": 3,
    "UserId": 4,
    "DateStarted": "2024-09-21T03:11:42.1252999+00:00",
    "SessionStatus": 1,
    "SessionType": 1
  },
  {
    "CourseLevel": "sample string 1",
    "LevelName": "sample string 2",
    "SessionId": 3,
    "UserId": 4,
    "DateStarted": "2024-09-21T03:11:42.1252999+00:00",
    "SessionStatus": 1,
    "SessionType": 1
  }
]

application/xml, text/xml

Sample:
<ArrayOfDiagnosticAssessmentSession xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  <DiagnosticAssessmentSession>
    <SessionId>3</SessionId>
    <UserId>4</UserId>
    <DateStarted>2024-09-21T03:11:42.1252999+00:00</DateStarted>
    <SessionStatus>Complete</SessionStatus>
    <SessionType>InitialAssessment</SessionType>
    <CourseLevel>sample string 1</CourseLevel>
    <LevelName>sample string 2</LevelName>
  </DiagnosticAssessmentSession>
  <DiagnosticAssessmentSession>
    <SessionId>3</SessionId>
    <UserId>4</UserId>
    <DateStarted>2024-09-21T03:11:42.1252999+00:00</DateStarted>
    <SessionStatus>Complete</SessionStatus>
    <SessionType>InitialAssessment</SessionType>
    <CourseLevel>sample string 1</CourseLevel>
    <LevelName>sample string 2</LevelName>
  </DiagnosticAssessmentSession>
</ArrayOfDiagnosticAssessmentSession>