JDBC Driver for Garoon

Build 26.0.9655

Messages

Query and create regarding messages.

Select

本製品 は Garoon API を使用して、以下のカラムと演算子で構築されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドで本製品 内部で処理されます。

  • Id は'=' 演算子をサポートします。

例えば、次のクエリはサーバーサイドで処理されます。

SELECT * FROM Messages WHERE Id = 3

Insert

Message を追加するには、Title と Recipients フィールドを指定する必要があります。Title の最大文字数は 100 文字です。

基本的なメッセージの作成:

INSERT INTO Messages (Title, Recipients) VALUES ('This is title of updated message', '[{"id":1,"type":"USER"}]')

本文を含むメッセージ:

INSERT INTO Messages (Title, Recipients, Body, Acknowledgement, IsDraft)
VALUES ('This is title of message', '[{"id":1,"type":"USER"}]', 'This is body of the message.', true, false)

HTML 本文と操作権限を含むメッセージ:

INSERT INTO Messages (Title, Recipients, Body, IsHtmlBody, OperatorType, Operators)
VALUES ('HTML Message', '[{"id":1,"type":"USER"}]', 'This is HTML body', true, 'SELECT_USERS', '[{"id":2,"type":"USER"}]')

下書きメッセージの作成:

INSERT INTO Messages (Title, Recipients, Body, IsDraft)
VALUES ('Draft Message', '[{"id":1,"type":"USER"}]', 'Draft content', true)

Columns

Name Type ReadOnly Description
Id [KEY] String True

Message ID.

Title String False

Message title.

CreatorId String True

Creator's Garoon user ID.

CreatorCode String True

Creator's login name.

CreatorName String True

Creator's display name.

CreatedAt Datetime True

Creation date and time.

UpdaterId String True

Updater's Garoon user ID.

UpdaterCode String True

Updater's login name.

UpdaterName String True

Updater's display name.

UpdatedAt Datetime True

Update date and time.

Acknowledgement Boolean False

Whether to check reading status.

IsDraft Boolean False

Whether message is draft.

Body String False

Message body.

IsHtmlBody Boolean False

Whether body is HTML format.

OperatorType String False

Change/delete permission type.

Recipients String False

Message recipients.

Folders String True

Message folders.

Operators String False

Users allowed to change/delete message.

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