LearningTasks.svc Requests
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) |
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) |
Resolves array of users learning tasks
Promise.<LearningTaskResponse>