ODBC Driver for Garoon

Build 26.0.9655

NotificationItems

Query, create, modify regarding notification items.

ビュー固有の情報

Garoon は、このビューをフィルタリングするためのカラムをサポートしていません。すべてのフィルタはクライアント側で実行されます。

Upsert

NotificationItem を追加/更新するには、少なくともNotificationKey、Operation、Url、Title、App およびDestinations(Code、Type およびId)カラムを指定する必要があります。
Note:アプリでは、値に外部通知コードを指定する必要があります。
クエリで既存のNotificationKey が指定されている場合、API は既存のレコードを更新します。指定されていない場合は、新しいレコードが作成されます。

テンポラリテーブルの使用:

INSERT INTO Destinations#TEMP (Code, Type, id) VALUES ('cybozu', 'USER', 2)
UPSERT INTO NotificationItems (NotificationKey, Operation, Url, Title, App, Destinations) VALUES ('15', 'remove', 'https://developer.cybozu.io/hc/ja/articles/360026939911', 'Sample title', 'Concur', 'Destinations#TEMP')

集計の使用:

UPSERT INTO NotificationItems (NotificationKey, Operation, Url, Title, App, Destinations) VALUES ('15', 'remove', 'https://developer.cybozu.io/hc/ja/articles/360026939911', 'Sample title', 'Concur', '[
    {
      "type": "USER",
      "code": "userCode",
      "id": "1"
    }
  ]')

Columns

Name Type ReadOnly Description
NotificationKey [KEY] String False

Garoon notification key.

ModuleId [KEY] String True

Garoon module ID.

CreatorId Int True

Garoon user ID of the creator of the notification.

CreatorCode String True

Garoon user name of the creator of the notification.

CreatorName String True

Garoon user login name of the creator of the notification.

CreatedAt Datetime True

Notification creation date and time.

Operation String False

Summary of notification operations.You can specify one of the following three values:add,modify,remove.

Url String False

URL included in the notification.

Title String False

Notification title.

Body String False

Notification text.

Icon String False

Notification icon. A sample icon or URI can be specified.

IsRead Boolean True

Whether the notification has been read.

Pseudo-Columns

SELECT ステートメントのWHERE 句では、疑似カラムフィールドを使用して、データソースから返されるデータを詳細に制御することができます。

Name Type Description
Destinations String

List of notification destinations. This column is used for insert and does not return data.

App String

Specify the external notification code set in Garoon's application management.

Copyright (c) 2026 CData Software, Inc. - All rights reserved.
Build 26.0.9655