PUT api/InventoryTypes

Update a type

Request Information

URI Parameters

None.

Body Parameters

InventoryType
NameDescriptionTypeAdditional information
InventoryCategoryId

integer

None.

DepreciationDuration

integer

None.

CompanyId

integer

None.

Name

string

None.

LastModified

date

None.

Created

date

None.

Id

integer

None.

Request Formats

application/json, text/json

Sample:
{
  "InventoryCategoryId": 1,
  "DepreciationDuration": 2,
  "CompanyId": 3,
  "Name": "sample string 4",
  "LastModified": "2025-12-08T14:24:50.9891039+00:00",
  "Created": "2025-12-08T14:24:50.9891039+00:00",
  "Id": 7
}

application/xml, text/xml

Sample:
<InventoryType xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlKeeper.ApiModel">
  <Id>7</Id>
  <Created>2025-12-08T14:24:50.9891039+00:00</Created>
  <LastModified>2025-12-08T14:24:50.9891039+00:00</LastModified>
  <Name>sample string 4</Name>
  <CompanyId>3</CompanyId>
  <DepreciationDuration>2</DepreciationDuration>
  <InventoryCategoryId>1</InventoryCategoryId>
</InventoryType>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.