GET api/ng/workshop/getusertaskcontrols/{TaskID}/{UserProgramTaskID}/{Hkey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
TaskID

integer

Required

UserProgramTaskID

integer

Required

Hkey

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UserTaskControl
NameDescriptionTypeAdditional information
TaskID

integer

None.

TaskControlID

integer

None.

LinkedTaskControlID

integer

None.

UserProgramTaskID

integer

None.

ControlTypeID

integer

None.

CanRepeat

boolean

None.

ReadOnly

boolean

None.

AspxControlID

string

None.

ControlTitle

string

None.

ControlContent

string

None.

Sequence

integer

None.

IsInput

boolean

None.

UserValues

Collection of UserTaskControlValue

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "TaskID": 1,
    "TaskControlID": 2,
    "LinkedTaskControlID": 3,
    "UserProgramTaskID": 4,
    "ControlTypeID": 5,
    "CanRepeat": true,
    "ReadOnly": true,
    "AspxControlID": "sample string 8",
    "ControlTitle": "sample string 9",
    "ControlContent": "sample string 10",
    "Sequence": 11,
    "IsInput": true,
    "UserValues": [
      {
        "UserProgramTaskControlID": 1,
        "UserValue": "sample string 2",
        "DateSubmitted": "2021-04-19T21:42:11.6724404-04:00"
      },
      {
        "UserProgramTaskControlID": 1,
        "UserValue": "sample string 2",
        "DateSubmitted": "2021-04-19T21:42:11.6724404-04:00"
      }
    ]
  },
  {
    "TaskID": 1,
    "TaskControlID": 2,
    "LinkedTaskControlID": 3,
    "UserProgramTaskID": 4,
    "ControlTypeID": 5,
    "CanRepeat": true,
    "ReadOnly": true,
    "AspxControlID": "sample string 8",
    "ControlTitle": "sample string 9",
    "ControlContent": "sample string 10",
    "Sequence": 11,
    "IsInput": true,
    "UserValues": [
      {
        "UserProgramTaskControlID": 1,
        "UserValue": "sample string 2",
        "DateSubmitted": "2021-04-19T21:42:11.6724404-04:00"
      },
      {
        "UserProgramTaskControlID": 1,
        "UserValue": "sample string 2",
        "DateSubmitted": "2021-04-19T21:42:11.6724404-04:00"
      }
    ]
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserTaskControl xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <UserTaskControl>
    <AspxControlID>sample string 8</AspxControlID>
    <CanRepeat>true</CanRepeat>
    <ControlContent>sample string 10</ControlContent>
    <ControlTitle>sample string 9</ControlTitle>
    <ControlTypeID>5</ControlTypeID>
    <IsInput>true</IsInput>
    <LinkedTaskControlID>3</LinkedTaskControlID>
    <ReadOnly>true</ReadOnly>
    <Sequence>11</Sequence>
    <TaskControlID>2</TaskControlID>
    <TaskID>1</TaskID>
    <UserProgramTaskID>4</UserProgramTaskID>
    <UserValues>
      <UserTaskControlValue>
        <DateSubmitted>2021-04-19T21:42:11.6724404-04:00</DateSubmitted>
        <UserProgramTaskControlID>1</UserProgramTaskControlID>
        <UserValue>sample string 2</UserValue>
      </UserTaskControlValue>
      <UserTaskControlValue>
        <DateSubmitted>2021-04-19T21:42:11.6724404-04:00</DateSubmitted>
        <UserProgramTaskControlID>1</UserProgramTaskControlID>
        <UserValue>sample string 2</UserValue>
      </UserTaskControlValue>
    </UserValues>
  </UserTaskControl>
  <UserTaskControl>
    <AspxControlID>sample string 8</AspxControlID>
    <CanRepeat>true</CanRepeat>
    <ControlContent>sample string 10</ControlContent>
    <ControlTitle>sample string 9</ControlTitle>
    <ControlTypeID>5</ControlTypeID>
    <IsInput>true</IsInput>
    <LinkedTaskControlID>3</LinkedTaskControlID>
    <ReadOnly>true</ReadOnly>
    <Sequence>11</Sequence>
    <TaskControlID>2</TaskControlID>
    <TaskID>1</TaskID>
    <UserProgramTaskID>4</UserProgramTaskID>
    <UserValues>
      <UserTaskControlValue>
        <DateSubmitted>2021-04-19T21:42:11.6724404-04:00</DateSubmitted>
        <UserProgramTaskControlID>1</UserProgramTaskControlID>
        <UserValue>sample string 2</UserValue>
      </UserTaskControlValue>
      <UserTaskControlValue>
        <DateSubmitted>2021-04-19T21:42:11.6724404-04:00</DateSubmitted>
        <UserProgramTaskControlID>1</UserProgramTaskControlID>
        <UserValue>sample string 2</UserValue>
      </UserTaskControlValue>
    </UserValues>
  </UserTaskControl>
</ArrayOfUserTaskControl>