notificationCount
Get count of notifications for a given user (or for the current user).
Arguments
categories
· [String] · (DEPRECATED) This argument is not used, and does not do anything. other_party_id
· String · The ID of the provider whose notification count to retrieve. Requires permission to view that user. read_status
· Boolean · Filter notifications by read status. Pass true for read notifications, false for unread. seen_status
· Boolean · Filter notifications by seen status. Pass true for seen notifications, false for unseen. types
· [String] · Filter notifications by type. Supported types: AppointmentNotification, CommentNotification, CriticalLabResultNotification, DocumentNotification, EntryNotification, FolderNotification, GeneratedNoteNotification, GoalNotification, LabResultNotification, NoteNotification, PaymentNotification. Returns
Int Example
query notificationCount( $categories: [String] $other_party_id: String $page_size: Int $read_status: Boolean $seen_status: Boolean $types: [String]) { notificationCount( categories: $categories other_party_id: $other_party_id page_size: $page_size read_status: $read_status seen_status: $seen_status types: $types )}