TicketLayoutTemplateQuery
Set of parameters used to filter ticket layout templates.
More info: see ticket layout template, the getlist operation and the ticket layout templates endpoint.
Fields
Field | Description |
---|---|
typeid int | Only return items with the given typeid. Example value:1 |
filter string | Filter the returned items by specifying a query on the public datamodel that returns the ids. Example value:"SELECT id FROM tm.ticketlayouttemplate WHERE createdts > (now() - INTERVAL '1 year')" |
includearchived bool | If this parameter is true, archived items will be returned as well. Example value:true |
lastupdatesince timestamp | All items that were updated since this timestamp will be returned. Timestamp should be passed in "2014-09-26 15:24:36" |
Example
1{
2 "typeid": 1,
3 "filter": "SELECT id FROM tm.ticketlayouttemplate WHERE createdts > (now() - INTERVAL '1 year')",
4 "includearchived": true,
5 "lastupdatesince": "2014-09-26 15:24:36"
6}