How to create a Learning Module via API and Power Automate

If you want to create a Learning Module via API, you need to go to the https://api.365.systems/ or a regional page like https://us-api.365.systems/ and find the POST​/odata​/v2​/LearningModules endpoint.

To create the Learning Module, add the required information: Course ID, LM Title, and Configuration.

mceclip1.png

mceclip2.png

Example:

{
"CourseId": "02dc8861-f6c9-43f6-9d91-81ffd86ba4ca",
"Title": "Feedback Form",
"Configuration": {
"Items": "[{\"Content\":\"https://forms.office.com/Pages/ResponsePage.aspx?id=zz3XjXy17EC3-HVbUS2feyYsdHxAdIVGrmb7s_E7v85UOE42NzdHOExJMTdBVU5VSzdZMVBBU0ZIRy4u\",\"EmbedType\":5,\"ItemType\":3,\"Id\":\"8e55e9d4-93a7-4359-8427-7bc236359d68\",\"Title\":\"Feedback Form\",\"IsAvailable\":null,\"IsDeleted\":null},{\"ConfirmationMessage\":\"Please confirm that you have participated in the session and completed the feedback form\\n\",\"CheckMarkMessage\":\"I confirm that I participated in the webinar and completed the feedback form\",\"Type\":0,\"ItemType\":4,\"Id\":\"e00ca8b3-f25e-4375-a3fb-737d2fbcde79\",\"Title\":\"Confirmation\",\"IsAvailable\":null,\"IsDeleted\":null}]"
}
}

 

In Power Automate need to choose "Sent an HTTP Request". In the PA you will see two similar actions in the LMS365 Connector: "Send an HTTP request" and "Send an HTTP request (preview). Differences in those actions can be found in the related article. 

mceclip3.png

Was this article helpful?
0 out of 0 found this helpful

Comments

Article is closed for comments.