Skip to main content

UserNotification

Represents a notification specific to a User

type UserNotification {
category: UserNotificationCategory!
content: String
createdAt: String!
createdBy: ID!
expiresAt: Int
externalDeliveries: [NotificationExternalDeliveryType]
link: String
senderReferenceKey: String
sentiment: NotificationSentiment
status: NotificationStatus!
subject: String!
updatedAt: String!
updatedBy: ID!
userName: ID!
userNotificationId: ID!
}

Fields​

UserNotification.category ● UserNotificationCategory! non-null enum​

These denote where the message is from and what it pertains to.

UserNotification.content ● String scalar​

The actual message. It's optional, and potentially only the subject is needed. Should be short.

UserNotification.createdAt ● String! non-null scalar​

ISO Date

UserNotification.createdBy ● ID! non-null scalar​

Identity who created the notification

UserNotification.expiresAt ● Int scalar​

Epoch date when this notification will expire

UserNotification.externalDeliveries ● [NotificationExternalDeliveryType] list enum​

Should this notification be delivered outside the portal?

UserNotification.link ● String scalar​

Where the button in the notification should link to

UserNotification.senderReferenceKey ● String scalar​

The sender of the notification can use this to reference it later

UserNotification.sentiment ● NotificationSentiment enum​

Denotes the tone of the message, may affect display

UserNotification.status ● NotificationStatus! non-null enum​

Denotes how urgent and whether the Notification is archived

UserNotification.subject ● String! non-null scalar​

The subject of the notification, is required

UserNotification.updatedAt ● String! non-null scalar​

ISO Date

UserNotification.updatedBy ● ID! non-null scalar​

The last identity to alter this record

UserNotification.userName ● ID! non-null scalar​

The user this notification pertains to

UserNotification.userNotificationId ● ID! non-null scalar​

The ID of this userNotification

Returned by​

updateUserNotificationStatus mutation

Member of​

UserNotificationConnection object ● UserNotificationEdge object