HR Learn: API v2 - Learning Path API
The Learning Path API performs actions related to learning paths in the HR Learn LMS.
The Learning Path API performs actions related to learning paths in the HR Learn LMS. The following methods are available via this API:
Search learning paths
|
HTTP Action |
POST |
|||||||||
|
Base URL |
https://[Your HR Learn LMS Portal URL] |
|||||||||
|
Endpoint URL |
/api/learningpath/v2/search |
|||||||||
|
Request Parameters |
Example: { "Type": "name", "SearchParam": "My Learning Path" }
|
|||||||||
|
Response |
An array of learning path objects matching the search criteria. Example: [ { "Id": 123, "IdSite": 2, "Name": "My Learning Path", "ShortDescription": "This is my learning path.", "LongDescription": null, "Cost": null, "IsPublished": true, "IsClosed": false, "SelfEnrollmentIsOneTimeOnly": false, "ForceCompletionInOrder": false, "DtCreated": "2021-06-15T15:16:37.89", "DtModified": "2021-07-01T21:33:42.577", "IsDeleted": false, "DtDeleted": null, "Avatar": null, "SearchTags": null, "IsCallingUserEnrolled": false, "IsMultipleSelfEnrollmentEligible": true, "LanguageSpecificProperties": [ { "LangString": "en-US", "Name": "My Learning Path", "ShortDescription": "This is my learning path.", "LongDescription": "", "SearchTags": "" } ], "Shortcode": null, "IsSelfEnrollmentDrop": true } ]
|
Get learning path details
|
HTTP Action |
GET |
|
Base URL |
https://[Your HR Learn LMS Portal URL] |
|
Endpoint URL |
/api/learningpath/v2/{id} |
|
Request Parameters |
NONE |
|
Response |
A learning path object matching the {id} of the learning path. Example: { "Id": 123, "IdSite": 2, "Name": "My Learning Path", "ShortDescription": "This is my learning path.", "LongDescription": null, "Cost": null, "IsPublished": true, "IsClosed": false, "SelfEnrollmentIsOneTimeOnly": false, "ForceCompletionInOrder": false, "DtCreated": "2021-06-15T15:16:37.89", "DtModified": "2021-07-01T21:33:42.577", "IsDeleted": false, "DtDeleted": null, "Avatar": null, "SearchTags": null, "IsCallingUserEnrolled": false, "IsMultipleSelfEnrollmentEligible": true, "LanguageSpecificProperties": [ { "LangString": "en-US", "Name": "My Learning Path", "ShortDescription": "This is my learning path.", "LongDescription": "", "SearchTags": "" } ], "Shortcode": null, "IsSelfEnrollmentDrop": true }
|
Delete learning path
|
HTTP Action |
DELETE |
|
Base URL |
https://[Your HR Learn LMS Portal URL] |
|
Endpoint URL |
/api/learningpath/v2/{id} |
|
Request Parameters |
NONE |
|
Response |
NONE (200 - OK) |