POST api/Visit

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:
{
  "VISIT_ID": 1,
  "VISITOR_ID": 1,
  "VC_ID": 1,
  "NO_OF_PEOPLE": 1,
  "DEP_ID": 1,
  "EMP_ID": 1,
  "SWIPE_IN": "2025-01-11T12:47:19.6268799+03:00",
  "SWIPE_OUT": "2025-01-11T12:47:19.6268799+03:00",
  "CREATE_DATE": "2025-01-11T12:47:19.6268799+03:00",
  "CREATE_USER": 1,
  "UPDATE_DATE": "2025-01-11T12:47:19.6268799+03:00",
  "UPDATE_USER": 1,
  "RESET_CARD": true,
  "VC_NAME": "sample string 1",
  "VISITOR_NAME": "sample string 2",
  "COMP_NAME": "sample string 3",
  "CPR": "sample string 4",
  "POSITION": "sample string 5",
  "PH_NO": "sample string 6",
  "isNew": true,
  "VC_STATUS": true,
  "DEP_NAME": "sample string 9",
  "EMP_NAME": "sample string 10"
}

application/xml, text/xml

Sample:
<Visit xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Attendance">
  <COMP_NAME>sample string 3</COMP_NAME>
  <CPR>sample string 4</CPR>
  <CREATE_DATE>2025-01-11T12:47:19.6268799+03:00</CREATE_DATE>
  <CREATE_USER>1</CREATE_USER>
  <DEP_ID>1</DEP_ID>
  <DEP_NAME>sample string 9</DEP_NAME>
  <EMP_ID>1</EMP_ID>
  <EMP_NAME>sample string 10</EMP_NAME>
  <NO_OF_PEOPLE>1</NO_OF_PEOPLE>
  <PH_NO>sample string 6</PH_NO>
  <POSITION>sample string 5</POSITION>
  <RESET_CARD>true</RESET_CARD>
  <SWIPE_IN>2025-01-11T12:47:19.6268799+03:00</SWIPE_IN>
  <SWIPE_OUT>2025-01-11T12:47:19.6268799+03:00</SWIPE_OUT>
  <UPDATE_DATE>2025-01-11T12:47:19.6268799+03:00</UPDATE_DATE>
  <UPDATE_USER>1</UPDATE_USER>
  <VC_ID>1</VC_ID>
  <VC_NAME>sample string 1</VC_NAME>
  <VC_STATUS>true</VC_STATUS>
  <VISITOR_ID>1</VISITOR_ID>
  <VISITOR_NAME>sample string 2</VISITOR_NAME>
  <VISIT_ID>1</VISIT_ID>
  <isNew>true</isNew>
</Visit>

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