GET GetInventoryByVendorId?UserId={UserId}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| UserId | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetInventoryByVendorId_Result| 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. |
|
| ProductName | string |
None. |
|
| UnitPrice | decimal number |
None. |
|
| MarkupPercentage | decimal number |
None. |
|
| MarkupValue | decimal number |
None. |
|
| Vat | decimal number |
None. |
|
| HasVat | boolean |
None. |
|
| SellingPrice | decimal number |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"DateCreated": "2025-12-11T11:02:03.0906667+02:00",
"LastCreated": "2025-12-11T11:02:03.0906667+02:00",
"ProductId": 1,
"ReceivingPrice": 2.1,
"VendorId": 1,
"ReceivingQty": 3.1,
"ExpiryDate": "2025-12-11T11:02:03.0906667+02:00",
"Visible": true,
"ProductName": "sample string 5",
"UnitPrice": 1.1,
"MarkupPercentage": 1.1,
"MarkupValue": 1.1,
"Vat": 1.1,
"HasVat": true,
"SellingPrice": 1.1
},
{
"id": 1,
"DateCreated": "2025-12-11T11:02:03.0906667+02:00",
"LastCreated": "2025-12-11T11:02:03.0906667+02:00",
"ProductId": 1,
"ReceivingPrice": 2.1,
"VendorId": 1,
"ReceivingQty": 3.1,
"ExpiryDate": "2025-12-11T11:02:03.0906667+02:00",
"Visible": true,
"ProductName": "sample string 5",
"UnitPrice": 1.1,
"MarkupPercentage": 1.1,
"MarkupValue": 1.1,
"Vat": 1.1,
"HasVat": true,
"SellingPrice": 1.1
}
]
application/xml, text/xml
Sample:
<ArrayOfGetInventoryByVendorId_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
<GetInventoryByVendorId_Result>
<DateCreated>2025-12-11T11:02:03.0906667+02:00</DateCreated>
<ExpiryDate>2025-12-11T11:02:03.0906667+02:00</ExpiryDate>
<HasVat>true</HasVat>
<LastCreated>2025-12-11T11:02:03.0906667+02:00</LastCreated>
<MarkupPercentage>1.1</MarkupPercentage>
<MarkupValue>1.1</MarkupValue>
<ProductId>1</ProductId>
<ProductName>sample string 5</ProductName>
<ReceivingPrice>2.1</ReceivingPrice>
<ReceivingQty>3.1</ReceivingQty>
<SellingPrice>1.1</SellingPrice>
<UnitPrice>1.1</UnitPrice>
<Vat>1.1</Vat>
<VendorId>1</VendorId>
<Visible>true</Visible>
<id>1</id>
</GetInventoryByVendorId_Result>
<GetInventoryByVendorId_Result>
<DateCreated>2025-12-11T11:02:03.0906667+02:00</DateCreated>
<ExpiryDate>2025-12-11T11:02:03.0906667+02:00</ExpiryDate>
<HasVat>true</HasVat>
<LastCreated>2025-12-11T11:02:03.0906667+02:00</LastCreated>
<MarkupPercentage>1.1</MarkupPercentage>
<MarkupValue>1.1</MarkupValue>
<ProductId>1</ProductId>
<ProductName>sample string 5</ProductName>
<ReceivingPrice>2.1</ReceivingPrice>
<ReceivingQty>3.1</ReceivingQty>
<SellingPrice>1.1</SellingPrice>
<UnitPrice>1.1</UnitPrice>
<Vat>1.1</Vat>
<VendorId>1</VendorId>
<Visible>true</Visible>
<id>1</id>
</GetInventoryByVendorId_Result>
</ArrayOfGetInventoryByVendorId_Result>