GET
List tickets

Authorizations

Authorization
string
header
required

Obtain a token via POST /api/v1/oauth/token (password grant) and send it as Authorization: Bearer <token>.

Query Parameters

database
string
required

The project to list. Required; a request without it is a 400.

page
integer
default:0

Zero-based page number. page * size may not exceed 10,000.

Required range: x >= 0
size
integer
default:20

Results per page.

Required range: x >= 1
sortby
enum<string>

Sort field, case-insensitive. Applied only together with sortOrder. groupOrMapName sorts by drawing group, then drawing name; groupMapTicketName also by ticket title within a drawing.

Available options:
CREATIONDATE,
LASTMODIFIEDDATE,
COMPLETIONDATE,
DUEDATE,
AUTHOR,
TITLE,
groupOrMapName,
groupMapTicketName
sortOrder
enum<string>

Sort direction. No sort is applied unless both sortby and sortOrder are sent.

Available options:
asc,
desc
status
string

Filter on ticket state. Comma-separated for more than one value, matched exactly (case-sensitive). Pass completed,Completed to catch every finished ticket — see Ticket.state.state.

includeActive
boolean

Include active (not archived) items. Together with includeArchived this replaces archived: when either is sent, archived is ignored. Both true or both false returns active and archived items alike.

includeArchived
boolean

Include archived items. See includeActive.

archived
boolean
default:false

Older switch: true lists only archived items, false (default) only active ones. Ignored when includeActive or includeArchived is sent.

groupId
string

Filter on drawing group id.

mapId
string

Filter on drawing id. Comma-separated for more than one.

ticketId
string

Only these ticket ids. Comma-separated.

auditId
string

Only tickets raised from these audits. Comma-separated.

tag
string

Comma-separated list of tags. Also matches tickets standing on a drawing that carries one of the tags.

tagFilterType
enum<string>

How several tag values combine. Default AND.

Available options:
OR,
AND
noTags
boolean
default:false

Only tickets without any tag (combined with tag under tagFilterType).

progressLabels
string

Comma-separated progress labels.

progressFilterType
enum<string>

How several progressLabels combine. Default AND.

Available options:
OR,
AND
noProgressLabels
boolean
default:false
filterRole
enum<string>

Only tickets where roleMailAddress holds this role. RESPONSIBLE also matches assignees. Ignored without roleMailAddress.

Available options:
RESPONSIBLE,
SUPPORT,
INFORMED,
CONSULTED,
ASSIGNEES,
CREATEDBY,
LASTMODIFIEDBY
roleMailAddress
string<email>

E-mail address for filterRole.

rangeFilter
enum<string>

Date field(s) that fromDate/untilDate bound, case-insensitive, comma-separated. With several fields, dateFilterType decides whether a ticket must match all (AND, default) or one (OR).

Available options:
CREATIONDATE,
LASTMODIFIEDDATE,
COMPLETIONDATE,
DUEDATE
dateFilterType
enum<string>
Available options:
AND,
OR
fromDate
string<date-time>

Lower bound (exclusive) for the rangeFilter field(s); with rangeFilter, a missing bound means "now". Without rangeFilter the range applies to dates.lastModifiedDate, and only when untilDate is sent too — fromDate alone filters nothing.

untilDate
string<date-time>

Upper bound (inclusive). See fromDate.

dateRangeFilter
enum<string>

overdue: only open tickets whose due date has passed. Narrows on top of any date range.

Available options:
overdue
searchByTitle
string
searchByDescription
string
searchByResponsible
string
searchByAssignees
string
searchById
string

Quick search that also matches the end of the ticket id, i.e. the short ticket number shown in the app.

isRecurrent
boolean
default:false

Only recurring tickets.

aggregate
string

Comma-separated index field names to count values of, e.g. state.state or tags. The counts arrive in aggregations as { "state.state": [ { "created": 12 }, { "completed": 3 } ] }. A field that does not exist on tickets fails the request.

Response

Search envelope with Ticket objects in results.

Standard envelope returned by all list and search endpoints.

size
integer

Number of results on this page.

page
integer

Current page (zero-based).

hits
integer

Total number of matching documents.

results
object[]
aggregations
object

Facet counts, present when the aggregate parameter was used.