v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Trainings > TrainingMembership

Reads all Training memberships

Reads all Training memberships

get/api/2026-07-01/resources/trainings/training_memberships

Query parameters

training_idstring

This field is used to filter those trainings memberships that belongs to this training.

Example:1

This field is used to filter those trainings memberships that belongs to this training.

ids[]string[]

This field is used to filter those trainings memberships whose id match with the given.

This field is used to filter those trainings memberships whose id match with the given.

[
  "1"
]
searchstring

This field is used to filter those trainings memberships whose employee name include some of the text written.

Example:Jane

This field is used to filter those trainings memberships whose employee name include some of the text written.

team_idstring

This field is used to filter those memberships whose employees belongs to this team.

Example:1

This field is used to filter those memberships whose employees belongs to this team.

statusstring

This field is used to filter those trainings memberships whose attendance status is the given.

Example:notstarted

This field is used to filter those trainings memberships whose attendance status is the given.

class_idstring

This field is used to filter those trainings memberships whose employees belongs to this group.

Example:1

This field is used to filter those trainings memberships whose employees belongs to this group.

employee_idstring

Get the training memberships by passing the employee id

Example:20

Get the training memberships by passing the employee id

due_datestring required

This field is used to filter training memberships by due date. Values can be 'overdue', 'no_due_date', or a number of days (e.g., '7', '30', '90').

Example:7

This field is used to filter training memberships by due date. Values can be 'overdue', 'no_due_date', or a number of days (e.g., '7', '30', '90').

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "access_id": "20",
      "employee_id": "20",
      "training_id": "1",
      "status": "notstarted",
      "training_due_date": "2022-01-01",
      "training_completed_at": "2022-01-01"
    }
  ]
}