LearnUpon
App · 24 actions
Run training in your LearnUpon portal: manage users and groups, enroll people in courses, record completions and follow their progress.
Actions
| Action | What it does |
|---|---|
| Add a user to a group | Put a user in a group, enrolling them in the group's courses unless you choose otherwise. |
| Create a group | Create a group. |
| Create a user | Add a user to the portal with an email address and password. |
| Delete a group | Delete a group. |
| Delete a user | Delete a user's account. |
| Enroll a user in a course | Enroll a user in a course, with a due date or access end date if you like. |
| Find a user by email | Look up a user by their email address. |
| Get a course | Read one course, with how many learners are at each stage. |
| Get a user | Read one user, with their custom fields. |
| Get an enrollment | Read one enrollment: its status, score and dates. |
| Invite a user | Email someone an invitation to join the portal, and a group if you choose one. |
| List a group's members | List the users in a group, with each membership's ID. |
| List an enrollment's modules | List the modules of an enrollment, with the learner's progress in each. |
| List courses | List the portal's courses, or find them by name. |
| List enrollments | List a user's enrollments or a course's, with progress and scores. |
| List groups | List the portal's groups, or find them by name. |
| List manual completions | List enrollments that were marked complete, passed or failed by hand. |
| List users | List the portal's users, 500 to a page. |
| Mark an enrollment complete | Record a result for an enrollment by hand, such as training done offline. |
| Remove a user from a group | Take a user out of a group. |
| Unenroll a user | Delete an enrollment. |
| Update a group | Rename a group or change its description. |
| Update a user | Change a user's details. |
| Update an enrollment | Change an enrollment's due date or the day access ends. |
Add a user to a group
Put a user in a group, enrolling them in the group's courses unless you choose otherwise.
Inputs
- Group
group_idnumberRequired - The group.At least 1.
- User
person_idnumberRequired - The user to add.At least 1.
- Enroll in group courses
process_enrollmentstrue/false - Whether to enroll them in the group's courses and learning paths. Yes if left empty.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"id": 1
}
}Create a group
Create a group. Its name must be new to the portal.
Inputs
- Name
titletextRequired - The group's name.
- Description
descriptiontext - What the group is for.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"id": 1
}
}Create a user
Add a user to the portal with an email address and password.
Inputs
- Email
emailtextRequired - Their email address, which identifies them in LearnUpon.
- First name
first_nametext - Their first name.
- Last name
last_nametext - Their last name.
- Password
passwordtextRequired - Their password, at least 6 characters.
- User type
user_typetext - What they can do in the portal.One of:
learner,manager,instructor,admin. - Language
languagetext - Their language, as an ISO code such as `en` or `de`. Leave empty for the portal's language.
- Enabled
enabledtrue/false - Whether their account can sign in.
- Account expires
account_expiresdate - The day their account stops working, at midnight UTC.
- Custom fields
custom_dataobject - Values for the portal's custom user fields, by field name, such as `{"Department": "Sales"}`.
- Change password at first sign-in
change_password_on_first_logintrue/false - Whether they must choose a new password the first time they sign in.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"id": 1
}
}Delete a group
Delete a group. Its members stay in the portal.
Inputs
- Group
group_idnumberRequired - The group.At least 1.
- Delete enrollments
delete_enrollmentstrue/false - Whether to delete the not started and in progress enrollments members got from the group.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"deleted": true,
"id": 1
}
}Delete a user
Delete a user's account.
Inputs
- User
person_idnumberRequired - The user to delete.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"deleted": true,
"id": 1
}
}Enroll a user in a course
Enroll a user in a course, with a due date or access end date if you like.
Inputs
- User's email
emailtextRequired - The user's email address.
- Course
course_idnumberRequired - The course.At least 1.
- Due date
due_datedate - When they should finish. They can still open it after.
- Access ends
expires_atdate - When their access to the course ends.
- Re-enroll if completed
re_enroll_if_completedtrue/false - Whether to enroll them again if they already completed it.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"created_at": "example",
"id": 1,
"user_id": 1
}
}Find a user by email
Look up a user by their email address.
Inputs
- Email
emailtextRequired - Their email address.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"CustomData": {},
"account_expires": "example",
"created_at": "example",
"email": "example",
"enabled": true,
"first_name": "example",
"id": 1,
"last_name": "example",
"last_sign_in_at": "example",
"locale": "example",
"number_of_enrollments": 1,
"number_of_enrollments_accessed": 1,
"sign_in_count": 1,
"updated_at": "example",
"user_type": "learner",
"username": "example"
}
],
"page": 1
}
}Get a course
Read one course, with how many learners are at each stage.
Inputs
- Course
course_idnumberRequired - The course.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"cataloged": true,
"created_at": "example",
"date_published": "example",
"description_text": "example",
"id": 1,
"keywords": "example",
"name": "example",
"num_completed": 1,
"num_enrolled": 1,
"num_failed": 1,
"num_in_progress": 1,
"num_not_started": 1,
"num_passed": 1,
"number_of_modules": 1,
"owner_email": "example",
"owner_id": 1,
"published_status_id": "example",
"reference_code": "example",
"sellable": true,
"source_id": 1,
"version": 1
}
}Get a user
Read one user, with their custom fields.
Inputs
- User
person_idnumberRequired - The user.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"CustomData": {},
"account_expires": "example",
"created_at": "example",
"email": "example",
"enabled": true,
"first_name": "example",
"id": 1,
"last_name": "example",
"last_sign_in_at": "example",
"locale": "example",
"number_of_enrollments": 1,
"number_of_enrollments_accessed": 1,
"sign_in_count": 1,
"updated_at": "example",
"user_type": "learner",
"username": "example"
}
}Get an enrollment
Read one enrollment: its status, score and dates.
Inputs
- Enrollment ID
enrollment_idnumberRequired - The enrollment's ID.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"cert_expires_at": "example",
"certificate_name": "example",
"course_access_expires_at": "example",
"course_id": 1,
"course_name": "example",
"date_completed": "example",
"date_enrolled": "example",
"date_lastaccessed": "example",
"date_started": "example",
"due_date": "example",
"email": "example",
"first_name": "example",
"group_id": 1,
"id": 1,
"is_overdue": true,
"last_name": "example",
"percentage": 1,
"percentage_complete": 1,
"status": "not_started",
"updated_at": "example",
"user_id": 1,
"username": "example"
}
}Invite a user
Email someone an invitation to join the portal, and a group if you choose one.
Inputs
- Email
emailtextRequired - Who to invite.
- First name
first_nametext - Their first name.
- Last name
last_nametext - Their last name.
- Group
group_idnumber - A group to put them in once they accept.At least 1.
- User type
user_typetext - What they can do once they join. Learner if left empty.One of:
learner,manager,instructor,admin. - Account expires
expires_atdate - The day their account stops working, once they accept.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"email": "example",
"id": 1
}
}List a group's members
List the users in a group, with each membership's ID.
Inputs
- Group
group_idnumberRequired - The group.At least 1.
- Page
pagenumber - Which page to read, starting at 1. Each page holds up to 500.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"created_at": "example",
"email": "example",
"first_name": "example",
"id": 1,
"last_name": "example",
"user_id": 1,
"username": "example"
}
],
"page": 1
}
}List an enrollment's modules
List the modules of an enrollment, with the learner's progress in each.
Inputs
- Enrollment ID
enrollment_idnumberRequired - The enrollment's ID.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"date_completed": "example",
"date_lastaccessed": "example",
"date_started": "example",
"id": 1,
"sequence": 1,
"status": "example",
"title": "example"
}
],
"page": 1
}
}List courses
List the portal's courses, or find them by name.
Inputs
- Name
nametext - Only courses whose name contains these words.
- Include drafts
include_drafttrue/false - Whether to include draft courses.
- Page
pagenumber - Which page to read, starting at 1. Each page holds up to 500.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"cataloged": true,
"created_at": "example",
"date_published": "example",
"description_text": "example",
"id": 1,
"keywords": "example",
"name": "example",
"num_completed": 1,
"num_enrolled": 1,
"num_failed": 1,
"num_in_progress": 1,
"num_not_started": 1,
"num_passed": 1,
"number_of_modules": 1,
"owner_email": "example",
"owner_id": 1,
"published_status_id": "example",
"reference_code": "example",
"sellable": true,
"source_id": 1,
"version": 1
}
],
"page": 1
}
}List enrollments
List a user's enrollments or a course's, with progress and scores.
Inputs
- User
person_idnumber - Only this user's enrollments.At least 1.
- Course
course_idnumber - Only this course's enrollments.At least 1.
- Changed from
updated_fromdate - Only enrollments changed on or after this day.
- Changed to
updated_todate - Only enrollments changed on or before this day.
- Page
pagenumber - Which page to read, starting at 1. Each page holds up to 500.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"cert_expires_at": "example",
"certificate_name": "example",
"course_access_expires_at": "example",
"course_id": 1,
"course_name": "example",
"date_completed": "example",
"date_enrolled": "example",
"date_lastaccessed": "example",
"date_started": "example",
"due_date": "example",
"email": "example",
"first_name": "example",
"group_id": 1,
"id": 1,
"is_overdue": true,
"last_name": "example",
"percentage": 1,
"percentage_complete": 1,
"status": "not_started",
"updated_at": "example",
"user_id": 1,
"username": "example"
}
],
"page": 1
}
}List groups
List the portal's groups, or find them by name.
Inputs
- Name
titletext - Only groups whose name contains these words.
- Page
pagenumber - Which page to read, starting at 1. Each page holds up to 500.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"created_at": "example",
"description": "example",
"id": 1,
"number_of_members": 1,
"title": "example",
"updated_at": "example"
}
],
"page": 1
}
}List manual completions
List enrollments that were marked complete, passed or failed by hand.
Inputs
- User
person_idnumber - Only this user's.At least 1.
- Enrollment ID
enrollment_idnumber - Only this enrollment's.At least 1.
- Course
course_idnumber - Only this course's.At least 1.
- Page
pagenumber - Which page to read, starting at 1. Each page holds up to 500.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"action_source_type": "example",
"created_at": "example",
"date_completed": "example",
"enrollment_id": 1,
"id": 1,
"notes": "example",
"percentage": 1,
"status": "example"
}
],
"page": 1
}
}List users
List the portal's users, 500 to a page.
Inputs
- Sign-in enabled
login_enabledtrue/false - Yes for only users who can sign in, No for only disabled users.
- Page
pagenumber - Which page to read, starting at 1. Each page holds up to 500.At least 1.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"count": 1,
"has_next_page": true,
"items": [
{
"CustomData": {},
"account_expires": "example",
"created_at": "example",
"email": "example",
"enabled": true,
"first_name": "example",
"id": 1,
"last_name": "example",
"last_sign_in_at": "example",
"locale": "example",
"number_of_enrollments": 1,
"number_of_enrollments_accessed": 1,
"sign_in_count": 1,
"updated_at": "example",
"user_type": "learner",
"username": "example"
}
],
"page": 1
}
}Mark an enrollment complete
Record a result for an enrollment by hand, such as training done offline.
Inputs
- Enrollment ID
enrollment_idnumberRequired - The enrollment's ID.At least 1.
- Result
statustextRequired - The result.One of:
completed,passed,failed. - Completed at
date_completeddate and timeRequired - When they finished.
- Score
percentagenumber - Their score as a percentage. Needed when the result is Passed or Failed.From 0 to 100.
- Notes
notestext - Why it was marked, up to 2,000 characters.
- Award certificates
award_certstrue/false - Whether to award the course's certificates. Yes if left empty.
- Award credits
award_creditstrue/false - Whether to award the course's credits. Yes if left empty.
- Award badges
award_badgestrue/false - Whether to award the course's badges. Yes if left empty.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"created_at": "example",
"id": 1
}
}Remove a user from a group
Take a user out of a group. They stay in the portal.
Inputs
- Group
group_idnumberRequired - The group.At least 1.
- User
person_idnumberRequired - The user to remove.At least 1.
- Unenroll from group courses
process_unenrollmentstrue/false - Whether to also unenroll them from the group's courses and learning paths.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"deleted": true
}
}Unenroll a user
Delete an enrollment. Completed enrollments stay in the learner's history unless you choose otherwise.
Inputs
- Enrollment ID
enrollment_idnumberRequired - The enrollment's ID.At least 1.
- Remove from history
remove_from_historytrue/false - Whether to delete it even if it is completed, removing it from reports.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"deleted": true,
"id": 1
}
}Update a group
Rename a group or change its description.
Inputs
- Group
group_idnumberRequired - The group.At least 1.
- Name
titletext - The group's new name.
- Description
descriptiontext - Its new description.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"id": 1
}
}Update a user
Change a user's details. Fields left empty stay as they are.
Inputs
- User
person_idnumberRequired - The user.At least 1.
- Email
emailtext - A new email address for them.
- First name
first_nametext - Their first name.
- Last name
last_nametext - Their last name.
- Password
passwordtext - Their password, at least 6 characters. Leave empty to keep it.
- User type
user_typetext - What they can do in the portal.One of:
learner,manager,instructor,admin. - Language
languagetext - Their language, as an ISO code such as `en` or `de`. Leave empty for the portal's language.
- Enabled
enabledtrue/false - Whether their account can sign in.
- Account expires
account_expiresdate - The day their account stops working, at midnight UTC.
- Custom fields
custom_dataobject - Values for the portal's custom user fields, by field name, such as `{"Department": "Sales"}`.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"id": 1
}
}Update an enrollment
Change an enrollment's due date or the day access ends.
Inputs
- Enrollment ID
enrollment_idnumberRequired - The enrollment's ID.At least 1.
- Due date
due_datedate - When they should finish.
- Access ends
expires_atdate - When their access to the course ends.
Outputs
dataobject- The response from LearnUpon.
Example output
{
"data": {
"id": 1
}
}