PUT api/TrainingRequest/{id}
No documentation available.
Request Information
Parameters
Name | Description | Additional information |
---|---|---|
id | No documentation available. |
Define this parameter in the request URI. |
objDat | No documentation available. |
Define this parameter in the request body. |
Request body formats
application/json, text/json
Sample:
{ "TRAIN_REQ_ID": 1, "TRAIN_REQ_CODE": "sample string 2", "TRAIN_REQ_DATE": "2025-01-11T13:03:00.8883697+03:00", "TRAIN_NAME": "sample string 3", "EMP_ID": 1, "TRAIN_FIELD_ID": 1, "REASON": "sample string 4", "PREF_TRAIN_SCH_FROM": "2025-01-11T13:03:00.8883697+03:00", "PREF_TRAIN_SCH_TO": "2025-01-11T13:03:00.8883697+03:00", "PREF_TRAIN_INSTITUTE": "sample string 5", "HR_COMMENTS": "sample string 6", "TRAIN_COST": 1.0, "ACTUAL_TRAIN_DATE": "2025-01-11T13:03:00.8883697+03:00", "ACTUAL_TRAIN_END_DATE": "2025-01-11T13:03:00.8883697+03:00", "NO_OF_HOURS": 1.0, "RATE_PER_HOUR": 1.0, "ASS_TRAIN_COST": 1.0, "STATUS_ID": 1, "LM_COMMENTS": "sample string 7", "SU_COMMENTS": "sample string 8", "LM_STATUS_ID": 1, "SU_STATUS_ID": 1, "TOTAL_COST": 1.0, "HOURLY_COST": 1.0, "FIRST_NAME": "sample string 9", "LAST_NAME": "sample string 10", "JOB_TITLE_NAME": "sample string 11", "TRAIN_FIELD_NAME": "sample string 12", "NATIONALITY_NAME": "sample string 13", "DATE_OF_BIRTH": "2025-01-11T13:03:00.8883697+03:00", "FILE_NO": 1, "CPR_APPOINT_ID": 1, "STATUS_NAME": "sample string 14", "APPROVER_ID": 1, "APPROVER_COMMENTS": "sample string 15", "APPROVER_STATUS_ID": 1, "WORK_FLOW_ID": 1, "APPROVER_TYPE": "sample string 16", "APPROVER_IS_SUPER_POWER": true, "TRAINING_STATUS": 1, "ACTUAL_TRAIN_INSTITUTE": "sample string 17" }
application/xml, text/xml
Sample:
<TrainingRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.MyTraining"> <ACTUAL_TRAIN_DATE>2025-01-11T13:03:00.8883697+03:00</ACTUAL_TRAIN_DATE> <ACTUAL_TRAIN_END_DATE>2025-01-11T13:03:00.8883697+03:00</ACTUAL_TRAIN_END_DATE> <ACTUAL_TRAIN_INSTITUTE>sample string 17</ACTUAL_TRAIN_INSTITUTE> <APPROVER_COMMENTS>sample string 15</APPROVER_COMMENTS> <APPROVER_ID>1</APPROVER_ID> <APPROVER_IS_SUPER_POWER>true</APPROVER_IS_SUPER_POWER> <APPROVER_STATUS_ID>1</APPROVER_STATUS_ID> <APPROVER_TYPE>sample string 16</APPROVER_TYPE> <ASS_TRAIN_COST>1</ASS_TRAIN_COST> <CPR_APPOINT_ID>1</CPR_APPOINT_ID> <DATE_OF_BIRTH>2025-01-11T13:03:00.8883697+03:00</DATE_OF_BIRTH> <EMP_ID>1</EMP_ID> <FILE_NO>1</FILE_NO> <FIRST_NAME>sample string 9</FIRST_NAME> <HOURLY_COST>1</HOURLY_COST> <HR_COMMENTS>sample string 6</HR_COMMENTS> <JOB_TITLE_NAME>sample string 11</JOB_TITLE_NAME> <LAST_NAME>sample string 10</LAST_NAME> <LM_COMMENTS>sample string 7</LM_COMMENTS> <LM_STATUS_ID>1</LM_STATUS_ID> <NATIONALITY_NAME>sample string 13</NATIONALITY_NAME> <NO_OF_HOURS>1</NO_OF_HOURS> <PREF_TRAIN_INSTITUTE>sample string 5</PREF_TRAIN_INSTITUTE> <PREF_TRAIN_SCH_FROM>2025-01-11T13:03:00.8883697+03:00</PREF_TRAIN_SCH_FROM> <PREF_TRAIN_SCH_TO>2025-01-11T13:03:00.8883697+03:00</PREF_TRAIN_SCH_TO> <RATE_PER_HOUR>1</RATE_PER_HOUR> <REASON>sample string 4</REASON> <STATUS_ID>1</STATUS_ID> <STATUS_NAME>sample string 14</STATUS_NAME> <SU_COMMENTS>sample string 8</SU_COMMENTS> <SU_STATUS_ID>1</SU_STATUS_ID> <TOTAL_COST>1</TOTAL_COST> <TRAINING_STATUS>1</TRAINING_STATUS> <TRAIN_COST>1</TRAIN_COST> <TRAIN_FIELD_ID>1</TRAIN_FIELD_ID> <TRAIN_FIELD_NAME>sample string 12</TRAIN_FIELD_NAME> <TRAIN_NAME>sample string 3</TRAIN_NAME> <TRAIN_REQ_CODE>sample string 2</TRAIN_REQ_CODE> <TRAIN_REQ_DATE>2025-01-11T13:03:00.8883697+03:00</TRAIN_REQ_DATE> <TRAIN_REQ_ID>1</TRAIN_REQ_ID> <WORK_FLOW_ID>1</WORK_FLOW_ID> </TrainingRequest>
application/x-www-form-urlencoded
Sample: