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": "f71ac75a-e60e-477a-86eb-7d86b127bfbf",
"Error": "sample string 3",
"Tags": [
{
"Tag": "sample string 1",
"Value": "sample string 2"
}
]
}
],
"URL": "sample string 1",
"IdsProcessed": [
"ce5d346e-7ed0-470d-baf3-729eeb582c78"
],
"ProcessedIds": {
"sample string 1": [
"3e7de51e-a91d-4a48-bae5-dd93b4bb1b92"
]
},
"PageCount": 2,
"PrintErrors": [
"sample string 1"
]
}