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

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserProgramTaskID

integer

Required

Hkey

string

Required

Body Parameters

None.

Response Information

Resource Description

UserTaskRolloverResult
NameDescriptionTypeAdditional information
IsSuccess

boolean

None.

IsProgramComplete

boolean

None.

NextUserProgramTaskID

integer

None.

NextProgramTaskID

integer

None.

NextTaskID

integer

None.

DateSubmitted

date

None.

ErrorType

UserPostError

None.

UserProgramStatus

UserProgramStatus

None.

Response Formats

application/json, text/json

Sample:
{
  "IsSuccess": true,
  "IsProgramComplete": true,
  "NextUserProgramTaskID": 3,
  "NextProgramTaskID": 4,
  "NextTaskID": 5,
  "DateSubmitted": "2021-04-19T10:26:25.6501159-04:00",
  "ErrorType": 0,
  "UserProgramStatus": 0
}

application/xml, text/xml

Sample:
<UserTaskRolloverResult xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/SoulSeasons2017.Models.Angular">
  <DateSubmitted>2021-04-19T10:26:25.6501159-04:00</DateSubmitted>
  <ErrorType>NoError</ErrorType>
  <IsProgramComplete>true</IsProgramComplete>
  <IsSuccess>true</IsSuccess>
  <NextProgramTaskID>4</NextProgramTaskID>
  <NextTaskID>5</NextTaskID>
  <NextUserProgramTaskID>3</NextUserProgramTaskID>
  <UserProgramStatus>Current</UserProgramStatus>
</UserTaskRolloverResult>