DemandHqNotification
An actionable notification for a DemandHq. A User can acknowledge, ignore, or resolve a notification. In some cases, a suggested action can be taken by the User to resolve the notification.
type DemandHqNotification {
acknowledgedBy: ID
action: DemandAction
actionLabel: String
category: DemandHqNotificationCategory!
content: String!
createdAt: Date!
createdBy: ID!
demandHqId: ID!
demandHqNotificationId: ID!
ignoredBy: ID
resolvedBy: ID
senderReferenceKey: String
sentiment: NotificationSentiment
status: DemandHqNotificationStatus!
subject: String!
updatedAt: Date!
updatedBy: ID!
}
Fields
DemandHqNotification.acknowledgedBy
● ID
scalar
DemandHqNotification.action
● DemandAction
union
Notifications can have suggested actions that can be taken by the User.
DemandHqNotification.actionLabel
● String
scalar
A verb to describe what the action will accomplish.
DemandHqNotification.category
● DemandHqNotificationCategory!
non-null enum
The category of the notification.
DemandHqNotification.content
● String!
non-null scalar
The actual message.
DemandHqNotification.createdAt
● Date!
non-null scalar
The date the notification was created.
DemandHqNotification.createdBy
● ID!
non-null scalar
DemandHqNotification.demandHqId
● ID!
non-null scalar
DemandHqNotification.demandHqNotificationId
● ID!
non-null scalar
DemandHqNotification.ignoredBy
● ID
scalar
DemandHqNotification.resolvedBy
● ID
scalar
DemandHqNotification.senderReferenceKey
● String
scalar
The sender of the notification can use this to reference it later, this can be, but does not need to be, unique. (You can list several notifications under the same reference key, for instance, if you want to show a list of notifications for a single entity)
DemandHqNotification.sentiment
● NotificationSentiment
enum
The sentiment of the notification.
DemandHqNotification.status
● DemandHqNotificationStatus!
non-null enum
The status of the notification.
DemandHqNotification.subject
● String!
non-null scalar
The subject or title of the notification.
DemandHqNotification.updatedAt
● Date!
non-null scalar
DemandHqNotification.updatedBy
● ID!
non-null scalar
Returned by
createDemandHqNotification
mutation ● updateDemandHqNotificationStatus
mutation ● updateDemandHqNotificationStatuses
mutation
Member of
DemandHqNotificationConnection
object ● DemandHqNotificationEdge
object