Skip to content

Get Templates

Get a list (or subset) of Templates belonging to an Organization. The maximum search range is seven days.

Verb POST
Endpoint {base-url}/templates/
Max Page Size 1000

Request body

{
  "requestFilter": {
    "organizationIds": [1]
  },
  "routeFilter": {
    "templateIds": [1, 2, 3],
    "templateGroupIds": [1]
  }
}

Filters Honored

Returns

On Success

The requested set of templates.

Response body

[
  {
    "id": 391,
    "organizationId": 1,
    "name": "Lunch Room Template",
    "comment": "Standard selections for the lunch room machine",
    "count": 24,
    "createdAt": "2021-08-13T14:11:39.41"
  }
]