GET api/InventoryTypes/{id}

Fetch a specific type

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

InventoryType
NameDescriptionTypeAdditional information
InventoryCategoryId

integer

None.

DepreciationDuration

integer

None.

CompanyId

integer

None.

Name

string

None.

LastModified

date

None.

Created

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "InventoryCategoryId": 1,
  "DepreciationDuration": 2,
  "CompanyId": 3,
  "Name": "sample string 4",
  "LastModified": "2025-12-08T14:24:45.9809515+00:00",
  "Created": "2025-12-08T14:24:45.9809515+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:45.9809515+00:00</Created>
  <LastModified>2025-12-08T14:24:45.9809515+00:00</LastModified>
  <Name>sample string 4</Name>
  <CompanyId>3</CompanyId>
  <DepreciationDuration>2</DepreciationDuration>
  <InventoryCategoryId>1</InventoryCategoryId>
</InventoryType>