Skip to main content
GET
List realized-trainings (v2)

Headers

Authorization
string
required

API key. Value must be formatted like so: lucca application={api_key}.

Query Parameters

ownerIds
integer<int32>[]

Filter out realized-trainings by employee ID.

Required range: x >= 1
Example:
hasAttended
boolean

Filter out realized-trainings on whether their employee actually attended. When omitted, all realized-trainings are returned.

sessionEndOnBefore
string<date>

Filter out realized-trainings on their end date (lower).

sessionEndOnAfter
string<date>

Filter out realized-trainings on their end date (greater).

trainingId
integer<int32>[]

Filter out realized-trainings based on the corresponding training.

Required range: x >= 1
fields.root
enum<string>[]

Include the total number of items across all pages, as well as pointers to the previous and next pages.

Available options:
prev,
next,
count
page

Page to retrieve. Either the page index or the page cursor .

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

Pagination: number of items per page.

Required range: 0 <= x <= 100

Response

200 - application/json

OK

items
A new realized-training must refer to a training that is at ready state. Please note that you cannot create two realized-trainings for the same employee with the same trainingId and sessionEndOn · object[]
prev
string | null
next
string | null
count
integer<int32> | null
Required range: x >= 0