GET api/Inventories/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
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-11T12:06:23.6511063+02:00",
"LastCreated": "2025-12-11T12:06:23.6511063+02:00",
"ProductId": 1,
"ReceivingPrice": 2.1,
"VendorId": 1,
"ReceivingQty": 3.1,
"ExpiryDate": "2025-12-11T12:06:23.6511063+02:00",
"Visible": true
}
application/xml, text/xml
Sample:
<Inventory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database"> <DateCreated>2025-12-11T12:06:23.6511063+02:00</DateCreated> <ExpiryDate>2025-12-11T12:06:23.6511063+02:00</ExpiryDate> <LastCreated>2025-12-11T12:06:23.6511063+02:00</LastCreated> <ProductId>1</ProductId> <ReceivingPrice>2.1</ReceivingPrice> <ReceivingQty>3.1</ReceivingQty> <VendorId>1</VendorId> <Visible>true</Visible> <id>1</id> </Inventory>