{
"sections": [
"title",
"description",
"file_information",
"directory_location",
"fields",
"sub_types",
"wsdl_segment",
"declarative_metadata_sample_definition"
],
"title": "Letterhead - Metadata API",
"description": "Represents formatting options for the letterhead in an email template. A letterhead defines the logo, page color, and text settings for your HTML email templates. Use letterheads to ensure a consistent look and feel in your company’s emails.",
"file_information": ".letter",
"directory_location": "letterhead",
"fields_columns": [
"type",
"description"
],
"fields": {
"available": {
"type": "boolean",
"description": "Indicates whether this letterhead can be used (true) or not (false), for example, in an email template.",
"required": true
},
"backgroundColor": {
"type": "string",
"description": "The background color, in hexadecimal, for example #FF6600.",
"required": true
},
"bodyColor": {
"type": "string",
"description": "The body color in hexadecimal.",
"required": true
},
"bottomLine": {
"type": "LetterheadLine (enumeration of type string)",
"description": "The style for the bottom line. Valid style values include: color. The color of the line in hexadecimal, as a string value. height. The height of the line, as an int value.",
"required": true
},
"description": {
"type": "string",
"description": "Text description of how this letterhead differs from other letterheads."
},
"fullName": {
"type": "string",
"description": "The internal name of the letterhead, based on the name, but with white spaces and special characters escaped out for validity."
},
"footer": {
"type": "LetterheadHeaderFooter",
"description": "The style for the footer.",
"required": true
},
"header": {
"type": "LetterheadHeaderFooter",
"description": "The style for the header.",
"required": true
},
"middleLine": {
"type": "LetterheadLine",
"description": "The style for the middle border line in your letterhead. Valid style values include: color. The color of the line in hexadecimal, as a string value. height. The height of the line, as an int value.",
"required": true
},
"name": {
"type": "string",
"description": "The name of the letterhead.",
"required": true
},
"topLine": {
"type": "LetterheadLine",
"description": "The style for the top horizontal line below the header. Valid style values include: color. The color of the line in hexadecimal, as a string value. height. The height of the line, as an int value.",
"required": true
}
},
"sub_types": {
"LetterheadHeaderFooter": {
"backgroundColor": {
"type": "string",
"description": "The background color of the header or footer in hexadecimal format.",
"required": true
},
"height": {
"type": "DashboardComponent[]",
"description": "The height of the header or footer.",
"required": true
},
"horizontalAlignment": {
"type": "LetterheadHorizontalAlignment (enumeration of type string)",
"description": "The horizontal alignment of the header or footer. Valid values are: None Left Center Right"
},
"logo": {
"type": "string",
"description": "The logo which is a reference to a document, for example MyFolder/MyDocument.gif."
},
"verticalAlignment": {
"type": "LetterheadVerticalAlignment (enumeration of type string)",
"description": "The vertical alignment of the header or footer. Valid values are: None Top Middle Bottom"
}
},
"LetterheadLine": {
"color": {
"type": "string",
"description": "The color of the line in hexadecimal format.",
"required": true
},
"height": {
"type": "int",
"description": "The height of the line.",
"required": true
}
}
},
"wsdl_segment": "```xml\n\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n \n\n\n \n \n \n \n \n \n\n\n \n \n \n \n\n\n \n \n \n \n \n \n\n\n \n \n \n\n```",
"declarative_metadata_sample_definition": [
{
"code": "\n\n true\n #CCCCCC\n #33FF33\n \n #3333FF\n 5\n \n INITIAL\n \n \n #FFFFFF\n 100\n Left\n Top\n \n \n #AAAAFF\n 5\n \n SimpleLetterheadLabel\n \n #FF99FF\n 5\n \n"
}
]
}