GET
/
v2
/
training-demands

Query Parameters

ownerId
integer

Identifier of the employee that should attend this training session.

Required range: x > 1
sessionId
integer

Identifier of the training session

Required range: x > 1
states
enum<string>[]

Only retrieve training-demands at one of the given states.

Available options:
Invalid,
Requested,
Registered,
Realized
trainingId
integer

Identifier of the training.

hasSession
boolean

A session is planned for this training. Omit this parameter in order to retrieve all training demands, whether a session is planned or not.

ownerDepartmentId
integer[]

Only retrieve training-demands for employeesthat currently belong to one of the liste of departments IDs.

ownerEstablishmentId
integer[]

Only retrieve training-demands for employeesthat currently have a work-contract with one of the listed establishment IDs.

priorizationLevel
integer[]

Only retrieve training-demands that were given one of the listed priority levels.

limit
integer
default: 20

Pagination: number of items per page. @TODO: check maximum value

Required range: 0 < x < 100
page

Page to retrieve. Either the page index <int> or the page cursor <string>.

Required range: x > 0
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
sort
enum<string>[]

Sort items by one of their property. Syntax is:

<sort>                  ::= '-|+'? <property> ( ',' <property> )*
<property>              ::= <strictString> ( '.' <strictString> )*
<strictString>          ::= ( <char> | <digit> | '_' | '-' )+            
Available options:
prioritization.level,
+prioritization.level,
-prioritization.level,
createdAt,
+createdAt,
-createdAt

Response

200 - application/json
items
object[]
count
integer | null

Total number of items across all pages. You need to include ?fields.root=count to your request to retrieve this.

Required range: x > 0
prev
string | null

Cursor to the previous page. You need to include ?fields.root=prev in order to retrieve this.

next
string | null

Cursor to the next page. You need to include ?fields.root=next in order to retrieve this.