EmailTemplates
Create, update, delete, and query email templates to be used for emails
テーブル固有の情報
Select
WHERE 句で任意の条件を使用して、Email Templates テーブルをクエリできます。connector はSuiteCRM API を使用して結果をフィルタリングします。
SELECT * FROM [Email Templates] WHERE Name = 'test'
Insert
書き込み可能なカラムを指定して、Email Template を作成します。
INSERT INTO [Email Templates] (Id, Name) VALUES ('id', 'Energy')
Update
Id を指定して、書き込み可能なEmail Template カラムを更新できます。
UPDATE [Email Templates] SET Name = 'new name', Description = 'Desc' WHERE Id = 'Test123'
Delete
Id を指定して、Email Template を削除します。
DELETE FROM [Email Templates] WHERE Id = '10003'
Columns
Name | Type | ReadOnly | Description |
SecurityGroups | String | True |
The security group associated with the record. |
Id [KEY] | String | False |
The unique identifier of the email template. |
DateEntered | Datetime | False |
The date the record was created. |
DateModified | Datetime | False |
The date the record was last modified. |
ModifiedUserId | String | False |
The Id of the user who last modified the record. |
CreatedBy | String | False |
The Id of the user who created the record. |
Published | String | False |
The published status of the record. |
Name | String | False |
The name of the email template. |
Description | String | False |
The description for the email template. |
Subject | String | False |
The subject of the resulting email. |
Body | String | False |
Plaintext body of the resulting email. |
BodyHtml | String | False |
|
Deleted | Bool | False |
The record deletion indicator. |
AssignedUserId | String | False |
The Id of the user assigned to the record. |
AssignedUserName | String | True |
The user name of the user assigned to the record. |
AssignedUserLink | String | True |
Link to the user which the record has been assigned to |
TextOnly | Bool | False |
Whether the email template is to be sent in text only. |
Type | String | False |
The type of the email template. |