Generate a PDF preview of a specific template
Name | Type | Description |
---|---|---|
templateId | Int32 | Template id |
The following request format is required for this method.
GET | POST https://eu-ext.linnworks.net/api/PrintService/PrintTemplatePreview
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.
templateId=1
This is an example of the response JSON. Results will vary depending on your data.
{
"KeyedError": [
{
"TemplateType": "sample string 1",
"Id": "280a9eb6-3b86-4f9a-81cc-e5eb6329c964",
"Error": "sample string 3",
"Tags": [
{
"Tag": "sample string 1",
"Value": "sample string 2"
}
]
}
],
"URL": "sample string 1",
"IdsProcessed": [
"157e2596-9931-4874-8484-f10430855722"
],
"ProcessedIds": {
"sample string 1": [
"516fe166-981c-411b-a55e-ac5eaab2573d"
]
},
"PageCount": 2,
"PrintErrors": [
"sample string 1"
]
}