POST api/test/testinit

Request Information

URI Parameters

None.

Body Parameters

TestIdentifierModel
NameDescriptionTypeAdditional information
QuizIdentifier

string

None.

UserID

string

None.

Request Formats

application/json, text/json

Sample:
{
  "QuizIdentifier": "sample string 1",
  "UserID": "sample string 2"
}

application/xml, text/xml

Sample:
<TestIdentifierModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <QuizIdentifier>sample string 1</QuizIdentifier>
  <UserID>sample string 2</UserID>
</TestIdentifierModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TestIdentifierModel'.

Response Information

Resource Description

TestInitModel
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.

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
}

application/xml, text/xml

Sample:
<TestInitModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models">
  <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>
  <Username>sample string 5</Username>
</TestInitModel>