POST api/EmployeeDocument

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:
{
  "SL_ID": 1,
  "EMP_ID": 1,
  "DOC_TYPE_ID": 1,
  "DOC_TYPE_NAME": "sample string 2",
  "DOC_NAME": "sample string 3",
  "DOC_NUMBER": "sample string 4",
  "DOC_EXPIRY": "2025-01-11T13:04:59.916589+03:00",
  "ISSUING_CTRY": 1,
  "DOCUMENT": "sample string 5",
  "DOCUMENT_NAME": "sample string 6",
  "DOC_DATE_OF_ISSUE": "2025-01-11T13:04:59.916589+03:00",
  "WF_EMP_ID": 1,
  "ISSUING_CTRY_NAME": "sample string 7"
}

application/xml, text/xml

Sample:
<EmployeeDocument xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.EmployeeProfile">
  <DOCUMENT>sample string 5</DOCUMENT>
  <DOCUMENT_NAME>sample string 6</DOCUMENT_NAME>
  <DOC_DATE_OF_ISSUE>2025-01-11T13:04:59.916589+03:00</DOC_DATE_OF_ISSUE>
  <DOC_EXPIRY>2025-01-11T13:04:59.916589+03:00</DOC_EXPIRY>
  <DOC_NAME>sample string 3</DOC_NAME>
  <DOC_NUMBER>sample string 4</DOC_NUMBER>
  <DOC_TYPE_ID>1</DOC_TYPE_ID>
  <DOC_TYPE_NAME>sample string 2</DOC_TYPE_NAME>
  <EMP_ID>1</EMP_ID>
  <ISSUING_CTRY>1</ISSUING_CTRY>
  <ISSUING_CTRY_NAME>sample string 7</ISSUING_CTRY_NAME>
  <SL_ID>1</SL_ID>
  <WF_EMP_ID>1</WF_EMP_ID>
</EmployeeDocument>

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