Email Entity
The following are the attributes in the body of a email service. | |||
Attribute | Type | Updatable | Comments |
---|---|---|---|
id | UUID | no | (Required for PUT only)For PUT the ID in body must valid ID and must match step on the URL.
For POST this is ignored. |
name | string | yes | (Required) Unique among other email objects. A Valid SQL Identifier. |
fromEmail | string | yes | (Optional) xCL expression that evaluates to an email address.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “fromEmail”:”‘testuser@xactlycorp.com‘” ) |
toEmails | string | yes | (Required) xCL expression that evaluates to a ResultSet of email addresses.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “fromEmail”:”‘testuser@xactlycorp.com‘” ) |
ccEmails | string | yes | (Optional) xCL expression that evaluates to a ResultSet of email addresses.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “fromEmail”:”‘testuser@xactlycorp.com‘” ) |
bccEmails | string | yes | (Optional) xCL expression that evaluates to a ResultSet of email addresses.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “fromEmail”:”‘testuser@xactlycorp.com‘” ) |
replyToEmails | string | yes | (Optional) xCL expression that evaluates to an email address.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “fromEmail”:”‘testuser@xactlycorp.com‘” ) |
subject | string | yes | (Optional) xCL expression that evaluates to a subject string.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “fromEmail”:”‘testuser@xactlycorp.com‘” ) |
body | string | yes | (Required) xCL expression that evaluates to the body of the email.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “fromEmail”:”‘testuser@xactlycorp.com‘” ) |
contentType | string | yes | (Optional) A mime-type string.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “fromEmail”:”‘testuser@xactlycorp.com‘” ) |
description | string | yes | (Optional) |
attachments | List<EmailAttachment> | yes | (Optional) Refer to next table for EmailAttachment entity attributes. |
createdInstant | datetime | no | (Optional) |
createdBy | string | no | (Optional) Username associated with session |
modifiedInstant | datetime | no | (Optional) |
modifiedBy | string | no | (Optional) Username associated with session |
EmailAttachment Entity
The following are the attributes in the body of a email service. | |||
Attribute | Type | Updatable | Comments |
---|---|---|---|
command | string | no | (Optional) The xCL expression that evaluates to a the attachment string.
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “show steps”). |
type | string | no | (Optional) The type of the attachment (e.g. csv, text, etc.).
Please refer to xCL manual for proper xCL syntax. If you want to add a string literal then you have to enclose it in single quotes. E.g. “type”:”‘text'” ). |
List of APIs
Note: We have tried to keep this list up to date. However, for the most up to date list, see the interactive docs: https://connect-i1.xactlycorp.com/connect/docs/swagger-ui.html
POST /connect/v1/emails
DELETE /connect/v1/emails/{id}
GET /connect/v1/emails
GET /connect/v1/emails/{id}
POST /connect/v1/emails/{id}/instances
PUT /connect/v1/emails/{id}