Yoobic Lessons API
Lessons are the activities the users perform during their trainings. ### Fields | Field | Type | Required | Readonly | OrderBy | Description | |----------------------|:--------------:|:--------:|:--------:|:-------:|---------------------------| |`lesson_id` | string | x | x | | Unique id of the lesson | |`title` | string | | x | | Title of the lesson | |`type` | string | | x | | Type of lesson (currently just lesson) | |`campaign_id` | string | | x | x | Unique id of the campaign | |`plan_id` | string | | x | | Unique id of the plan | |`course_id` | string | | x | | Unique id of the course | |`user_id` | string | | x | | Unique id of the user | |`status` | string | | x | x | Whether the lesson is finished or not | |`points` | number | | x | | Number of points of the lesson | |`score` | object | | x | | Score of the user | |`duration` | number | | x | | Time spent on the lesson (in minutes) | |`validated` | boolean | | x | | Whether the lesson is successfull or a failure | |`created_date` | date | | x | | Creation date | |`updated_date` | date | | x | x | Last update date | The `answers` field is defined as an array of: | Field | Type | Required | Readonly | Description | |----------------------|:--------------:|:---------:|:---------:|---------------------------| |`question_id` | string | | x | Unique id of the question | |`question_type` | string | | x | The type of the question | |`question` | string | | x | The title of the question | |`page_number` | number | | x | The number of the page the question appears in | |`question_number` | number | | x | The number of the question on the page | |`answer` | string | | x | The value of the answer |