Thinkific · Schema
EnrollmentResponse
Online CoursesE-LearningLMSCourse CreationEnrollmentsUsersEducationDigital ProductsWebhooks
Properties
| Name | Type | Description |
|---|---|---|
| id | number | The ID of the Enrollment as an integer. |
| user_email | string | The email of the User owning the Enrollment. |
| user_name | string | The full name of the User owning the Enrollment. |
| user_id | number | The ID of the User owning the Enrollment as an integer. |
| course_name | string | The name of the Course. |
| course_id | number | The ID of the Course as an integer. |
| percentage_completed | number | The percentage complete of the Enrollment. A number between 0.0 and 1.0. For example, to represent a percentage complete of 75%, this value would be 0.75. |
| expired | boolean | A boolean indicating whether the Enrollment is expired. |
| is_free_trial | boolean | A boolean indicating whether the Enrollment is a free trial. |
| completed | boolean | A boolean indicating whether the Enrollment is complete. |
| started_at | string | The date/time that the Enrollment started. |
| activated_at | string | The date/time that the Enrollment was activated. |
| completed_at | string | The date/time that the Enrollment was completed. |
| updated_at | string | The date/time that the Enrollment was updated last. |
| expiry_date | string | The date/time that the Enrollment expires. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://raw.githubusercontent.com/api-evangelist/thinkific/refs/heads/main/json-schema/thinkific-enrollment.json",
"title": "EnrollmentResponse",
"required": [
"activated_at",
"completed",
"completed_at",
"course_id",
"course_name",
"expired",
"expiry_date",
"id",
"is_free_trial",
"percentage_completed",
"started_at",
"updated_at",
"user_email",
"user_id",
"user_name"
],
"type": "object",
"properties": {
"id": {
"type": "number",
"description": "The ID of the Enrollment as an integer.",
"example": 1.0
},
"user_email": {
"type": "string",
"description": "The email of the User owning the Enrollment.",
"example": "[email protected]"
},
"user_name": {
"type": "string",
"description": "The full name of the User owning the Enrollment.",
"example": "Bob Smith"
},
"user_id": {
"type": "number",
"description": "The ID of the User owning the Enrollment as an integer.",
"example": 1.0
},
"course_name": {
"type": "string",
"description": "The name of the Course.",
"example": "My Course"
},
"course_id": {
"type": "number",
"description": "The ID of the Course as an integer.",
"example": 1.0
},
"percentage_completed": {
"type": "number",
"description": "The percentage complete of the Enrollment. A number between 0.0 and 1.0. For example, to represent a percentage complete of 75%, this value would be 0.75.",
"example": 1.0
},
"expired": {
"type": "boolean",
"description": "A boolean indicating whether the Enrollment is expired.",
"example": false
},
"is_free_trial": {
"type": "boolean",
"description": "A boolean indicating whether the Enrollment is a free trial.",
"example": false
},
"completed": {
"type": "boolean",
"description": "A boolean indicating whether the Enrollment is complete.",
"example": true
},
"started_at": {
"type": "string",
"description": "The date/time that the Enrollment started.",
"format": "date-time",
"example": "2018-01-01T01:01:00Z"
},
"activated_at": {
"type": "string",
"description": "The date/time that the Enrollment was activated.",
"format": "date-time",
"example": "2018-01-01T01:01:00Z"
},
"completed_at": {
"type": "string",
"description": "The date/time that the Enrollment was completed.",
"format": "date-time",
"example": "2018-01-31T01:01:00Z"
},
"updated_at": {
"type": "string",
"description": "The date/time that the Enrollment was updated last.",
"format": "date-time",
"example": "2018-01-31T01:01:00Z"
},
"expiry_date": {
"type": "string",
"description": "The date/time that the Enrollment expires.",
"format": "date-time",
"example": "2019-01-01T01:01:00Z"
}
}
}