GET GetInventoryByVendorIdAndBarcode?UserId={UserId}&Barcode={Barcode}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
UserId

string

Required

Barcode

string

Required

Body Parameters

None.

Response Information

Resource Description

GetInventoryByVendorIdAndBarcode_Result
NameDescriptionTypeAdditional 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.

ProductNo

integer

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.

Description

string

None.

Barcode

string

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2025-12-11T12:05:36.8808535+02:00",
  "LastCreated": "2025-12-11T12:05:36.8808535+02:00",
  "ProductId": 1,
  "ReceivingPrice": 1.1,
  "VendorId": 1,
  "ReceivingQty": 1.1,
  "ExpiryDate": "2025-12-11T12:05:36.8808535+02:00",
  "Visible": true,
  "ProductNo": 1,
  "ProductName": "sample string 2",
  "UnitPrice": 3.1,
  "MarkupPercentage": 4.1,
  "MarkupValue": 5.1,
  "Vat": 6.1,
  "HasVat": true,
  "SellingPrice": 8.1,
  "Description": "sample string 9",
  "Barcode": "sample string 10"
}

application/xml, text/xml

Sample:
<GetInventoryByVendorIdAndBarcode_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <Barcode>sample string 10</Barcode>
  <DateCreated>2025-12-11T12:05:36.8808535+02:00</DateCreated>
  <Description>sample string 9</Description>
  <ExpiryDate>2025-12-11T12:05:36.8808535+02:00</ExpiryDate>
  <HasVat>true</HasVat>
  <LastCreated>2025-12-11T12:05:36.8808535+02:00</LastCreated>
  <MarkupPercentage>4.1</MarkupPercentage>
  <MarkupValue>5.1</MarkupValue>
  <ProductId>1</ProductId>
  <ProductName>sample string 2</ProductName>
  <ProductNo>1</ProductNo>
  <ReceivingPrice>1.1</ReceivingPrice>
  <ReceivingQty>1.1</ReceivingQty>
  <SellingPrice>8.1</SellingPrice>
  <UnitPrice>3.1</UnitPrice>
  <Vat>6.1</Vat>
  <VendorId>1</VendorId>
  <Visible>true</Visible>
  <id>1</id>
</GetInventoryByVendorIdAndBarcode_Result>