GET api/Inventories
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of Inventory| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| DateCreated | date |
None. |
|
| LastCreated | date |
None. |
|
| ProductId | integer |
None. |
|
| ReceivingPrice | decimal number |
None. |
|
| VendorId | integer |
None. |
|
| ReceivingQty | decimal number |
None. |
|
| ExpiryDate | date |
None. |
|
| Visible | boolean |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"DateCreated": "2025-12-11T10:58:19.0329044+02:00",
"LastCreated": "2025-12-11T10:58:19.0329044+02:00",
"ProductId": 1,
"ReceivingPrice": 2.1,
"VendorId": 1,
"ReceivingQty": 3.1,
"ExpiryDate": "2025-12-11T10:58:19.0329044+02:00",
"Visible": true
},
{
"id": 1,
"DateCreated": "2025-12-11T10:58:19.0329044+02:00",
"LastCreated": "2025-12-11T10:58:19.0329044+02:00",
"ProductId": 1,
"ReceivingPrice": 2.1,
"VendorId": 1,
"ReceivingQty": 3.1,
"ExpiryDate": "2025-12-11T10:58:19.0329044+02:00",
"Visible": true
}
]
application/xml, text/xml
Sample:
<ArrayOfInventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
<Inventory>
<DateCreated>2025-12-11T10:58:19.0329044+02:00</DateCreated>
<ExpiryDate>2025-12-11T10:58:19.0329044+02:00</ExpiryDate>
<LastCreated>2025-12-11T10:58:19.0329044+02:00</LastCreated>
<ProductId>1</ProductId>
<ReceivingPrice>2.1</ReceivingPrice>
<ReceivingQty>3.1</ReceivingQty>
<VendorId>1</VendorId>
<Visible>true</Visible>
<id>1</id>
</Inventory>
<Inventory>
<DateCreated>2025-12-11T10:58:19.0329044+02:00</DateCreated>
<ExpiryDate>2025-12-11T10:58:19.0329044+02:00</ExpiryDate>
<LastCreated>2025-12-11T10:58:19.0329044+02:00</LastCreated>
<ProductId>1</ProductId>
<ReceivingPrice>2.1</ReceivingPrice>
<ReceivingQty>3.1</ReceivingQty>
<VendorId>1</VendorId>
<Visible>true</Visible>
<id>1</id>
</Inventory>
</ArrayOfInventory>