Trainings > TrainingClass

Reads all Training classes

Changed on

Reads all Training classes

get/api/2026-10-01/resources/trainings/training_classes

Request

  • Base URL
    https://api.factorialhr.com
  • URL
    https://api.factorialhr.com/api/2026-10-01/resources/trainings/training_classes
  • Auth
    • OAuth 2
      Authorization code: https://id.factorialhr.com/oauth/authorize
      Token URL: https://id.factorialhr.com/api/oauth/token scopes: trainings
    • or API key in header x-api-key

Query parameters

ids[]string[]

Filter those training classes whose id match with the given.

idstring

Get a specific training class.

training_idstring

Get training classes for the specified training.

searchstring

This field is used to search in the training class name.

start_date[]string[]

Field those classes that start on the given date.

end_date[]string[]

Filter those classes that end on the given date.

Response

OK

Example response

{
  "data": [
    {
      "id": "1",
      "training_id": "1",
      "name": "Edition 25",
      "description": "This is the group for the year 2025 edition",
      "start_date": "2025-03-24",
      "end_date": "2025-03-28",
      "cost": "100.0",
      "indirect_cost": "30.0",
      "salary_cost": "60.0",
      "subsidized_cost": "50.0",
      "gross_cost": "190.0",
      "net_cost": "140.0",
      "completed_attendances_count": 10,
      "total_attendances_count": 15,
      "payment_status": "pending",
      "currency": "EUR",
      "created_at": "2025-03-24T10:00:00.000Z"
    }
  ]
}

Changes