POST api/OccupancyType

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:
{
  "OCCUPANY_TYPE_ID": 1,
  "OCCUPANY_TYPE_NAME": "sample string 2",
  "SUITABLE_FOR_OCCUPANCY": true,
  "RES_STATUS": "sample string 3"
}

application/xml, text/xml

Sample:
<OccupancyType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.Resource">
  <OCCUPANY_TYPE_ID>1</OCCUPANY_TYPE_ID>
  <OCCUPANY_TYPE_NAME>sample string 2</OCCUPANY_TYPE_NAME>
  <RES_STATUS>sample string 3</RES_STATUS>
  <SUITABLE_FOR_OCCUPANCY>true</SUITABLE_FOR_OCCUPANCY>
</OccupancyType>

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