POST api/ReturnOfTraining

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
objDat
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "RETURN_TRAIN_ID": 1,
  "RETURN_TRAIN_DATE": "2025-01-11T12:48:42.5368157+03:00",
  "TRAIN_REQ_ID": 1,
  "IS_CERT_ISSUED": true,
  "IS_CERT_OBTAINED": true,
  "TRAIN_RESULT": "sample string 2",
  "IS_TRAIN_FULFILLED": true,
  "SUP_COMMENTS": "sample string 3",
  "SUP_STATUS_ID": 1,
  "DM_STATUS_ID": 1,
  "FIRST_NAME": "sample string 4",
  "LAST_NAME": "sample string 5",
  "JOB_TITLE_NAME": "sample string 6",
  "NATIONALITY_NAME": "sample string 7",
  "DATE_OF_BIRTH": "2025-01-11T12:48:42.5368157+03:00",
  "FILE_NO": 1,
  "CPR_APPOINT_ID": 1,
  "TRAIN_NAME": "sample string 8",
  "PREF_TRAIN_INSTITUTE": "sample string 9",
  "REASON": "sample string 10",
  "NO_OF_HOURS": 1.0,
  "STATUS_NAME": "sample string 11",
  "CPR_NO": "sample string 12",
  "DOC_UPLOAD": "sample string 13",
  "TRAIN_FIELD_NAME": "sample string 14",
  "STATUS_ID": 1,
  "LINE_MANAGER_EMP_ID": 1
}

application/xml, text/xml

Sample:
<ReturnOfTraining xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.MyTraining">
  <CPR_APPOINT_ID>1</CPR_APPOINT_ID>
  <CPR_NO>sample string 12</CPR_NO>
  <DATE_OF_BIRTH>2025-01-11T12:48:42.5368157+03:00</DATE_OF_BIRTH>
  <DM_STATUS_ID>1</DM_STATUS_ID>
  <DOC_UPLOAD>sample string 13</DOC_UPLOAD>
  <FILE_NO>1</FILE_NO>
  <FIRST_NAME>sample string 4</FIRST_NAME>
  <IS_CERT_ISSUED>true</IS_CERT_ISSUED>
  <IS_CERT_OBTAINED>true</IS_CERT_OBTAINED>
  <IS_TRAIN_FULFILLED>true</IS_TRAIN_FULFILLED>
  <JOB_TITLE_NAME>sample string 6</JOB_TITLE_NAME>
  <LAST_NAME>sample string 5</LAST_NAME>
  <LINE_MANAGER_EMP_ID>1</LINE_MANAGER_EMP_ID>
  <NATIONALITY_NAME>sample string 7</NATIONALITY_NAME>
  <NO_OF_HOURS>1</NO_OF_HOURS>
  <PREF_TRAIN_INSTITUTE>sample string 9</PREF_TRAIN_INSTITUTE>
  <REASON>sample string 10</REASON>
  <RETURN_TRAIN_DATE>2025-01-11T12:48:42.5368157+03:00</RETURN_TRAIN_DATE>
  <RETURN_TRAIN_ID>1</RETURN_TRAIN_ID>
  <STATUS_ID>1</STATUS_ID>
  <STATUS_NAME>sample string 11</STATUS_NAME>
  <SUP_COMMENTS>sample string 3</SUP_COMMENTS>
  <SUP_STATUS_ID>1</SUP_STATUS_ID>
  <TRAIN_FIELD_NAME>sample string 14</TRAIN_FIELD_NAME>
  <TRAIN_NAME>sample string 8</TRAIN_NAME>
  <TRAIN_REQ_ID>1</TRAIN_REQ_ID>
  <TRAIN_RESULT>sample string 2</TRAIN_RESULT>
</ReturnOfTraining>

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 'ReturnOfTraining'.