POST api/AccomodationInventory/DeleteInventory

No documentation available.

Request Information

Parameters

NameDescriptionAdditional information
accomodationInventoryDOT
No documentation available.

Define this parameter in the request body.

Request body formats

application/json, text/json

Sample:
{
  "INV_ID": 1,
  "BEDS": 1,
  "MATRESS": 1,
  "FRIDGES": 1,
  "STOVES": 1,
  "TABLES": 1,
  "CHAIRS": 1,
  "CUPBOARDS": 1,
  "WASHING_MACHINE": 1,
  "PREMISE_LEASE_ID": 2,
  "FLAT_NO": 3,
  "RES_STATUS": "sample string 4",
  "PREMISE_INV_ITEM_ID": 1,
  "TOTAL_ITM_COUNT": 1.0,
  "INVENTORY_LIST": [
    {
      "PREMISE_INV_ITEM_ID": 1,
      "PREMISE_INV_ITEM_NAME": "sample string 2",
      "TOTALCOUNT": 1.0
    },
    {
      "PREMISE_INV_ITEM_ID": 1,
      "PREMISE_INV_ITEM_NAME": "sample string 2",
      "TOTALCOUNT": 1.0
    },
    {
      "PREMISE_INV_ITEM_ID": 1,
      "PREMISE_INV_ITEM_NAME": "sample string 2",
      "TOTALCOUNT": 1.0
    }
  ]
}

application/xml, text/xml

Sample:
<AccomodationInventoryDOT xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ComsipDOTModels.ModelsDTO.AccomodationInventory">
  <BEDS>1</BEDS>
  <CHAIRS>1</CHAIRS>
  <CUPBOARDS>1</CUPBOARDS>
  <FLAT_NO>3</FLAT_NO>
  <FRIDGES>1</FRIDGES>
  <INVENTORY_LIST>
    <InventoryDOT>
      <PREMISE_INV_ITEM_ID>1</PREMISE_INV_ITEM_ID>
      <PREMISE_INV_ITEM_NAME>sample string 2</PREMISE_INV_ITEM_NAME>
      <TOTALCOUNT>1</TOTALCOUNT>
    </InventoryDOT>
    <InventoryDOT>
      <PREMISE_INV_ITEM_ID>1</PREMISE_INV_ITEM_ID>
      <PREMISE_INV_ITEM_NAME>sample string 2</PREMISE_INV_ITEM_NAME>
      <TOTALCOUNT>1</TOTALCOUNT>
    </InventoryDOT>
    <InventoryDOT>
      <PREMISE_INV_ITEM_ID>1</PREMISE_INV_ITEM_ID>
      <PREMISE_INV_ITEM_NAME>sample string 2</PREMISE_INV_ITEM_NAME>
      <TOTALCOUNT>1</TOTALCOUNT>
    </InventoryDOT>
  </INVENTORY_LIST>
  <INV_ID>1</INV_ID>
  <MATRESS>1</MATRESS>
  <PREMISE_INV_ITEM_ID>1</PREMISE_INV_ITEM_ID>
  <PREMISE_LEASE_ID>2</PREMISE_LEASE_ID>
  <RES_STATUS>sample string 4</RES_STATUS>
  <STOVES>1</STOVES>
  <TABLES>1</TABLES>
  <TOTAL_ITM_COUNT>1</TOTAL_ITM_COUNT>
  <WASHING_MACHINE>1</WASHING_MACHINE>
</AccomodationInventoryDOT>

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