GET api/InventoryTypes
Fetch a list of all types
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
ListResultOfInventoryType| Name | Description | Type | Additional information |
|---|---|---|---|
| TotalCount | integer |
None. |
|
| Items | Collection of InventoryType |
None. |
Response Formats
application/json, text/json
Sample:
{
"TotalCount": 1,
"Items": [
{
"InventoryCategoryId": 1,
"DepreciationDuration": 2,
"CompanyId": 3,
"Name": "sample string 4",
"LastModified": "2025-12-08T14:25:37.6252633+00:00",
"Created": "2025-12-08T14:25:37.6252633+00:00",
"Id": 7
},
{
"InventoryCategoryId": 1,
"DepreciationDuration": 2,
"CompanyId": 3,
"Name": "sample string 4",
"LastModified": "2025-12-08T14:25:37.6252633+00:00",
"Created": "2025-12-08T14:25:37.6252633+00:00",
"Id": 7
}
]
}
application/xml, text/xml
Sample:
<ListResultOfInventoryTypeHWVxl9UY xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlKeeper.ApiModel">
<Items>
<InventoryType>
<Id>7</Id>
<Created>2025-12-08T14:25:37.6252633+00:00</Created>
<LastModified>2025-12-08T14:25:37.6252633+00:00</LastModified>
<Name>sample string 4</Name>
<CompanyId>3</CompanyId>
<DepreciationDuration>2</DepreciationDuration>
<InventoryCategoryId>1</InventoryCategoryId>
</InventoryType>
<InventoryType>
<Id>7</Id>
<Created>2025-12-08T14:25:37.6252633+00:00</Created>
<LastModified>2025-12-08T14:25:37.6252633+00:00</LastModified>
<Name>sample string 4</Name>
<CompanyId>3</CompanyId>
<DepreciationDuration>2</DepreciationDuration>
<InventoryCategoryId>1</InventoryCategoryId>
</InventoryType>
</Items>
<TotalCount>1</TotalCount>
</ListResultOfInventoryTypeHWVxl9UY>
