Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

ShippingService

PrintService /GetTemplateList

Allows 150 calls per minute

Response: List<TemplateHeader>



Get list of templates for a specific type

Parameters

NameTypeDescription
templateTypeStringThe template type to load (e.g. Warehouse Transfer). Empty body will return them all

Example Request

The following request format is required for this method.

Endpoint URL

POST https://eu-ext.linnworks.net/api/PrintService/GetTemplateList

Headers

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

Request Body

This is an example of the request structure. Results will vary depending on your data.

templateType=sample string 1

Response

This is an example of the response JSON. Results will vary depending on your data.

[
  {
    "pkTemplateRowId": 1,
    "TemplateId": "2229b70d-4ee8-423d-b2ba-925193f229aa",
    "TemplateType": "sample string 3",
    "TemplateName": "sample string 4",
    "Enabled": true,
    "IsDefault": true,
    "IsEmailAttachment": true,
    "VisibilityCondition": "sample string 8",
    "bLogicalDelete": true,
    "IsConditional": true,
    "ConditionRating": 0
  }
]