Skip to main content
https://.thoughtindustries.com

Course Completion Criteria

Returns the completion criteria configured for a course. Each criterion defines a condition a learner must satisfy for the course to be marked complete

Returns the completion criteria configured for a course. Each criterion defines a condition a learner must satisfy for the course to be marked complete.

GEThttps://example.thoughtindustries.com/incoming/v2/courses/:courseId/completionCriteria

Example request

curl "https://example.thoughtindustries.com/incoming/v2/courses/:courseId/completionCriteria" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
courseIduuidYespathThe courseId identifier.

Example response

{
  "data": {
    "APICourseCompletionCriteria": [
      {
        "id": "00000000-0000-0000-0000-000000000000",
        "course": "00000000-0000-0000-0000-000000000000",
        "type": "coursePercentViewed",
        "description": "string",
        "coursePercentViewed": 0,
        "courseAssignmentComplete": "00000000-0000-0000-0000-000000000000",
        "bongoAssignmentCompleted": "00000000-0000-0000-0000-000000000000",
        "courseAssessmentPassed": "00000000-0000-0000-0000-000000000000",
        "courseTopicViewed": "00000000-0000-0000-0000-000000000000",
        "courseMeetingAttended": "00000000-0000-0000-0000-000000000000",
        "scormComplete": "00000000-0000-0000-0000-000000000000",
        "surveyGizmoComplete": "00000000-0000-0000-0000-000000000000",
        "xApiComplete": "00000000-0000-0000-0000-000000000000",
        "articlePercentViewed": 0,
        "articleTimeViewedInSeconds": 0,
        "videoPercentViewed": 0,
        "videoTopicId": "00000000-0000-0000-0000-000000000000"
      }
    ]
  }
}

Response fields

FieldTypeDescription
[].iduuidUnique identifier for this completion criterion.
[].courseuuidID of the course this criterion belongs to.
[].typeCourseCompletionCriteriaTypeDiscriminator that identifies which criterion type applies (e.g. coursePercentViewed).
[].descriptionstringHuman-readable label describing this criterion.
[].coursePercentViewedintegerMinimum percentage of the course a learner must view to satisfy this criterion, expressed as a whole number.
[].courseAssignmentCompleteuuidID of the course assignment that must be completed to satisfy this criterion.
[].bongoAssignmentCompleteduuidID of the Bongo assignment that must be completed to satisfy this criterion.
[].courseAssessmentPasseduuidID of the course assessment that must be passed to satisfy this criterion.
[].courseTopicVieweduuidID of the course topic that must be viewed to satisfy this criterion.
[].courseMeetingAttendeduuidID of the course meeting that must be attended to satisfy this criterion.
[].scormCompleteuuidID of the SCORM topic that must be completed to satisfy this criterion.
[].surveyGizmoCompleteuuidID of the SurveyGizmo survey that must be completed to satisfy this criterion.
[].xApiCompleteuuidID of the xAPI activity that must be completed to satisfy this criterion.
[].articlePercentViewedintegerMinimum percentage of a specific article a learner must view, expressed as a whole number.
[].articleTimeViewedInSecondsintegerMinimum time a learner must spend viewing an article to satisfy this criterion, in seconds.
[].videoPercentViewedintegerMinimum percentage of a specific video a learner must watch, expressed as a whole number.
[].videoTopicIduuidID of the video topic to which the videoPercentViewed criterion applies.