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/Courses({id})/CourseSessions.
To create the Course Session, you must provide the required information: Course ID, Start and End Date, and Time Zone.
If your Course Session is in the Teams, you need to add the next rows:
"Room": null,
"IsTeamsOnlineMeeting": true,
"MeetingUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_YWJmZmY3ZGQtZTgyNy00YjgzLTgyZTMtZDI3NmQwMzcwZjJi%40thread.v2/0?context=%7b%22Tid%22%3a%22216373b0-6d05-4272-a568-c5610d960546%22%2c%22Oid%22%3a%225f8de910-3f61-41b8-a535-1b42a9ba61fc%22%7d",
Example:
{"TimeZone": "GMT Standard Time",
"StartDate": "2022-09-30T14:00:00Z",
"EndDate": "2022-09-30T15:00:00Z",
"CreatedAt": "2022-09-28T13:17:21.5966667Z",
"ModifiedAt": "2022-09-28T13:17:21.5966667Z",
"TimeZoneName": "(UTC+03:00) Minsk",
"StartDateTimeZoneOffset": 10800000,
"EndDateTimeZoneOffset": 10800000,
"StartDateLocal": "2022-09-28T17:00:00.0000000",
"EndDateLocal": "2022-09-28T18:00:00.0000000",
"Room": null,
"IsTeamsOnlineMeeting": true,
"MeetingUrl": "https://teams.microsoft.com/l/meetup-join/19%3ameeting_YWJmZmY3ZGQtZTgyNy00YjgzLTgyZTMtZDI3NmQwMzcwZjJi%40thread.v2/0?context=%7b%22Tid%22%3a%22216373b0-6d05-4272-a568-c5610d960546%22%2c%22Oid%22%3a%225f8de910-3f61-41b8-a535-1b42a9ba61fc%22%7d",
"MaxAttendees": null,
"AllowLearnerToSetAttendance": false,
"IsSignatureRequired": false,
"IsQrCodeRequired": false,
"AttendanceStartDate": null,
"AttendanceStartDateLocal": null,
"AttendanceEndDate": null,
"AttendanceEndDateLocal": null,
"TakenSeatsCount": 0,
"Description": null,
"Cost": null,
"EnrollmentDeadline": null,
"EnrollmentDeadlineLocal": 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.
Comments
Article is closed for comments.