Namespace

LearningTasks

CompassClient.LearningTasks

LearningTasks.svc Requests

View Source requests/LearningTasks.js, line 1

Methods

# static getAllLearningTasksByActivityId(activityId, limitopt, showHiddenTasksopt) → {Promise.<LearningTaskResponse>}

Requests Learning tasks by Activity Id

Parameters:
Name Type Attributes Description
activityId number

ActivityId of learning tasks

limit number <optional>

Limit amount of results

showHiddenTasks boolean <optional>

Show hidden task boolean (defaults to false)

View Source requests/LearningTasks.js, line 30

Resolves array of Activity's learning tasks

Promise.<LearningTaskResponse>

# static getAllLearningTasksByUserId(userId, limitopt, showHiddenTasksopt) → {Promise.<LearningTaskResponse>}

Requests Learning Tasks by UserId

Parameters:
Name Type Attributes Description
userId number

Client UserId

limit number <optional>

Limit amount of results

showHiddenTasks boolean <optional>

Show hidden task boolean (defaults to false)

View Source requests/LearningTasks.js, line 16

Resolves array of users learning tasks

Promise.<LearningTaskResponse>