GET api/ng/workshop/getuserprogramtaskdiarylist/{UserProgramTaskID}/{Hkey}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserProgramTaskID

integer

Required

Hkey

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of UserProgramDiaryEntry
NameDescriptionTypeAdditional information
Hkey

string

None.

PostID

integer

None.

DiaryTypeID

integer

None.

DiaryType

string

None.

UserProgramTaskID

integer

None.

PictureUrl

string

None.

UserValue

string

None.

DateSubmitted

date

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Hkey": "sample string 1",
    "PostID": 2,
    "DiaryTypeID": 3,
    "DiaryType": "sample string 4",
    "UserProgramTaskID": 5,
    "PictureUrl": "sample string 6",
    "UserValue": "sample string 7",
    "DateSubmitted": "2021-04-19T20:33:54.7632256-04:00"
  },
  {
    "Hkey": "sample string 1",
    "PostID": 2,
    "DiaryTypeID": 3,
    "DiaryType": "sample string 4",
    "UserProgramTaskID": 5,
    "PictureUrl": "sample string 6",
    "UserValue": "sample string 7",
    "DateSubmitted": "2021-04-19T20:33:54.7632256-04:00"
  }
]

application/xml, text/xml

Sample:
<ArrayOfUserProgramDiaryEntry xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <UserProgramDiaryEntry>
    <DateSubmitted>2021-04-19T20:33:54.7632256-04:00</DateSubmitted>
    <DiaryType>sample string 4</DiaryType>
    <DiaryTypeID>3</DiaryTypeID>
    <Hkey>sample string 1</Hkey>
    <PictureUrl>sample string 6</PictureUrl>
    <PostID>2</PostID>
    <UserProgramTaskID>5</UserProgramTaskID>
    <UserValue>sample string 7</UserValue>
  </UserProgramDiaryEntry>
  <UserProgramDiaryEntry>
    <DateSubmitted>2021-04-19T20:33:54.7632256-04:00</DateSubmitted>
    <DiaryType>sample string 4</DiaryType>
    <DiaryTypeID>3</DiaryTypeID>
    <Hkey>sample string 1</Hkey>
    <PictureUrl>sample string 6</PictureUrl>
    <PostID>2</PostID>
    <UserProgramTaskID>5</UserProgramTaskID>
    <UserValue>sample string 7</UserValue>
  </UserProgramDiaryEntry>
</ArrayOfUserProgramDiaryEntry>