GET
List audits

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
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>
default:LASTMODIFIEDDATE

Sort field.

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

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

Available options:
asc,
desc
status
string

Filter on audit status. Comma-separated for more than one value, matched exactly (case-sensitive) — see Audit.status for the values that occur. Pass completed,Completed to catch every finished audit.

Note: when status is combined with filterRole=RESPONSIBLE, audits with status In Progress are excluded from the result whatever status you pass.

template
string

Filter on source audit template id.

groupid
string

Filter on template group.

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.

filterRole
enum<string>

Only audits where roleMailAddress holds this role. Ignored without roleMailAddress.

Available options:
RESPONSIBLE,
INFORMED,
CONSULTED,
CREATEDBY,
LASTMODIFIEDBY
roleMailAddress
string<email>
rangeFilter
enum<string>

Date field(s) that fromDate/untilDate bound, comma-separated.

Available options:
CREATIONDATE,
LASTMODIFIEDDATE,
COMPLETIONDATE,
DUEDATE
dateFilterType
enum<string>

With several rangeFilter fields, whether all (AND, default) or one (OR) must match.

Available options:
AND,
OR
fromDate
string<date-time>

Lower bound (exclusive) for the rangeFilter field(s).

untilDate
string<date-time>

Upper bound (inclusive) for the rangeFilter field(s).

dateRangeFilter
enum<string>

overdue: only unfinished audits whose due date has passed.

Available options:
overdue
searchByTitle
string
searchByAuditor
string

Matches the name or e-mail address of whoever signed the audit.

searchByDrawings
string

Matches the name of a drawing the audit is linked to.

searchById
string

Quick search over the audit's name, signer, drawings, responsible and the end of its id.

ticketID
string

Only audits in which a question links this ticket.

isTicketExists
boolean
default:false

Only audits in which at least one question links a ticket.

isRecurrent
boolean
default:false

Only recurring audits.

noTags
boolean
default:false

Only audits without any tag.

aggregate
string

Comma-separated index field names to count values of, e.g. status.

Response

Search envelope with Audit 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.