API-88 Update return value of getNotifications function