編輯

共用方式為


endUserNotification 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 an end user notification.

Inherits from entity.

Methods

Method Return type Description
List endUserNotification collection Get a list of endUserNotification objects and their properties.
Get endUserNotification Read the properties and relationships of an endUserNotification object.

Properties

Property Type Description
createdBy emailIdentity Identity of the user who created the notification.
createdDateTime DateTimeOffset Date and time when the notification was created. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
description String Description of the notification as defined by the user.
displayName String Name of the notification as defined by the user.
id String Unique identifier for the endUserNotification object. Inherited from entity.
lastModifiedBy emailIdentity Identity of the user who last modified the notification.
lastModifiedDateTime DateTimeOffset Date and time when the notification was last modified. The timestamp type represents date and time information using ISO 8601 format and is always in UTC. For example, midnight UTC on Jan 1, 2014 is 2014-01-01T00:00:00Z.
notificationType endUserNotificationType Type of notification. Possible values are: unknown, positiveReinforcement, noTraining, trainingAssignment, trainingReminder, unknownFutureValue.
source simulationContentSource The source of the content. Possible values are: unknown, global, tenant, unknownFutureValue.
status simulationContentStatus The status of the notification. Possible values are: unknown, draft, ready, archive, delete, unknownFutureValue.
supportedLocales String collection Supported locales for endUserNotification content.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.endUserNotification",
  "createdBy": {"@odata.type": "microsoft.graph.emailIdentity"},
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "displayName": "String",
  "id": "String (identifier)",
  "lastModifiedBy": {"@odata.type": "microsoft.graph.emailIdentity"},
  "lastModifiedDateTime": "String (timestamp)",
  "notificationType": "String",
  "source": "String",
  "status": "String",
  "supportedLocales": ["String"]
}