Keywords:
API |
The Learning Path Enrollment API performs actions related to learning path enrollments in the Inquisiq LMS. The following methods are available via this API:
- Enroll a user in learning path(s)
- Get learning path enrollment details
- Update learning path enrollment
- Delete learning path enrollment
- Reset learning path enrollment
Enroll a user in learning path(s)
HTTP Action |
POST |
||||||||||||||||||||||||
Base URL |
https://[Your Inquisiq LMS Portal URL] |
||||||||||||||||||||||||
Endpoint URL |
/api/learningpathenrollment/v2/enroll |
||||||||||||||||||||||||
Request Parameters |
Example: { "IdUser": 2, "LearningPathIds": [ 123 ], "Timezone": "Eastern Standard Time", "StartDate": "2021-07-01", "Due": { "Interval": 30, "Timeframe": "d" }, "AccessFromStart": null, "AccessFromFirstLaunch": null } |
||||||||||||||||||||||||
Response |
The id of the learning path enrollment that was created. Example: 123456 |
Get learning path enrollment details
HTTP Action |
GET |
Base URL |
https://[Your Inquisiq LMS Portal URL] |
Endpoint URL |
/api/learningpathenrollment/v2/{id} |
Request Parameters |
NONE |
Response |
A learning path enrollment object matching the {id} of the learning path enrollment. Example: { "Id": 123456, "IdSite": 2, "IdLearningPath": 123, "IdUser": 2, "IdRuleSetLearningPathEnrollment": null, "IdLearningPathEnrollment": null, "IdTimezone": 15, "Title": "My Learning Path", "DtStart": "2021-07-01T04:00:00Z", "DtDue": "2021-01-31T04:00:00Z", "DtExpiresFromStart": null, "DtExpiresFromFirstLaunch": null, "DtEffectiveExpires": null, "DtFirstLaunch": null, "DtCompleted": null, "DtCreated": "2021-06-29T07:59:18.813Z", "DueInterval": 30, "DueTimeframe": "d", "ExpiresFromStartInterval": null, "ExpiresFromStartTimeframe": null, "ExpiresFromFirstLaunchInterval": null, "ExpiresFromFirstLaunchTimeframe": null, "IdActivityImport": null, "NumberOfCourses": 2, "NumberOfCoursesCompleted": 0, "IsSelfEnrollment": false, "LearningPathEnrollmentLink": "/dashboard/v2/LearningPathEnrollment.aspx?id=123456" } |
Update learning path enrollment
HTTP Action |
PUT |
|||||||||||||||
Base URL |
https://[Your Inquisiq LMS Portal URL] |
|||||||||||||||
Endpoint URL |
/api/learningpathenrollment/v2/{id} |
|||||||||||||||
Request Parameters |
Example: { "StartDate": "2021-07-15", "Due": { "Interval": 30, "Timeframe": "d" }, "AccessFromStart": null, "AccessFromFirstLaunch": null } |
|||||||||||||||
Response |
The id of the learning path enrollment. Example: 123456 |
Delete learning path enrollment
HTTP Action |
DELETE |
Base URL |
https://[Your Inquisiq LMS Portal URL] |
Endpoint URL |
/api/learningpathenrollment/v2/{id} |
Request Parameters |
NONE |
Response |
NONE (200 - OK) |
Reset learning path enrollment
HTTP Action |
GET |
Base URL |
https://[Your Inquisiq LMS Portal URL] |
Endpoint URL |
/api/learningpathenrollment/v2/{id}/reset |
Request Parameters |
NONE |
Response |
NONE (200 - OK) |
Comments
0 comments
Please sign in to leave a comment.