POST api/Inventory/GetInventoryItem
Request Information
URI Parameters
None.
Body Parameters
Inventory_GetInventoryItemRequest| Name | Description | Type | Additional information |
|---|---|---|---|
| DeviceUniqueId | string |
None. |
|
| IdItemLot | integer |
None. |
|
| SiteCode | string |
None. |
Request Formats
application/json, text/json
Sample:
{
"DeviceUniqueId": "sample string 1",
"IdItemLot": 2,
"SiteCode": "sample string 3"
}
application/xml, text/xml
Sample:
<Inventory_GetInventoryItemRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models"> <DeviceUniqueId>sample string 1</DeviceUniqueId> <IdItemLot>2</IdItemLot> <SiteCode>sample string 3</SiteCode> </Inventory_GetInventoryItemRequest>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
Inventory_GetInventoryItemResponse| Name | Description | Type | Additional information |
|---|---|---|---|
| Result | Inventory_GetInventoryItemResult |
None. |
|
| InventoryItem | InventoryItem |
None. |
Response Formats
application/json, text/json
Sample:
{
"Result": 0,
"InventoryItem": {
"IdInventoryItem": 1,
"ItemLot": {
"Item": {
"IdItem": 1,
"IdCustomer": 2,
"CustomerName": "sample string 3",
"CustomerShortName": "sample string 4",
"CustomerCode": "sample string 5",
"Code": "sample string 6",
"ProductCode": "sample string 7",
"ProductCode2": "sample string 8",
"RepertoireCode": "sample string 9",
"ProductorCode": "sample string 10",
"Description": "sample string 11",
"AlternativeDescription": "sample string 12",
"MeasureUnit": "sample string 13",
"PickingMeasureUnit": "sample string 14",
"PickingConvertingRate": 15.0,
"Packaging": 16,
"Cytotoxic": true,
"Flammable": true,
"Frozen": true,
"Frigo": true,
"Cupboard": true,
"IsValid": true,
"IdItemCategory": 23,
"ItemCategory": "sample string 24",
"PickingNotes": "sample string 25"
},
"IdItemLot": 1,
"CustomerLotNumber": "sample string 2",
"CustomerLotNumberOriginal": "sample string 3",
"DateExpiry": "2025-12-09T02:25:32.9364243+01:00",
"DateManufactured": "2025-12-09T02:25:32.9364243+01:00",
"UDI": "sample string 6",
"ReadUDI": true,
"DateLoaded": "2025-12-09T02:25:32.9364243+01:00",
"Code": "sample string 8",
"UnitValue": 1.0,
"IsValid": true
},
"Site": {
"Id": 1,
"IdWarehouse": 2,
"IdArea": 3,
"IdLane": 4,
"IdShelf": 5,
"Code": "sample string 6",
"Description": "sample string 7",
"LoadOperation": true,
"Transit": true,
"InvalidItem": true
},
"DateInserted": "2025-12-09T02:25:32.9364243+01:00",
"Quantity": 1.0,
"QuantityEstimated": 3.0,
"NumberOfCount": 4,
"DateCounted": "2025-12-09T02:25:32.9364243+01:00"
}
}
application/xml, text/xml
Sample:
<Inventory_GetInventoryItemResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/PharmatoolsWarehouseAPI.Models">
<InventoryItem>
<DateCounted>2025-12-09T02:25:32.9364243+01:00</DateCounted>
<DateInserted>2025-12-09T02:25:32.9364243+01:00</DateInserted>
<IdInventoryItem>1</IdInventoryItem>
<ItemLot>
<Code>sample string 8</Code>
<CustomerLotNumber>sample string 2</CustomerLotNumber>
<CustomerLotNumberOriginal>sample string 3</CustomerLotNumberOriginal>
<DateExpiry>2025-12-09T02:25:32.9364243+01:00</DateExpiry>
<DateLoaded>2025-12-09T02:25:32.9364243+01:00</DateLoaded>
<DateManufactured>2025-12-09T02:25:32.9364243+01:00</DateManufactured>
<IdItemLot>1</IdItemLot>
<IsValid>true</IsValid>
<Item>
<AlternativeDescription>sample string 12</AlternativeDescription>
<Code>sample string 6</Code>
<Cupboard>true</Cupboard>
<CustomerCode>sample string 5</CustomerCode>
<CustomerName>sample string 3</CustomerName>
<CustomerShortName>sample string 4</CustomerShortName>
<Cytotoxic>true</Cytotoxic>
<Description>sample string 11</Description>
<Flammable>true</Flammable>
<Frigo>true</Frigo>
<Frozen>true</Frozen>
<IdCustomer>2</IdCustomer>
<IdItem>1</IdItem>
<IdItemCategory>23</IdItemCategory>
<IsValid>true</IsValid>
<ItemCategory>sample string 24</ItemCategory>
<MeasureUnit>sample string 13</MeasureUnit>
<Packaging>16</Packaging>
<PickingConvertingRate>15</PickingConvertingRate>
<PickingMeasureUnit>sample string 14</PickingMeasureUnit>
<PickingNotes>sample string 25</PickingNotes>
<ProductCode>sample string 7</ProductCode>
<ProductCode2>sample string 8</ProductCode2>
<ProductorCode>sample string 10</ProductorCode>
<RepertoireCode>sample string 9</RepertoireCode>
</Item>
<ReadUDI>true</ReadUDI>
<UDI>sample string 6</UDI>
<UnitValue>1</UnitValue>
</ItemLot>
<NumberOfCount>4</NumberOfCount>
<Quantity>1</Quantity>
<QuantityEstimated>3</QuantityEstimated>
<Site>
<Code>sample string 6</Code>
<Description>sample string 7</Description>
<Id>1</Id>
<IdArea>3</IdArea>
<IdLane>4</IdLane>
<IdShelf>5</IdShelf>
<IdWarehouse>2</IdWarehouse>
<InvalidItem>true</InvalidItem>
<LoadOperation>true</LoadOperation>
<Transit>true</Transit>
</Site>
</InventoryItem>
<Result>GenericError</Result>
</Inventory_GetInventoryItemResponse>