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

Course Group Display Course

Returns the display course associated with the specified course group

Returns the display course associated with the specified course group.

GEThttps://example.thoughtindustries.com/incoming/v2/courseGroups/:id/displayCourse

Example request

curl "https://example.thoughtindustries.com/incoming/v2/courseGroups/:id/displayCourse" \
  -H 'Authorization: Bearer YOUR_API_KEY'

Parameters

NameTypeRequiredLocationDescription
iduuidYespathThe unique identifier of the course group.

Example response

{
  "data": {
    "APICourseGroupDisplayCourse": {
      "id": "00000000-0000-0000-0000-000000000000",
      "title": "string",
      "slug": "example-slug",
      "status": "draft",
      "courseStartDate": "2024-01-01T00:00:00.000Z",
      "courseEndDate": "2024-01-01T00:00:00.000Z",
      "enrollmentStartDate": "2024-01-01T00:00:00.000Z",
      "enrollmentEndDate": "2024-01-01T00:00:00.000Z",
      "seatsLimit": 0,
      "seatsUsed": 0,
      "isDisplayCourse": true
    }
  }
}

Response fields

FieldTypeDescription
iduuidUnique identifier of the display course.
titlestringDisplay name of the course.
slugstringURL-friendly identifier for the course.
statusStatusPublication status of the course (e.g., draft, published).
courseStartDateISO 8601 timestampDate and time when the course becomes available to learners.
courseEndDateISO 8601 timestampDate and time when the course is no longer available to learners.
enrollmentStartDateISO 8601 timestampDate and time when enrollment opens for the course.
enrollmentEndDateISO 8601 timestampDate and time when enrollment closes for the course.
seatsLimitintegerMaximum number of learners who can enroll in the course.
seatsUsedintegerNumber of seats currently occupied by enrolled learners.
isDisplayCoursebooleanIndicates whether this course is designated as the display course for the group.