GET api/Inventories/{id}

Fetch a specific inventory

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Inventory
NameDescriptionTypeAdditional information
Serial

string

None.

Nr

string

None.

ManufacturerId

integer

None.

InventoryModelId

integer

None.

InventoryLocationId

integer

None.

OrgUnitId

integer

None.

InventoryTypeId

integer

None.

ResponsibleUserId

integer

None.

CurrentUserId

integer

None.

WarrantyStartDate

date

None.

WarrantyEndDate

date

None.

InvoiceDate

date

None.

Reference

string

None.

InventoryNumber

string

None.

InitialValue

decimal number

None.

Note

string

None.

InventorySupplierId

integer

None.

InventoryStateId

integer

None.

InventoryConditionId

integer

None.

InventoryCategoryId

integer

None.

Comments

Collection of Comment

None.

RelatedContractIds

Collection of RelatedIdentity

None.

RelatedInventoryIds

Collection of RelatedIdentity

None.

Notifications

Collection of Notification

None.

TagIds

Collection of integer

None.

CompanyId

integer

None.

Name

string

None.

LastModified

date

None.

Created

date

None.

Id

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "Serial": "sample string 1",
  "Nr": "sample string 2",
  "ManufacturerId": 3,
  "InventoryModelId": 4,
  "InventoryLocationId": 5,
  "OrgUnitId": 6,
  "InventoryTypeId": 7,
  "ResponsibleUserId": 8,
  "CurrentUserId": 9,
  "WarrantyStartDate": "2025-12-08T14:27:02.6552034+00:00",
  "WarrantyEndDate": "2025-12-08T14:27:02.6552034+00:00",
  "InvoiceDate": "2025-12-08T14:27:02.6552034+00:00",
  "Reference": "sample string 13",
  "InventoryNumber": "sample string 14",
  "InitialValue": 15.1,
  "Note": "sample string 16",
  "InventorySupplierId": 17,
  "InventoryStateId": 18,
  "InventoryConditionId": 19,
  "InventoryCategoryId": 20,
  "Comments": [
    {
      "UserId": 1,
      "Text": "sample string 2",
      "Date": "2025-12-08T14:27:02.6552034+00:00",
      "Id": 4
    },
    {
      "UserId": 1,
      "Text": "sample string 2",
      "Date": "2025-12-08T14:27:02.6552034+00:00",
      "Id": 4
    }
  ],
  "RelatedContractIds": [
    {
      "External": true,
      "Id": 2
    },
    {
      "External": true,
      "Id": 2
    }
  ],
  "RelatedInventoryIds": [
    {
      "External": true,
      "Id": 2
    },
    {
      "External": true,
      "Id": 2
    }
  ],
  "Notifications": [
    {
      "Name": "sample string 1",
      "ReminderCount": 2,
      "EscalationCount": 3,
      "Active": true,
      "CommentText": "sample string 5",
      "StartDate": "2025-12-08T14:27:02.6552034+00:00",
      "EndDate": "2025-12-08T14:27:02.6552034+00:00",
      "Confirmed": "2025-12-08T14:27:02.6552034+00:00",
      "Type": "sample string 9",
      "ConfirmedByUserId": 10,
      "Message": "sample string 11",
      "RecipientUserIds": [
        1,
        2
      ],
      "Id": 12
    },
    {
      "Name": "sample string 1",
      "ReminderCount": 2,
      "EscalationCount": 3,
      "Active": true,
      "CommentText": "sample string 5",
      "StartDate": "2025-12-08T14:27:02.6552034+00:00",
      "EndDate": "2025-12-08T14:27:02.6552034+00:00",
      "Confirmed": "2025-12-08T14:27:02.6552034+00:00",
      "Type": "sample string 9",
      "ConfirmedByUserId": 10,
      "Message": "sample string 11",
      "RecipientUserIds": [
        1,
        2
      ],
      "Id": 12
    }
  ],
  "TagIds": [
    1,
    2
  ],
  "CompanyId": 21,
  "Name": "sample string 22",
  "LastModified": "2025-12-08T14:27:02.6552034+00:00",
  "Created": "2025-12-08T14:27:02.6552034+00:00",
  "Id": 25
}

application/xml, text/xml

