Show / Hide Table of Contents

LearningSelfInitiatedCourse.ReadWrite.All

Allows the app to create, update, read and delete all self-initiated courses in the organization's directory, without a signed-in user.

Graph Methods

Type: A = Application Permission, D = Delegate Permission

Ver Type Method
V1 A DELETE /employeeExperience/learningProviders/{registrationId}/learningCourseActivities/{id}
V1 A PATCH /employeeExperience/learningProviders/{registrationId}/learningCourseActivities/{learningCourseActivityId}
V1 A POST /employeeExperience/learningProviders/{registrationId}/learningCourseActivities

Application Permission

Id 7654ed61-8965-4025-846a-0856ec02b5b0
Display String Read and write all self-initiated courses
Description Allows the app to create, update, read and delete all self-initiated courses in the organization's directory, without a signed-in user.

Resources

learningAssignment

Property Type Description
@odata.type String Indicates whether this is a learningAssignment or learningSelfInitiated course activity. Required.
assignedDateTime DateTimeOffset Assigned date for the course activity. Optional.
assignerUserId String The user ID of the assigner. Optional.
assignmentType String The assignment type for the course activity. Possible values are: required, recommended, unknownFutureValue. Required.
completedDateTime DateTimeOffset Date and time when the assignment was completed. Optional.
completionPercentage Int32 The percentage of the course completed by the user. If a value is provided, it must be between 0 and 100 (inclusive). Optional.
dueDateTime DateTimeOffset Due date for the course activity. Optional.
externalCourseActivityId String A course activity ID generated at provider. Optional.
id String The generated ID for a request that can be used to make further interactions to the course activity APIs.
learnerUserId String The user ID of the learner to whom the activity is assigned. Required.
learningContentId String The ID of the learning content in Viva Learning. Required.
learningProviderId String The registration ID of the provider. Required.
notes String Notes for the course activity. Optional.
startedDateTime DateTimeOffset The date and time when the self-initiated course was started by the learner. Optional.
status courseStatus The status of the course activity. Possible values are: notStarted, inProgress, completed. Required.

learningCourseActivity

Property Type Description
assignedDateTime DateTimeOffset Date and time when the assignment was completed. Optional.
assignerUserId String The user ID of the assigner. Optional.
assignmentType assignmentType Assignment type for the course activity. Possible values are: required, recommended, unknownFutureValue. Required.
completedDateTime DateTimeOffset Date and time when the assignment was completed. Optional.
completionPercentage Int32 The percentage completion value of the course activity. Optional.
dueDateTime DateTimeTimeZone Due date for the course activity. Optional.
externalcourseActivityId String A course activity ID generated by the provider. Optional.
id String A generated ID that can be used with other course activity APIs.
learnerUserId String The user ID of the learner to whom the activity is assigned. Required.
learningContentId String The ID of the learning content created in Viva Learning. Required.
learningProviderId String The registration ID of the provider. Required.
startedDateTime DateTimeOffset Date and time when the self-initiated course was started by the learner. Optional.
status courseStatus The status of the course activity. Possible values are: notStarted, inProgress, completed. Required.

learningSelfInitiatedCourse

Property Type Description
@odata.type String Indicates whether this is a learningAssignment or learningSelfInitiated course activity. Required.
completedDateTime DateTimeOffset Date time value when the assignment was completed. Optional.
completionPercentage Integer The percentage of the course completed by the user. If the value is provided, the value needs to be in between 0 and 100 (inclusive). Optional.
externalCourseActivityId String A course activity ID generated by the provider. Optional.
ID String A generated ID that can be used with other course activity APIs.
learningContentId String The ID of the learning content created in Viva Learning. Required.
learnerUserId String The user ID of the learner who initiated the course. Required.
learningProviderId String The registration ID of the provider. Required.
startedDateTime DateTimeOffset The date time value on which the self-initiated course was started by the learner. Optional.
status courseStatus Represents status of the course activity. Possible values are notStarted, inProgress, completed. Optional.
In This Article
Back to top Created by merill | Submit feedback