GET api/test/gettestlist/{PublicOnly}/{QuizTypeID}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
PublicOnly

boolean

Required

QuizTypeID

integer

Required

Body Parameters

None.

Response Information

Resource Description

Collection of TestList
NameDescriptionTypeAdditional information
QuizID

integer

None.

TestIdentifier

string

None.

IsAuthenticated

boolean

None.

UserID

string

None.

Username

string

None.

FirstName

string

None.

QuizHKEY

string

None.

IsMultiResult

boolean

None.

IsLoginRequired

boolean

None.

HeaderImageUrl

string

None.

HeaderTitle

string

None.

HeaderSubtitle

string

None.

InitFormContent

string

None.

TotalQuestions

integer

None.

IsCompositeSolution

boolean

None.

IsPeriodicResult

boolean

None.

RecurPeriodDays

integer

None.

UserResults

Collection of TestUserResultID

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "QuizID": 1,
    "TestIdentifier": "sample string 2",
    "IsAuthenticated": true,
    "UserID": "sample string 4",
    "Username": "sample string 5",
    "FirstName": "sample string 6",
    "QuizHKEY": "sample string 7",
    "IsMultiResult": true,
    "IsLoginRequired": true,
    "HeaderImageUrl": "sample string 10",
    "HeaderTitle": "sample string 11",
    "HeaderSubtitle": "sample string 12",
    "InitFormContent": "sample string 13",
    "TotalQuestions": 14,
    "IsCompositeSolution": true,
    "IsPeriodicResult": true,
    "RecurPeriodDays": 17,
    "UserResults": [
      {
        "QuizResultID": 1,
        "ResultHKEY": "sample string 2",
        "UserSessionStartTime": "2021-04-19T21:25:12.5672434-04:00"
      },
      {
        "QuizResultID": 1,
        "ResultHKEY": "sample string 2",
        "UserSessionStartTime": "2021-04-19T21:25:12.5672434-04:00"
      }
    ]
  },
  {
    "QuizID": 1,
    "TestIdentifier": "sample string 2",
    "IsAuthenticated": true,
    "UserID": "sample string 4",
    "Username": "sample string 5",
    "FirstName": "sample string 6",
    "QuizHKEY": "sample string 7",
    "IsMultiResult": true,
    "IsLoginRequired": true,
    "HeaderImageUrl": "sample string 10",
    "HeaderTitle": "sample string 11",
    "HeaderSubtitle": "sample string 12",
    "InitFormContent": "sample string 13",
    "TotalQuestions": 14,
    "IsCompositeSolution": true,
    "IsPeriodicResult": true,
    "RecurPeriodDays": 17,
    "UserResults": [
      {
        "QuizResultID": 1,
        "ResultHKEY": "sample string 2",
        "UserSessionStartTime": "2021-04-19T21:25:12.5672434-04:00"
      },
      {
        "QuizResultID": 1,
        "ResultHKEY": "sample string 2",
        "UserSessionStartTime": "2021-04-19T21:25:12.5672434-04:00"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfTestList xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <TestList>
    <FirstName>sample string 6</FirstName>
    <HeaderImageUrl>sample string 10</HeaderImageUrl>
    <HeaderSubtitle>sample string 12</HeaderSubtitle>
    <HeaderTitle>sample string 11</HeaderTitle>
    <InitFormContent>sample string 13</InitFormContent>
    <IsAuthenticated>true</IsAuthenticated>
    <IsCompositeSolution>true</IsCompositeSolution>
    <IsLoginRequired>true</IsLoginRequired>
    <IsMultiResult>true</IsMultiResult>
    <IsPeriodicResult>true</IsPeriodicResult>
    <QuizHKEY>sample string 7</QuizHKEY>
    <QuizID>1</QuizID>
    <RecurPeriodDays>17</RecurPeriodDays>
    <TestIdentifier>sample string 2</TestIdentifier>
    <TotalQuestions>14</TotalQuestions>
    <UserID>sample string 4</UserID>
    <UserResults>
      <TestUserResultID>
        <QuizResultID>1</QuizResultID>
        <ResultHKEY>sample string 2</ResultHKEY>
        <UserSessionStartTime>2021-04-19T21:25:12.5672434-04:00</UserSessionStartTime>
      </TestUserResultID>
      <TestUserResultID>
        <QuizResultID>1</QuizResultID>
        <ResultHKEY>sample string 2</ResultHKEY>
        <UserSessionStartTime>2021-04-19T21:25:12.5672434-04:00</UserSessionStartTime>
      </TestUserResultID>
    </UserResults>
    <Username>sample string 5</Username>
  </TestList>
  <TestList>
    <FirstName>sample string 6</FirstName>
    <HeaderImageUrl>sample string 10</HeaderImageUrl>
    <HeaderSubtitle>sample string 12</HeaderSubtitle>
    <HeaderTitle>sample string 11</HeaderTitle>
    <InitFormContent>sample string 13</InitFormContent>
    <IsAuthenticated>true</IsAuthenticated>
    <IsCompositeSolution>true</IsCompositeSolution>
    <IsLoginRequired>true</IsLoginRequired>
    <IsMultiResult>true</IsMultiResult>
    <IsPeriodicResult>true</IsPeriodicResult>
    <QuizHKEY>sample string 7</QuizHKEY>
    <QuizID>1</QuizID>
    <RecurPeriodDays>17</RecurPeriodDays>
    <TestIdentifier>sample string 2</TestIdentifier>
    <TotalQuestions>14</TotalQuestions>
    <UserID>sample string 4</UserID>
    <UserResults>
      <TestUserResultID>
        <QuizResultID>1</QuizResultID>
        <ResultHKEY>sample string 2</ResultHKEY>
        <UserSessionStartTime>2021-04-19T21:25:12.5672434-04:00</UserSessionStartTime>
      </TestUserResultID>
      <TestUserResultID>
        <QuizResultID>1</QuizResultID>
        <ResultHKEY>sample string 2</ResultHKEY>
        <UserSessionStartTime>2021-04-19T21:25:12.5672434-04:00</UserSessionStartTime>
      </TestUserResultID>
    </UserResults>
    <Username>sample string 5</Username>
  </TestList>
</ArrayOfTestList>