Sample:
<Inventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ControlKeeper.ApiModel">
  <Id>25</Id>
  <Created>2025-12-08T14:27:02.6552034+00:00</Created>
  <LastModified>2025-12-08T14:27:02.6552034+00:00</LastModified>
  <Name>sample string 22</Name>
  <CompanyId>21</CompanyId>
  <Comments>
    <Comment>
      <Id>4</Id>
      <Date>2025-12-08T14:27:02.6552034+00:00</Date>
      <Text>sample string 2</Text>
      <UserId>1</UserId>
    </Comment>
    <Comment>
      <Id>4</Id>
      <Date>2025-12-08T14:27:02.6552034+00:00</Date>
      <Text>sample string 2</Text>
      <UserId>1</UserId>
    </Comment>
  </Comments>
  <CurrentUserId>9</CurrentUserId>
  <InitialValue>15.1</InitialValue>
  <InventoryCategoryId>20</InventoryCategoryId>
  <InventoryConditionId>19</InventoryConditionId>
  <InventoryLocationId>5</InventoryLocationId>
  <InventoryModelId>4</InventoryModelId>
  <InventoryNumber>sample string 14</InventoryNumber>
  <InventoryStateId>18</InventoryStateId>
  <InventorySupplierId>17</InventorySupplierId>
  <InventoryTypeId>7</InventoryTypeId>
  <InvoiceDate>2025-12-08T14:27:02.6552034+00:00</InvoiceDate>
  <ManufacturerId>3</ManufacturerId>
  <Note>sample string 16</Note>
  <Notifications>
    <Notification>
      <Id>12</Id>
      <Active>true</Active>
      <CommentText>sample string 5</CommentText>
      <Confirmed>2025-12-08T14:27:02.6552034+00:00</Confirmed>
      <ConfirmedByUserId>10</ConfirmedByUserId>
      <EndDate>2025-12-08T14:27:02.6552034+00:00</EndDate>
      <EscalationCount>3</EscalationCount>
      <Message>sample string 11</Message>
      <Name>sample string 1</Name>
      <RecipientUserIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </RecipientUserIds>
      <ReminderCount>2</ReminderCount>
      <StartDate>2025-12-08T14:27:02.6552034+00:00</StartDate>
      <Type>sample string 9</Type>
    </Notification>
    <Notification>
      <Id>12</Id>
      <Active>true</Active>
      <CommentText>sample string 5</CommentText>
      <Confirmed>2025-12-08T14:27:02.6552034+00:00</Confirmed>
      <ConfirmedByUserId>10</ConfirmedByUserId>
      <EndDate>2025-12-08T14:27:02.6552034+00:00</EndDate>
      <EscalationCount>3</EscalationCount>
      <Message>sample string 11</Message>
      <Name>sample string 1</Name>
      <RecipientUserIds xmlns:d4p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
        <d4p1:int>1</d4p1:int>
        <d4p1:int>2</d4p1:int>
      </RecipientUserIds>
      <ReminderCount>2</ReminderCount>
      <StartDate>2025-12-08T14:27:02.6552034+00:00</StartDate>
      <Type>sample string 9</Type>
    </Notification>
  </Notifications>
  <Nr>sample string 2</Nr>
  <OrgUnitId>6</OrgUnitId>
  <Reference>sample string 13</Reference>
  <RelatedContractIds>
    <RelatedIdentity>
      <Id>2</Id>
      <External>true</External>
    </RelatedIdentity>
    <RelatedIdentity>
      <Id>2</Id>
      <External>true</External>
    </RelatedIdentity>
  </RelatedContractIds>
  <RelatedInventoryIds>
    <RelatedIdentity>
      <Id>2</Id>
      <External>true</External>
    </RelatedIdentity>
    <RelatedIdentity>
      <Id>2</Id>
      <External>true</External>
    </RelatedIdentity>
  </RelatedInventoryIds>
  <ResponsibleUserId>8</ResponsibleUserId>
  <Serial>sample string 1</Serial>
  <TagIds xmlns:d2p1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
    <d2p1:int>1</d2p1:int>
    <d2p1:int>2</d2p1:int>
  </TagIds>
  <WarrantyEndDate>2025-12-08T14:27:02.6552034+00:00</WarrantyEndDate>
  <WarrantyStartDate>2025-12-08T14:27:02.6552034+00:00</WarrantyStartDate>
</Inventory>