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

ActionWhat it does
Add a user to a groupPut a user in a group, enrolling them in the group's courses unless you choose otherwise.
Create a groupCreate a group.
Create a userAdd a user to the portal with an email address and password.
Delete a groupDelete a group.
Delete a userDelete a user's account.
Enroll a user in a courseEnroll a user in a course, with a due date or access end date if you like.
Find a user by emailLook up a user by their email address.
Get a courseRead one course, with how many learners are at each stage.
Get a userRead one user, with their custom fields.
Get an enrollmentRead one enrollment: its status, score and dates.
Invite a userEmail someone an invitation to join the portal, and a group if you choose one.
List a group's membersList the users in a group, with each membership's ID.
List an enrollment's modulesList the modules of an enrollment, with the learner's progress in each.
List coursesList the portal's courses, or find them by name.
List enrollmentsList a user's enrollments or a course's, with progress and scores.
List groupsList the portal's groups, or find them by name.
List manual completionsList enrollments that were marked complete, passed or failed by hand.
List usersList the portal's users, 500 to a page.
Mark an enrollment completeRecord a result for an enrollment by hand, such as training done offline.
Remove a user from a groupTake a user out of a group.
Unenroll a userDelete an enrollment.
Update a groupRename a group or change its description.
Update a userChange a user's details.
Update an enrollmentChange 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

Groupgroup_idnumberRequired
The group.At least 1.
Userperson_idnumberRequired
The user to add.At least 1.
Enroll in group coursesprocess_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

NametitletextRequired
The group's name.
Descriptiondescriptiontext
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

EmailemailtextRequired
Their email address, which identifies them in LearnUpon.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
PasswordpasswordtextRequired
Their password, at least 6 characters.
User typeuser_typetext
What they can do in the portal.One of: learner, manager, instructor, admin.
Languagelanguagetext
Their language, as an ISO code such as `en` or `de`. Leave empty for the portal's language.
Enabledenabledtrue/false
Whether their account can sign in.
Account expiresaccount_expiresdate
The day their account stops working, at midnight UTC.
Custom fieldscustom_dataobject
Values for the portal's custom user fields, by field name, such as `{"Department": "Sales"}`.
Change password at first sign-inchange_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

Groupgroup_idnumberRequired
The group.At least 1.
Delete enrollmentsdelete_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

Userperson_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 emailemailtextRequired
The user's email address.
Coursecourse_idnumberRequired
The course.At least 1.
Due datedue_datedate
When they should finish. They can still open it after.
Access endsexpires_atdate
When their access to the course ends.
Re-enroll if completedre_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

EmailemailtextRequired
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

Coursecourse_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

Userperson_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 IDenrollment_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

EmailemailtextRequired
Who to invite.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
Groupgroup_idnumber
A group to put them in once they accept.At least 1.
User typeuser_typetext
What they can do once they join. Learner if left empty.One of: learner, manager, instructor, admin.
Account expiresexpires_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

Groupgroup_idnumberRequired
The group.At least 1.
Pagepagenumber
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 IDenrollment_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

Namenametext
Only courses whose name contains these words.
Include draftsinclude_drafttrue/false
Whether to include draft courses.
Pagepagenumber
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

Userperson_idnumber
Only this user's enrollments.At least 1.
Coursecourse_idnumber
Only this course's enrollments.At least 1.
Changed fromupdated_fromdate
Only enrollments changed on or after this day.
Changed toupdated_todate
Only enrollments changed on or before this day.
Pagepagenumber
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

Nametitletext
Only groups whose name contains these words.
Pagepagenumber
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

Userperson_idnumber
Only this user's.At least 1.
Enrollment IDenrollment_idnumber
Only this enrollment's.At least 1.
Coursecourse_idnumber
Only this course's.At least 1.
Pagepagenumber
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 enabledlogin_enabledtrue/false
Yes for only users who can sign in, No for only disabled users.
Pagepagenumber
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 IDenrollment_idnumberRequired
The enrollment's ID.At least 1.
ResultstatustextRequired
The result.One of: completed, passed, failed.
Completed atdate_completeddate and timeRequired
When they finished.
Scorepercentagenumber
Their score as a percentage. Needed when the result is Passed or Failed.From 0 to 100.
Notesnotestext
Why it was marked, up to 2,000 characters.
Award certificatesaward_certstrue/false
Whether to award the course's certificates. Yes if left empty.
Award creditsaward_creditstrue/false
Whether to award the course's credits. Yes if left empty.
Award badgesaward_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

Groupgroup_idnumberRequired
The group.At least 1.
Userperson_idnumberRequired
The user to remove.At least 1.
Unenroll from group coursesprocess_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 IDenrollment_idnumberRequired
The enrollment's ID.At least 1.
Remove from historyremove_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

Groupgroup_idnumberRequired
The group.At least 1.
Nametitletext
The group's new name.
Descriptiondescriptiontext
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

Userperson_idnumberRequired
The user.At least 1.
Emailemailtext
A new email address for them.
First namefirst_nametext
Their first name.
Last namelast_nametext
Their last name.
Passwordpasswordtext
Their password, at least 6 characters. Leave empty to keep it.
User typeuser_typetext
What they can do in the portal.One of: learner, manager, instructor, admin.
Languagelanguagetext
Their language, as an ISO code such as `en` or `de`. Leave empty for the portal's language.
Enabledenabledtrue/false
Whether their account can sign in.
Account expiresaccount_expiresdate
The day their account stops working, at midnight UTC.
Custom fieldscustom_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 IDenrollment_idnumberRequired
The enrollment's ID.At least 1.
Due datedue_datedate
When they should finish.
Access endsexpires_atdate
When their access to the course ends.

Outputs

dataobject
The response from LearnUpon.
Example output
{
  "data": {
    "id": 1
  }
}

On this page