training

Creates new training register

post/training

Request body

idinteger
training_namestring
durationstring
providerstring
departmentstring
status'Planned' | 'In Progress' | 'Completed'
numberOfPeopleinteger
descriptionstring

Example request

{
  "id": 1,
  "training_name": "AI Training",
  "duration": "6 weeks",
  "provider": "Verifywise open source AI governance",
  "department": "Maths Department",
  "numberOfPeople": 10,
  "description": "A training module requiring 6 weeks"
}

Response

create new training register

messagestring

Example response

{
  "message": "Training successfully created",
  "data": {
    "id": 1,
    "training_name": "AI Training",
    "duration": "6 weeks",
    "provider": "Verifywise open source AI governance",
    "department": "Maths Department",
    "numberOfPeople": 10,
    "description": "A training module requiring 6 weeks"
  }
}

Changes