POST api/StaffAccommondationOccupantsListReport

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:
{
  "RecordFormat": "sample string 1",
  "Accommondation_Id": 1,
  "FlatID": "sample string 2",
  "RoomID": "sample string 3",
  "AccPremisesLeaseAgreement": [
    {
      "PREMISE_LEASE_ID": 1,
      "PREMISE_LEASE_CODE": "sample string 1",
      "PREMISE_CAT_ID": 1,
      "PREMISE_ACC_NAME": "sample string 2",
      "EMP_ID": 1,
      "PREMISE_LANDLORD_NAME": "sample string 3",
      "PREMISE_RENT": 1.0,
      "LEASE_STARTS": "2025-01-11T13:08:07.0157327+03:00",
      "LEASE_EXPIRY": "2025-01-11T13:08:07.0157327+03:00",
      "AUTO_RENEWAL": true,
      "NOTICE_PERIOD": 1.0,
      "DOCUMENT": "sample string 4",
      "FLAT_NO": "sample string 5",
      "BUILD_NO": "sample string 6",
      "ROAD_NO": "sample string 7",
      "BLOCK_NO": "sample string 8",
      "AREA": "sample string 9",
      "PO_BOX_NO": "sample string 10",
      "CTRY_ID": 1,
      "RES_STATUS": "sample string 11",
      "MAX_ACTUAL_CAPACITY": 1.0,
      "IS_INV_ITEM_AVAIL": true,
      "FIRST_NAME": "sample string 12",
      "FILE_NO": 1,
      "PREMISE_CAT_NAME": "sample string 13"
    },
    {
      "PREMISE_LEASE_ID": 1,
      "PREMISE_LEASE_CODE": "sample string 1",
      "PREMISE_CAT_ID": 1,
      "PREMISE_ACC_NAME": "sample string 2",
      "EMP_ID": 1,
      "PREMISE_LANDLORD_NAME": "sample string 3",
      "PREMISE_RENT": 1.0,
      "LEASE_STARTS": "2025-01-11T13:08:07.0157327+03:00",
      "LEASE_EXPIRY": "2025-01-11T13:08:07.0157327+03:00",
      "AUTO_RENEWAL": true,
      "NOTICE_PERIOD": 1.0,
      "DOCUMENT": "sample string 4",
      "FLAT_NO": "sample string 5",
      "BUILD_NO": "sample string 6",
      "ROAD_NO": "sample string 7",
      "BLOCK_NO": "sample string 8",
      "AREA": "sample string 9",
      "PO_BOX_NO": "sample string 10",
      "CTRY_ID": 1,
      "RES_STATUS": "sample string 11",
      "MAX_ACTUAL_CAPACITY": 1.0,
      "IS_INV_ITEM_AVAIL": true,
      "FIRST_NAME": "sample string 12",
      "FILE_NO": 1,
      "PREMISE_CAT_NAME": "sample string 13"
    },
    {
      "PREMISE_LEASE_ID": 1,
      "PREMISE_LEASE_CODE": "sample string 1",
      "PREMISE_CAT_ID": 1,
      "PREMISE_ACC_NAME": "sample string 2",
      "EMP_ID": 1,
      "PREMISE_LANDLORD_NAME": "sample string 3",
      "PREMISE_RENT": 1.0,
      "LEASE_STARTS": "2025-01-11T13:08:07.0157327+03:00",
      "LEASE_EXPIRY": "2025-01-11T13:08:07.0157327+03:00",
      "AUTO_RENEWAL": true,
      "NOTICE_PERIOD": 1.0,
      "DOCUMENT": "sample string 4",
      "FLAT_NO": "sample string 5",
      "BUILD_NO": "sample string 6",
      "ROAD_NO": "sample string 7",
      "BLOCK_NO": "sample string 8",
      "AREA": "sample string 9",
      "PO_BOX_NO": "sample string 10",
      "CTRY_ID": 1,
      "RES_STATUS": "sample string 11",
      "MAX_ACTUAL_CAPACITY": 1.0,
      "IS_INV_ITEM_AVAIL": true,
      "FIRST_NAME": "sample string 12",
      "FILE_NO": 1,
      "PREMISE_CAT_NAME": "sample string 13"
    }
  ]
}

application/xml, text/xml

