Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • The organization path (orgPath) /Root/[org url name] identifies your top level path (i.e. to get user profile data)
  • An organization contains navigation pages (NavPages) and courses (course paths). NavPages are used to structure/group courses and other content
  • Courses contain one or more course offerings.
  • A course offering contains student registrations and instructors
  • Every assessment result (i.e. exam) is bound to a specific student registration
  • Completing a course means completing a registration. If a user retakes a course, they get re-registered and will complete a new registration

Please note that some parameters are optional and may be useful to you to filter the data you need.

The 'path' or 'course path' is an internal LMS path to identify the page or course you would like to get information from. Every path starts with /Root/[org url name] which identifies your organization in the LMS. If you navigate to a page/course in the LMS you can find the current path you are at in the browser Url. For example, the LMS path for https://orgname.marinels.com/Cnt/Root/OrgUrlName/PedestalCraneOpsManual/ is /Root/OrgUrlName/PedestalCraneOpsManual.

...

Every course has at least one course offering, identified by an Id (GUID). The course offerings themselves reference the student registration objects. In order to get the course offerings of a course, you can use either API endpoint Services/api/Registration/GetCourseOfferingsByPath?coursePath={coursePath}&pageSize={pageSize}&startIndex={startIndex}&sortField={sortField}&sortDirection={sortDirection}&startDate={startDate}&endDate={endDate}&nameFilter={nameFilter} or Services/api/Registration/GetDefaultOfferingByCoursePath?coursePath={coursePath} using a coursePath from the previous call 'GetCoursePaths'. 

...

Most of our customers only use 1 course offering per course. If that is true for you the endpoint Services/api/Registration/GetDefaultOfferingByCoursePath?coursePath={coursePath} may be useful to get the one course offering of a course.

Once you have identified the course offerings you are interested in you can get student registrations bound to those course offerings via API endpoint Services/api/Registration/GetRegistrationsByCourseOfferingId?coursePath={coursePath}&offeringId={offeringId}&pageSize={pageSize}&startIndex={startIndex}&fromRegistrationDate={fromRegistrationDate}&toRegistrationDate={toRegistrationDate}.Most of our customers only use 1 course offering per course. If that is true for you the endpoint Services/api/Registration/GetDefaultOfferingByCoursePath?coursePath={coursePath} may be useful to get the one course offering of a course.

FYI: We do have 2 additional API calls which return active or completed registrations across all courses or only for a subset of courses in an upcoming release (version 3.9.4).

...