POST api/ng/workshop/postuserwizardtestinput

Request Information

URI Parameters

None.

Body Parameters

Collection of PostUserTaskControlValue
NameDescriptionTypeAdditional information
TaskControlID

integer

None.

UserProgramTaskID

integer

None.

UserProgramTaskControlID

integer

None.

UserValue

string

None.

DateSubmitted

date

None.

Request Formats

application/json, text/json

Sample:
[
  {
    "TaskControlID": 1,
    "UserProgramTaskID": 2,
    "UserProgramTaskControlID": 3,
    "UserValue": "sample string 4",
    "DateSubmitted": "2021-04-19T20:03:41.057033-04:00"
  },
  {
    "TaskControlID": 1,
    "UserProgramTaskID": 2,
    "UserProgramTaskControlID": 3,
    "UserValue": "sample string 4",
    "DateSubmitted": "2021-04-19T20:03:41.057033-04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfPostUserTaskControlValue xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <PostUserTaskControlValue>
    <DateSubmitted>2021-04-19T20:03:41.057033-04:00</DateSubmitted>
    <TaskControlID>1</TaskControlID>
    <UserProgramTaskControlID>3</UserProgramTaskControlID>
    <UserProgramTaskID>2</UserProgramTaskID>
    <UserValue>sample string 4</UserValue>
  </PostUserTaskControlValue>
  <PostUserTaskControlValue>
    <DateSubmitted>2021-04-19T20:03:41.057033-04:00</DateSubmitted>
    <TaskControlID>1</TaskControlID>
    <UserProgramTaskControlID>3</UserProgramTaskControlID>
    <UserProgramTaskID>2</UserProgramTaskID>
    <UserValue>sample string 4</UserValue>
  </PostUserTaskControlValue>
</ArrayOfPostUserTaskControlValue>

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 'PostUserTaskControlValue[]'.

Response Information

Resource Description

PostUserTaskWizardTestResult
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

WizardTestSolutionID

integer

None.

Title

string

None.

SolutionContent

string

None.

DateSubmitted

date

None.

ErrorType

UserPostError

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "WizardTestSolutionID": 2,
  "Title": "sample string 3",
  "SolutionContent": "sample string 4",
  "DateSubmitted": "2021-04-19T20:03:41.0726331-04:00",
  "ErrorType": 0
}

application/xml, text/xml

Sample:
<PostUserTaskWizardTestResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <DateSubmitted>2021-04-19T20:03:41.0726331-04:00</DateSubmitted>
  <ErrorType>NoError</ErrorType>
  <IsSuccess>true</IsSuccess>
  <SolutionContent>sample string 4</SolutionContent>
  <Title>sample string 3</Title>
  <WizardTestSolutionID>2</WizardTestSolutionID>
</PostUserTaskWizardTestResult>