mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-07 08:04:28 +08:00
93 lines
4.9 KiB
JSON
93 lines
4.9 KiB
JSON
|
|
{
|
||
|
|
"sections": [
|
||
|
|
"title",
|
||
|
|
"description",
|
||
|
|
"wsdl_segment",
|
||
|
|
"field_reference"
|
||
|
|
],
|
||
|
|
"title": "OutgoingEmail - Data API",
|
||
|
|
"description": "For internal use only.",
|
||
|
|
"wsdl_segment": "```xml\n<simpleType name=\"ID\">\n <restriction base=\"xsd:string\">\n <length value=\"18\"/>\n <pattern value=\"[a-zA-Z0-9]{18}\"/>\n </restriction>\n</simpleType>\n<complexType name=\"OutgoingEmail\">\n <complexContent>\n <extension base=\"ens:sObject\">\n <sequence>\n <element name=\"BccAddress\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"BccIds\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"tns:ID\"/>\n <element name=\"CcAddress\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"CcIds\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"tns:ID\"/>\n <element name=\"ContentDocumentIds\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"tns:ID\"/>\n <element name=\"ContentDocumentLinks\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"EmailTemplate\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"EmailTemplateId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"ExternalId\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"HtmlBody\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"InReplyTo\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"MessageId\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"OutgoingEmailRelations\" nillable=\"true\" minOccurs=\"0\" type=\"tns:QueryResult\"/>\n <element name=\"References\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"RelatedTo\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"RelatedToId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n <element name=\"Subject\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"TextBody\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ToAddress\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"ToIds\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\" type=\"tns:ID\"/>\n <element name=\"ValidatedFromAddress\" nillable=\"true\" minOccurs=\"0\" type=\"xsd:string\"/>\n <element name=\"Who\" nillable=\"true\" minOccurs=\"0\" type=\"ens:sObject\"/>\n <element name=\"WhoId\" nillable=\"true\" minOccurs=\"0\" type=\"tns:ID\"/>\n </sequence>\n </extension>\n </complexContent>\n</complexType>\n<simpleType name=\"QueryLocator\">\n <restriction base=\"xsd:string\"/>\n</simpleType>\n<complexType name=\"QueryResult\">\n <sequence>\n <element name=\"done\" type=\"xsd:boolean\"/>\n <element name=\"queryLocator\" type=\"tns:QueryLocator\" nillable=\"true\"/>\n <element name=\"records\" type=\"ens:sObject\" nillable=\"true\" minOccurs=\"0\" maxOccurs=\"unbounded\"/>\n <element name=\"size\" type=\"xsd:int\"/>\n </sequence>\n</complexType>\n```",
|
||
|
|
"field_reference": {
|
||
|
|
"BccAddress": {
|
||
|
|
"field_label": "BCC",
|
||
|
|
"type": "string",
|
||
|
|
"length": "4000"
|
||
|
|
},
|
||
|
|
"CcAddress": {
|
||
|
|
"field_label": "CC",
|
||
|
|
"type": "string",
|
||
|
|
"length": "4000"
|
||
|
|
},
|
||
|
|
"EmailTemplateId": {
|
||
|
|
"field_label": "Email Template ID",
|
||
|
|
"type": "reference",
|
||
|
|
"length": "18"
|
||
|
|
},
|
||
|
|
"ExternalId": {
|
||
|
|
"field_label": "External ID",
|
||
|
|
"type": "string",
|
||
|
|
"length": "255"
|
||
|
|
},
|
||
|
|
"HtmlBody": {
|
||
|
|
"field_label": "HTML Body",
|
||
|
|
"type": "textarea",
|
||
|
|
"length": "128000"
|
||
|
|
},
|
||
|
|
"Id": {
|
||
|
|
"field_label": "Outgoing Email ID",
|
||
|
|
"type": "id",
|
||
|
|
"length": "18"
|
||
|
|
},
|
||
|
|
"InReplyTo": {
|
||
|
|
"field_label": "In-Reply-To",
|
||
|
|
"type": "string",
|
||
|
|
"length": "4000"
|
||
|
|
},
|
||
|
|
"MessageId": {
|
||
|
|
"field_label": "Message Id",
|
||
|
|
"type": "string",
|
||
|
|
"length": "4000"
|
||
|
|
},
|
||
|
|
"References": {
|
||
|
|
"field_label": "References",
|
||
|
|
"type": "string",
|
||
|
|
"length": "4000"
|
||
|
|
},
|
||
|
|
"RelatedToId": {
|
||
|
|
"field_label": "Related To ID",
|
||
|
|
"type": "reference",
|
||
|
|
"length": "18"
|
||
|
|
},
|
||
|
|
"Subject": {
|
||
|
|
"field_label": "Subject",
|
||
|
|
"type": "string",
|
||
|
|
"length": "3000"
|
||
|
|
},
|
||
|
|
"TextBody": {
|
||
|
|
"field_label": "Text Body",
|
||
|
|
"type": "textarea",
|
||
|
|
"length": "128000"
|
||
|
|
},
|
||
|
|
"ToAddress": {
|
||
|
|
"field_label": "To",
|
||
|
|
"type": "string",
|
||
|
|
"length": "4000"
|
||
|
|
},
|
||
|
|
"ValidatedFromAddress": {
|
||
|
|
"field_label": "From",
|
||
|
|
"type": "picklist",
|
||
|
|
"length": "255"
|
||
|
|
},
|
||
|
|
"WhoId": {
|
||
|
|
"field_label": "Name ID",
|
||
|
|
"type": "reference",
|
||
|
|
"length": "18"
|
||
|
|
}
|
||
|
|
},
|
||
|
|
"field_reference_columns": [
|
||
|
|
"field_label",
|
||
|
|
"type",
|
||
|
|
"length"
|
||
|
|
]
|
||
|
|
}
|