Sample:
<StaffAccommodationOccupantsRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipApi.Models.PremisesManagement">
  <AccPremisesLeaseAgreement>
    <AccPremisesLeaseAgreement>
      <AREA>sample string 9</AREA>
      <AUTO_RENEWAL>true</AUTO_RENEWAL>
      <BLOCK_NO>sample string 8</BLOCK_NO>
      <BUILD_NO>sample string 6</BUILD_NO>
      <CTRY_ID>1</CTRY_ID>
      <DOCUMENT>sample string 4</DOCUMENT>
      <EMP_ID>1</EMP_ID>
      <FILE_NO>1</FILE_NO>
      <FIRST_NAME>sample string 12</FIRST_NAME>
      <FLAT_NO>sample string 5</FLAT_NO>
      <IS_INV_ITEM_AVAIL>true</IS_INV_ITEM_AVAIL>
      <LEASE_EXPIRY>2025-01-11T13:08:07.0157327+03:00</LEASE_EXPIRY>
      <LEASE_STARTS>2025-01-11T13:08:07.0157327+03:00</LEASE_STARTS>
      <MAX_ACTUAL_CAPACITY>1</MAX_ACTUAL_CAPACITY>
      <NOTICE_PERIOD>1</NOTICE_PERIOD>
      <PO_BOX_NO>sample string 10</PO_BOX_NO>
      <PREMISE_ACC_NAME>sample string 2</PREMISE_ACC_NAME>
      <PREMISE_CAT_ID>1</PREMISE_CAT_ID>
      <PREMISE_CAT_NAME>sample string 13</PREMISE_CAT_NAME>
      <PREMISE_LANDLORD_NAME>sample string 3</PREMISE_LANDLORD_NAME>
      <PREMISE_LEASE_CODE>sample string 1</PREMISE_LEASE_CODE>
      <PREMISE_LEASE_ID>1</PREMISE_LEASE_ID>
      <PREMISE_RENT>1</PREMISE_RENT>
      <RES_STATUS>sample string 11</RES_STATUS>
      <ROAD_NO>sample string 7</ROAD_NO>
    </AccPremisesLeaseAgreement>
    <AccPremisesLeaseAgreement>
      <AREA>sample string 9</AREA>
      <AUTO_RENEWAL>true</AUTO_RENEWAL>
      <BLOCK_NO>sample string 8</BLOCK_NO>
      <BUILD_NO>sample string 6</BUILD_NO>
      <CTRY_ID>1</CTRY_ID>
      <DOCUMENT>sample string 4</DOCUMENT>
      <EMP_ID>1</EMP_ID>
      <FILE_NO>1</FILE_NO>
      <FIRST_NAME>sample string 12</FIRST_NAME>
      <FLAT_NO>sample string 5</FLAT_NO>
      <IS_INV_ITEM_AVAIL>true</IS_INV_ITEM_AVAIL>
      <LEASE_EXPIRY>2025-01-11T13:08:07.0157327+03:00</LEASE_EXPIRY>
      <LEASE_STARTS>2025-01-11T13:08:07.0157327+03:00</LEASE_STARTS>
      <MAX_ACTUAL_CAPACITY>1</MAX_ACTUAL_CAPACITY>
      <NOTICE_PERIOD>1</NOTICE_PERIOD>
      <PO_BOX_NO>sample string 10</PO_BOX_NO>
      <PREMISE_ACC_NAME>sample string 2</PREMISE_ACC_NAME>
      <PREMISE_CAT_ID>1</PREMISE_CAT_ID>
      <PREMISE_CAT_NAME>sample string 13</PREMISE_CAT_NAME>
      <PREMISE_LANDLORD_NAME>sample string 3</PREMISE_LANDLORD_NAME>
      <PREMISE_LEASE_CODE>sample string 1</PREMISE_LEASE_CODE>
      <PREMISE_LEASE_ID>1</PREMISE_LEASE_ID>
      <PREMISE_RENT>1</PREMISE_RENT>
      <RES_STATUS>sample string 11</RES_STATUS>
      <ROAD_NO>sample string 7</ROAD_NO>
    </AccPremisesLeaseAgreement>
    <AccPremisesLeaseAgreement>
      <AREA>sample string 9</AREA>
      <AUTO_RENEWAL>true</AUTO_RENEWAL>
      <BLOCK_NO>sample string 8</BLOCK_NO>
      <BUILD_NO>sample string 6</BUILD_NO>
      <CTRY_ID>1</CTRY_ID>
      <DOCUMENT>sample string 4</DOCUMENT>
      <EMP_ID>1</EMP_ID>
      <FILE_NO>1</FILE_NO>
      <FIRST_NAME>sample string 12</FIRST_NAME>
      <FLAT_NO>sample string 5</FLAT_NO>
      <IS_INV_ITEM_AVAIL>true</IS_INV_ITEM_AVAIL>
      <LEASE_EXPIRY>2025-01-11T13:08:07.0157327+03:00</LEASE_EXPIRY>
      <LEASE_STARTS>2025-01-11T13:08:07.0157327+03:00</LEASE_STARTS>
      <MAX_ACTUAL_CAPACITY>1</MAX_ACTUAL_CAPACITY>
      <NOTICE_PERIOD>1</NOTICE_PERIOD>
      <PO_BOX_NO>sample string 10</PO_BOX_NO>
      <PREMISE_ACC_NAME>sample string 2</PREMISE_ACC_NAME>
      <PREMISE_CAT_ID>1</PREMISE_CAT_ID>
      <PREMISE_CAT_NAME>sample string 13</PREMISE_CAT_NAME>
      <PREMISE_LANDLORD_NAME>sample string 3</PREMISE_LANDLORD_NAME>
      <PREMISE_LEASE_CODE>sample string 1</PREMISE_LEASE_CODE>
      <PREMISE_LEASE_ID>1</PREMISE_LEASE_ID>
      <PREMISE_RENT>1</PREMISE_RENT>
      <RES_STATUS>sample string 11</RES_STATUS>
      <ROAD_NO>sample string 7</ROAD_NO>
    </AccPremisesLeaseAgreement>
  </AccPremisesLeaseAgreement>
  <Accommondation_Id>1</Accommondation_Id>
  <FlatID>sample string 2</FlatID>
  <RecordFormat>sample string 1</RecordFormat>
  <RoomID>sample string 3</RoomID>
</StaffAccommodationOccupantsRequest>

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