JDBC Driver for SuiteCRM

Build 23.0.8839

Emails

Create, update, delete, and query sent or received emails

テーブル固有の情報

Select

WHERE 句で任意の条件を使用して、Emails テーブルをクエリできます。本製品 はSuiteCRM API を使用して結果をフィルタリングします。

SELECT * FROM Emails WHERE Intent LIKE '%Testing%' 

Insert

書き込み可能なカラムを指定して、Email を作成します。

INSERT INTO Emails (Name, From_Addr_Name, CC_Addrs_Names) VALUES ('Example', 'Contact', 'Included')

Update

Id を指定して、書き込み可能なEmail カラムを更新できます。

UPDATE Emails SET Flagged = True WHERE Id = 'Test123'

Delete

Id を指定して、Email を削除します。

DELETE FROM Emails WHERE Id = '10003'

Columns

Name Type ReadOnly Description
ID [KEY] String False

The unique identifier of the email.

Assignedto String True

The user name of the user assigned to the record.

AssignedUserId String False

The Id of the user assigned to the record.

bcc_addrs_names String True

The bcc addresses in the email.

CC_Addrs_names String True

The cc addresses in the email.

CreatedById String True

The Id of the user who created the record.

CreatedByName String True

The user name of the user who created the record.

DateCreated Datetime True

The date the record was created.

DateModified Datetime True

The date the record was last modified.

DateSent Datetime False

The date the email was sent.

Deleted Bool False

The record deletion indicator.

description String True

The description for the email.

description_html String True

The HTML description for the email.

EmailStatus String False

The status of the email.

Flagged Bool False

The flagged status of the email.

from_addr_name String True

The from address in the email.

Intent String False

The target of the action used in the Inbound Email assignment.

LBL_MAILBOX_ID String False

The Id of the mailbox associated with the email.

MessageID String False

The Id of the email item obtained from the email transport system.

ModifiedById String True

The Id of the user who last modified the record.

ModifiedByName String True

The user name of the user who last modified the record.

Name String False

The subject of the email.

Parent_ID String False

The Id of the Sugar module associated with the email. (Deprecated as of 4.2.)

Parent_Name String True

The name of the Sugar module associated with the email.

Parent_Type String False

The type of the Sugar module associated with the email. (Deprecated as of 4.2.)

raw_source String True

The raw source for the email.

ReplyToStatus Bool False

The reply-to status of the email. If you reply to an email then the reply-to status of original email is set.

reply_to_addr String True

The reply-to address in the email.

to_addrs_names String True

The to addresses in the email.

Type String False

The type of the email (e.g., draft).

Pseudo-Columns

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

Name Type Description
Rows@Next String

Identifier for the next page of results. Do not set this value manually.

Copyright (c) 2024 CData Software, Inc. - All rights reserved.
Build 23.0.8839