PUT api/TrainingDetails/UpdateTRN/{TRAINING_ID}

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
TrainingModel
No documentation available.

Define this parameter in the request body.

TRAINING_ID
No documentation available.

Define this parameter in the request URI.

Request body formats

application/json, text/json

Sample:
{
  "TRAINING_ID": 1,
  "DOC_CODE": "sample string 2",
  "DOC_STATUS": "sample string 3",
  "EMP_EMPLOYEE_CODE": "sample string 4",
  "EMP_EMPLOYEE_ID": 5,
  "TRNG_START_DATE": "2024-12-27T06:22:55.4763571+05:30",
  "TRNG_END_DATE": "2024-12-27T06:22:55.4763571+05:30",
  "code_value": "sample string 8",
  "GetEmployeeT": {
    "EMP_FIRST_NAME": "sample string 1",
    "EMP_EMPLOYEE_ID": 1,
    "EMP_EMPLOYEE_CODE": "sample string 2",
    "DI_District": "sample string 3",
    "desg_name": "sample string 4",
    "EMP_CATEGORY": "sample string 5",
    "EMP_GROUP": "sample string 6",
    "EMP_TYPE": "sample string 7",
    "Department_Name": "sample string 8"
  },
  "TrainingDistrictModel": {
    "DI_Id": 1,
    "DI_District": "sample string 2"
  },
  "DEPND_ID": 9,
  "DI_Id": 10,
  "Doc_Year": "2024-12-27T06:22:55.4763571+05:30",
  "EmpID": 12,
  "DivisionId": 13,
  "TrainingId": 14,
  "CategoryId": 15,
  "Conductedby": "sample string 16",
  "Registration": "sample string 17",
  "Subject": "sample string 18",
  "DOC_UPLOAD_PATH": "sample string 19",
  "Start_Date": "2024-12-27T06:22:55.4763571+05:30",
  "End_Date": "2024-12-27T06:22:55.4763571+05:30",
  "Cretification_Date": "2024-12-27T06:22:55.4763571+05:30",
  "Remarks": "sample string 22",
  "Upload": "sample string 23",
  "Department_Name": "sample string 24",
  "DOC_DATE": "2024-12-27T06:22:55.4763571+05:30",
  "STATUS": "sample string 26",
  "District": "sample string 27",
  "TainingNo": "sample string 28",
  "EMP_FIRST_NAME": "sample string 29",
  "Doc_STATUSs": "sample string 30",
  "COUNTes": 31
}

application/xml, text/xml

Sample:
<TrainingModel xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/KHBWebApi.Models">
  <COUNTes>31</COUNTes>
  <CategoryId>15</CategoryId>
  <Conductedby>sample string 16</Conductedby>
  <Cretification_Date>2024-12-27T06:22:55.4763571+05:30</Cretification_Date>
  <DEPND_ID>9</DEPND_ID>
  <DI_Id>10</DI_Id>
  <DOC_CODE>sample string 2</DOC_CODE>
  <DOC_DATE>2024-12-27T06:22:55.4763571+05:30</DOC_DATE>
  <DOC_STATUS>sample string 3</DOC_STATUS>
  <DOC_UPLOAD_PATH>sample string 19</DOC_UPLOAD_PATH>
  <Department_Name>sample string 24</Department_Name>
  <District>sample string 27</District>
  <DivisionId>13</DivisionId>
  <Doc_STATUSs>sample string 30</Doc_STATUSs>
  <Doc_Year>2024-12-27T06:22:55.4763571+05:30</Doc_Year>
  <EMP_EMPLOYEE_CODE>sample string 4</EMP_EMPLOYEE_CODE>
  <EMP_EMPLOYEE_ID>5</EMP_EMPLOYEE_ID>
  <EMP_FIRST_NAME>sample string 29</EMP_FIRST_NAME>
  <EmpID>12</EmpID>
  <End_Date>2024-12-27T06:22:55.4763571+05:30</End_Date>
  <GetEmployeeT>
    <DI_District>sample string 3</DI_District>
    <Department_Name>sample string 8</Department_Name>
    <EMP_CATEGORY>sample string 5</EMP_CATEGORY>
    <EMP_EMPLOYEE_CODE>sample string 2</EMP_EMPLOYEE_CODE>
    <EMP_EMPLOYEE_ID>1</EMP_EMPLOYEE_ID>
    <EMP_FIRST_NAME>sample string 1</EMP_FIRST_NAME>
    <EMP_GROUP>sample string 6</EMP_GROUP>
    <EMP_TYPE>sample string 7</EMP_TYPE>
    <desg_name>sample string 4</desg_name>
  </GetEmployeeT>
  <Registration>sample string 17</Registration>
  <Remarks>sample string 22</Remarks>
  <STATUS>sample string 26</STATUS>
  <Start_Date>2024-12-27T06:22:55.4763571+05:30</Start_Date>
  <Subject>sample string 18</Subject>
  <TRAINING_ID>1</TRAINING_ID>
  <TRNG_END_DATE>2024-12-27T06:22:55.4763571+05:30</TRNG_END_DATE>
  <TRNG_START_DATE>2024-12-27T06:22:55.4763571+05:30</TRNG_START_DATE>
  <TainingNo>sample string 28</TainingNo>
  <TrainingDistrictModel>
    <DI_District>sample string 2</DI_District>
    <DI_Id>1</DI_Id>
  </TrainingDistrictModel>
  <TrainingId>14</TrainingId>
  <Upload>sample string 23</Upload>
  <code_value>sample string 8</code_value>
</TrainingModel>

application/x-www-form-urlencoded

Sample:

Failed to generate the sample for media type 'application/x-www-form-urlencoded'. Cannot use formatter 'JQueryMvcFormUrlEncodedFormatter' to write type 'TrainingModel'.

Response Information

No documentation available.

Response body formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.