Back

Search

Search

Methods

Inventory

OrderPrintStatus
Orders

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.

Get

Endpoint URL

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

GET https://eu-ext.linnworks.net/api/PrintService/GetTemplateList?templateType=sample%20string%201

Headers

Connection: keep-alive
Accept: application/json
Accept-Encoding: gzip, deflate
Authorization: INSERT_YOUR_TOKEN_HERE

Post

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": "c6cf49c5-9ae8-443a-8aeb-c5a8e2d59e75",
    "TemplateType": "sample string 3",
    "TemplateName": "sample string 4",
    "Enabled": true,
    "IsDefault": true,
    "IsEmailAttachment": true,
    "VisibilityCondition": "sample string 8",
    "bLogicalDelete": true,
    "IsConditional": true,
    "ConditionRating": 0
  }
]