Get the full data of a specific email template
Name | Type | Description |
---|---|---|
pkEmailTemplateRowId | Int32 | Id of the email template to retrieve |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/Email/GetEmailTemplate
Connection: keep-alive
Accept: application/json
Content-Type: application/x-www-form-urlencoded; charset=UTF-8
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE
This is an example of the request structure. Results will vary depending on your data.
pkEmailTemplateRowId=1
This is an example of the response JSON. Results will vary depending on your data.
{
"pkEmailTemplateRowId": 1,
"Name": "sample string 2",
"Enabled": true,
"TemplateType": "sample string 3",
"TemplateTypeDefinition": {
"AttachedFileName": "sample string 1",
"AttachmentHelpText": "sample string 2",
"Type": "sample string 3",
"Name": "sample string 4",
"IsAdhoc": true,
"IsDesignerVisible": true,
"ParsableCreator": null,
"Tags": [],
"AttachPDFAvailable": true,
"PrintingTemplateType": "sample string 7"
},
"Subject": "sample string 5",
"Condition": "sample string 6",
"PreviewBeforeGenerating": true,
"HTML": true,
"AttachPDF": true,
"Body": "sample string 10",
"fkEmailAccountRowId": 11
}