POST api/EmployeePremises

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,
  "FIRST_NAME": "sample string 2",
  "LAST_NAME": "sample string 3",
  "PREMISE_LEASE_ID": 1,
  "FLOOR_PLAN_ID": 1,
  "PREMISE_ACC_NAME": "sample string 4",
  "FLOOR_NO": "sample string 5",
  "FLAT_NO": "sample string 6",
  "ROOM_NO": "sample string 7",
  "MAX_CAPACITY": 1.0,
  "AVAIL": 1.0,
  "OCCUPIED": 1.0,
  "RES_STATUS": "sample string 8",
  "DEALLOC_REASON_ID": 1,
  "DEALLOC_REASON_NAME": "sample string 9",
  "ALLOCATED_DATE": "2025-01-11T12:53:14.6889399+03:00",
  "DEALLOCATED_DATE": "2025-01-11T12:53:14.6889399+03:00",
  "IS_ALLOCATED": true,
  "MAX_PERSON_PER_ROOM": 1,
  "FILE_NO": 1
}

application/xml, text/xml

Sample:
<EmployeePremises xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.PremisesManagement">
  <ALLOCATED_DATE>2025-01-11T12:53:14.6889399+03:00</ALLOCATED_DATE>
  <AVAIL>1</AVAIL>
  <DEALLOCATED_DATE>2025-01-11T12:53:14.6889399+03:00</DEALLOCATED_DATE>
  <DEALLOC_REASON_ID>1</DEALLOC_REASON_ID>
  <DEALLOC_REASON_NAME>sample string 9</DEALLOC_REASON_NAME>
  <EMP_ID>1</EMP_ID>
  <FILE_NO>1</FILE_NO>
  <FIRST_NAME>sample string 2</FIRST_NAME>
  <FLAT_NO>sample string 6</FLAT_NO>
  <FLOOR_NO>sample string 5</FLOOR_NO>
  <FLOOR_PLAN_ID>1</FLOOR_PLAN_ID>
  <IS_ALLOCATED>true</IS_ALLOCATED>
  <LAST_NAME>sample string 3</LAST_NAME>
  <MAX_CAPACITY>1</MAX_CAPACITY>
  <MAX_PERSON_PER_ROOM>1</MAX_PERSON_PER_ROOM>
  <OCCUPIED>1</OCCUPIED>
  <PREMISE_ACC_NAME>sample string 4</PREMISE_ACC_NAME>
  <PREMISE_LEASE_ID>1</PREMISE_LEASE_ID>
  <RES_STATUS>sample string 8</RES_STATUS>
  <ROOM_NO>sample string 7</ROOM_NO>
  <SL_ID>1</SL_ID>
</EmployeePremises>

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