POST api/HRSaveTraining
Documentation for 'Post'.
Request Information
Request body formats
application/json, text/json
Sample:
{
"IsNew": true,
"TrainingDetails": {
"ORIG_HASH": "sample string 1",
"CustomFieldList": [
{
"EntityName": "sample string 1",
"FieldName": "sample string 2",
"Value": "sample string 3",
"Label": "sample string 4",
"FieldType": "sample string 5"
},
{
"EntityName": "sample string 1",
"FieldName": "sample string 2",
"Value": "sample string 3",
"Label": "sample string 4",
"FieldType": "sample string 5"
},
{
"EntityName": "sample string 1",
"FieldName": "sample string 2",
"Value": "sample string 3",
"Label": "sample string 4",
"FieldType": "sample string 5"
}
],
"COMPANY_CODE": "sample string 2",
"EMP_NUM": "sample string 3",
"TRAIN_ID": 4,
"TRAIN_DATE": "2026-05-28T10:50:47.4025195-07:00",
"TRAIN_EXPIRY_DATE": "2026-05-28T10:50:47.4025195-07:00",
"TRAIN_DESC": "sample string 5",
"PATH_CODE": "sample string 6",
"TRAIN_CODE": "sample string 7",
"TRAIN_SCHOOL": "sample string 8",
"TRAIN_DEGREE": "sample string 9",
"TRAIN_LENGTH": "sample string 10",
"TRAIN_COST": 1.0,
"TRAIN_CERT": "sample string 11",
"INS_USER": "sample string 12",
"INS_DATE": "2026-05-28T10:50:47.4025195-07:00",
"UPD_USER": "sample string 14",
"UPD_DATE": "2026-05-28T10:50:47.4025195-07:00",
"TRAIN_STAT_CODE": "sample string 16",
"TRAIN_RESULT_CODE": "sample string 17"
}
}
Response Information
Response body formats
application/json, text/json
Sample:
{
"TrainID": 1,
"ApiResult": {
"Success": true,
"Warnings": true,
"Description": "sample string 3",
"WarningMessages": [
"sample string 1",
"sample string 2",
"sample string 3"
],
"NotificationErrorMessages": "sample string 4"
}
}