People | Vocational Training
Service to manage entities of type 'VocationalTraining'.
Overview
URL | api/{tenantKey}/{orgKey}/people/vocationalTrainings |
Methods Supported | GET, POST, PUT, DELETE |
All Operations
This service includes the following operations:
-
GET:
- GET VocationalTrainings
- GET VocationalTrainings (paged)
- GET VocationalTraining by identifier
- GET VocationalTraining by key
- GET Print VocationalTraining by identifier
- GET Print VocationalTraining by key
- GET Original Print VocationalTrainingOriginal by identifier
- GET Original Print VocationalTraining by key
- POST:
-
PUT:
- PUT Set IsActive VocationalTraining
- PUT Set VocationalTrainingKey VocationalTraining
- PUT Set Contract VocationalTraining
- PUT Set StartDate VocationalTraining
- PUT Set EndDate VocationalTraining
- PUT Set Duration VocationalTraining
- PUT Set TrainingSchedule VocationalTraining
- PUT Set Designation VocationalTraining
- PUT Set TrainingArea VocationalTraining
- PUT Set TrainingInitiative VocationalTraining
- PUT Set TrainingQualificationLevel VocationalTraining
- PUT Set TrainingEntityType VocationalTraining
- PUT Set TrainingReferencePeriod VocationalTraining
- PUT Set Evaluation VocationalTraining
- PUT Set BenefitAccountType VocationalTraining
- PUT Set Company VocationalTraining
- PUT Set TrainingType VocationalTraining
- PUT Set TrainingEntity VocationalTraining
- PUT Set CertificationType VocationalTraining
- PUT Set IsEditable VocationalTraining
- DELETE:
All Resources
This service uses the following resources:
GET VocationalTrainings
Returns the list of all the entity records available.
Response:
When successful, the response body contains the list of records available. See VocationalTrainingResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET VocationalTrainings (paged)
Returns a page of the list of all the entity records available.
The following elements are optional:
page | (int) The index of the page of the list that should be returned. This is a query string parameter. |
pageSize | (int) The number of page elements that should be returned (max. is 1000). This is a query string parameter. |
Response:
When successful, the response body contains the list of records available. See VocationalTrainingResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
GET VocationalTraining by identifier
Returns the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body contains the entity record. See VocationalTrainingResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET VocationalTraining by key
Returns the entity record that matches the specified key.
The following elements are required:
companyKey | (string) The company key. |
vocationalTrainingKey | (string) Vocational Training. |
Response:
When successful, the response body contains the entity record. See VocationalTrainingResource. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Print VocationalTraining by identifier
Prints the specified entity record.
The following elements are required:
id | (string) The record identifier. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Print VocationalTraining by key
Prints the specified entity record.
The following elements are required:
companyKey | (string) The company key. |
vocationalTrainingKey | (string) Vocational Training. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
GET Original Print VocationalTrainingOriginal by identifier
Prints the specified entity record.
The following elements are required:
id | (string) The record identifier. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
404 | NotFound. The specified resord does not exist. |
Resource URL:
GET Original Print VocationalTraining by key
Prints the specified entity record.
The following elements are required:
companyKey | (string) The company key. |
vocationalTrainingKey | (string) Vocational Training. |
The following elements are optional:
template | (string) The report template that should be used. This is a query string parameter. |
Response:
When successful, the response body contains a stream with the printed file. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
POST VocationalTrainings
Creates a new entity record.
The following elements are required:
vocationalTrainingResource | (ApiVocationalTrainingResource) The request body should contain the entity record that should be created. See ApiVocationalTrainingResource. |
Response:
When successful, the response body contains the new entity record identifier. The resource header location property contains the URL for the new entity record. See ApiVocationalTrainingResource. |
Response status codes:
201 | Created. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set BenefitAccountType VocationalTraining
Updates the value of attribute 'BenefitAccountType' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set CertificationType VocationalTraining
Updates the value of attribute 'CertificationType' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Company VocationalTraining
Updates the value of attribute 'Company' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Contract VocationalTraining
Updates the value of attribute 'Contract' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Designation VocationalTraining
Updates the value of attribute 'Designation' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Duration VocationalTraining
Updates the value of attribute 'Duration' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (decimal) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set EndDate VocationalTraining
Updates the value of attribute 'EndDate' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (DateTime) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set Evaluation VocationalTraining
Updates the value of attribute 'Evaluation' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set IsActive VocationalTraining
Updates the value of attribute 'IsActive' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
PUT Set IsEditable VocationalTraining
Updates the value of attribute 'IsEditable' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (bool) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set StartDate VocationalTraining
Updates the value of attribute 'StartDate' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (DateTime) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TrainingArea VocationalTraining
Updates the value of attribute 'TrainingArea' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TrainingEntity VocationalTraining
Updates the value of attribute 'TrainingEntity' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TrainingEntityType VocationalTraining
Updates the value of attribute 'TrainingEntityType' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TrainingInitiative VocationalTraining
Updates the value of attribute 'TrainingInitiative' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TrainingQualificationLevel VocationalTraining
Updates the value of attribute 'TrainingQualificationLevel' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TrainingReferencePeriod VocationalTraining
Updates the value of attribute 'TrainingReferencePeriod' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TrainingSchedule VocationalTraining
Updates the value of attribute 'TrainingSchedule' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set TrainingType VocationalTraining
Updates the value of attribute 'TrainingType' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
PUT Set VocationalTrainingKey VocationalTraining
Updates the value of attribute 'VocationalTrainingKey' in the specified entity record.
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
companyKey | (string) The company key. |
value | (string) The request body should contain the new value for the attribute. |
Response:
When successful, the response body is empty. |
Response status codes:
200 | OK. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
Resource URL:
DELETE VocationalTraining by identifier
Deletes the entity record that matches the specified identifier.
The following elements are required:
id | (string) The record identifier. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
DELETE VocationalTraining by key
Deletes the entity record that matches the specified key.
The following elements are required:
companyKey | (string) The company key. |
vocationalTrainingKey | (string) Vocational Training. |
Response:
When successful, the response body is empty. |
Response status codes:
204 | Deleted. The operation was completed successfully. |
400 | BadRequest. The request parameters are invalid. |
404 | NotFound. The specified record does not exist. |
Resource URL:
Resources
ApiVocationalTrainingResource
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
contract | (string) Contract. |
startDate | (DateTime) Start Date. |
endDate | (DateTime) End Date. |
duration | (decimal) Duration (in hours). |
trainingSchedule | (string) Training Schedule. |
designation | (string) Designation. |
trainingArea | (string) Training Area. |
trainingInitiative | (string) Training Initiative. |
trainingQualificationLevel | (string) Training Qualification Level. |
trainingEntityType | (string) Training Entity Type. |
trainingReferencePeriod | (string) Training Reference Period. |
company | (string) Company. |
trainingType | (string) Training Type. |
certificationType | (string) Certification Type. |
The following elements are optional:
evaluation | (string) Evaluation. |
benefitAccountType | (string) Benefit Account Type. |
trainingEntity | (string) Training Entity. |
isEditable | (bool) Is Editable. |
VocationalTrainingResource
The following elements are required:
vocationalTrainingKey | (string) Vocational Training. |
contract | (string) Contract.
(fk) Allowed value: the natural key of a record of type Contract. These records are accessibly through the Contracts service. |
startDate | (DateTime) Start Date. |
endDate | (DateTime) End Date. |
duration | (decimal) Duration (in hours). |
trainingSchedule | (string) Training Schedule.
(fk) Allowed value: the natural key of a record of type TrainingSchedule. These records are accessibly through the TrainingSchedules service. |
designation | (string) Designation. |
trainingArea | (string) Training Area.
(fk) Allowed value: the natural key of a record of type TrainingArea. These records are accessibly through the TrainingAreas service. |
trainingInitiative | (string) Training Initiative.
(fk) Allowed value: the natural key of a record of type TrainingInitiative. These records are accessibly through the TrainingInitiatives service. |
trainingQualificationLevel | (string) Training Qualification Level.
(fk) Allowed value: the natural key of a record of type TrainingQualificationLevel. These records are accessibly through the TrainingQualificationLevels service. |
trainingEntityType | (string) Training Entity Type.
(fk) Allowed value: the natural key of a record of type TrainingEntity. These records are accessibly through the TrainingEntities service. |
trainingReferencePeriod | (string) Training Reference Period.
(fk) Allowed value: the natural key of a record of type TrainingReferencePeriod. These records are accessibly through the TrainingReferencePeriods service. |
company | (string) Company.
(fk) Allowed value: the natural key of a record of type Company. |
trainingType | (string) Training Type.
(fk) Allowed value: the natural key of a record of type TrainingType. These records are accessibly through the TrainingTypes service. |
certificationType | (string) Certification Type.
(fk) Allowed value: the natural key of a record of type CertificationType. These records are accessibly through the CertificationTypes service. |
The following elements are optional:
employee | (string) Employee.
(fk) Allowed value: the natural key of a record of type Employee. These records are accessibly through the Employees service. |
evaluation | (string) Evaluation. |
benefitAccountType | (string) Benefit Account Type.
(fk) Allowed value: the natural key of a record of type BenefitAccountType. These records are accessibly through the BenefitAccountTypes service. |
trainingEntity | (string) Training Entity.
(fk) Allowed value: the natural key of a record of type Party. |
isEditable | (bool) Is Editable. |