learningSelfInitiatedCourse resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

Represents the details of a learning course activity that is self-initiated by a user.

Inherits from learningCourseActivity.

Properties

Property Type Description
@odata.type String Indicates whether this is a learningAssignment or learningSelfInitiated course activity. Required.
completedDateTime DateTimeOffset Date and time when the assignment was completed. Optional. Inherited from learningCourseActivity.
completionPercentage Int32 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. Inherited from learningCourseActivity.
externalCourseActivityId String A course activity ID generated by the provider. Optional. Inherited from learningCourseActivity.
id String A generated ID that can be used with other course activity APIs. Inherited from learningCourseActivity.
learningContentId String The ID of the learning content created in Viva Learning. Required. Inherited from learningCourseActivity.
learnerUserId String The user ID of the learner who initiated the course. Required. Inherited from learningCourseActivity.
learningProviderId String The registration ID of the provider. Required. Inherited from learningCourseActivity.
startedDateTime DateTimeOffset The date and time on which the self-initiated course was started by the learner. Optional.
status courseStatus The status of the course activity. Possible values are notStarted, inProgress, completed. Optional. Inherited from learningCourseActivity.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.learningSelfInitiatedCourse",
  "completedDateTime": "String (timestamp)",
  "completionPercentage": "Int32",
  "externalCourseActivityId": "String",
  "id": "String (identifier)",
  "learningContentId": "String",
  "learningProviderId": "String",
  "learnerUserId": "String",
  "startedDateTime": "String (timestamp)",
  "status": "String"
}