v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Trainings > TrainingMembership

Reads a single Training membership

Reads a single Training membership

get/api/2026-07-01/resources/trainings/training_memberships/{id}

Path parameters

idstring required

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

Response

OK

idstring required

Unique identifier for the training membership.

access_idstring required

Access_id associated to the employee, refers to employees/employees endpoint.

employee_idstring required

Employee_id associated to the employee, refers to employees/employees endpoint.

training_idstring required

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

status'notassigned' | 'notstarted' | 'missing' | 'started' | 'partiallycompleted' | 'completed' required

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

training_due_datestring

This field is used for those trainings with an expiry date.

training_completed_atstring

This field is used to record the date a training was completed for trainings that have an expiry date.

Example response

{
  "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"
}