{ "sections": [ "title", "description", "fields", "special_access_rules", "usage", "wsdl_segment", "field_reference" ], "title": "DocumentAttachmentMap - Data API", "description": "Maps the relationship between an EmailTemplate and its attachment, which is stored as a Document.", "fields_columns": [ "type", "properties", "description" ], "fields": { "DocumentId": { "type": "reference", "properties": "Create, Filter, Group, Sort, Update", "description": "ID of the document that this object tracks." }, "DocumentSequence": { "type": "int", "properties": "Create, Filter, Group, Sort, Update", "description": "Represents the order that the attachments will be included in the email defined by the EmailTemplate specified by the DocumentId. Label is Attachment Sequence. The first attachment is given a value of 0, and each subsequent attachment is given a value incremented by 1." }, "ParentId": { "type": "reference", "properties": "Create, Filter, Group, Sort, Update", "description": "ID of the EmailTemplate parent. The attachment identified by DocumentId is attached to the EmailTemplate specified in this field." } }, "special_access_rules": "Customer Portal users can’t access this object.", "usage": "Use this object to map the relationship of an EmailTemplate to its attachments, and to specify the order of the attachments.", "wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n\n```", "field_reference": { "CreatedById": { "field_label": "Created By ID", "type": "reference", "length": "18" }, "CreatedDate": { "field_label": "Created Date", "type": "datetime" }, "DocumentId": { "field_label": "Document ID", "type": "reference", "length": "18" }, "DocumentSequence": { "field_label": "Attachment Sequence", "type": "int", "digits": "9" }, "Id": { "field_label": "Document Entity Map Id", "type": "id", "length": "18" }, "ParentId": { "field_label": "Entity ID", "type": "reference", "length": "18" } }, "field_reference_columns": [ "field_label", "type", "length", "digits" ] }