v1

latestOpenAPI 3.1.02026-07-26549156879.0 KB
Trainings > TrainingClass

Deletes a Training class

Deletes a Training class

delete/api/2026-07-01/resources/trainings/training_classes/{id}

Path parameters

idstring required

Identifier of the training class to delete

Response

OK

idstring required

Identifier of the training to which the class belongs to

training_idstring required

Identifier of the course

namestring required

Class name

descriptionstring

Class description

start_datestring

Traning class start date

end_datestring

Traning class end date

coststring required

Training-related expenses, such as instructor fees, materials, venue, and logistics.

indirect_coststring required

General business expenses related to training, such as utilities and administrative fees.

salary_coststring required

Cost of all employees' time spent on the course.

subsidized_coststring required

Amount of training expenses covered by financial aid or grants for this group.

gross_coststring required

Total cost before subsidies, calculated as the sum of cost, indirect_cost, and salary_cost.

net_coststring required

Final cost after subsidies, calculated as gross_cost minus subsidized_cost.

completed_attendances_countinteger required

Number of completed session attendances in this group.

total_attendances_countinteger required

Total number of session attendances expected in this group.

payment_status'paid' | 'pending'

Payment status of the cost of training class.

currencystring required

Currency of the training class

created_atstring required

Date and time when the training class was created

Example response

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