GET GetPurchaseItemsHistoryByClientIdAndTransactionRef?ClientId={ClientId}&TransactionRef={TransactionRef}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
ClientId

string

Required

TransactionRef

string

Required

Body Parameters

None.

Response Information

Resource Description

Collection of GetPurchaseInventoryItemsByTransactionRefAndCLientId_Result
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

LastModified

date

None.

TransactionId

integer

None.

TransactionRef

string

None.

SellingPrice

decimal number

None.

Vat

decimal number

None.

VendorId

integer

None.

Refunded

boolean

None.

DateRefunded

date

None.

RefundedBy

string

None.

RefundReason

string

None.

Qty

decimal number

None.

VatAmount

decimal number

None.

TransactionFeesAmount

decimal number

None.

BonaMarketVatAmount

decimal number

None.

UnitPrice

decimal number

None.

MarkupValue

decimal number

None.

MarkupPercentage

decimal number

None.

ExpiryDate

date

None.

ProductId

integer

None.

ProductName

string

None.

ImageFileName

string

None.

ProductName1

string

None.

ProductCategory

integer

None.

ProductImage

string

None.

Barcode2

string

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "id": 1,
    "DateCreated": "2025-12-11T12:07:47.5483843+02:00",
    "LastModified": "2025-12-11T12:07:47.5483843+02:00",
    "TransactionId": 1,
    "TransactionRef": "sample string 2",
    "SellingPrice": 3.1,
    "Vat": 4.1,
    "VendorId": 1,
    "Refunded": true,
    "DateRefunded": "2025-12-11T12:07:47.5483843+02:00",
    "RefundedBy": "sample string 6",
    "RefundReason": "sample string 7",
    "Qty": 8.1,
    "VatAmount": 9.1,
    "TransactionFeesAmount": 10.1,
    "BonaMarketVatAmount": 11.1,
    "UnitPrice": 12.1,
    "MarkupValue": 13.1,
    "MarkupPercentage": 14.1,
    "ExpiryDate": "2025-12-11T12:07:47.5483843+02:00",
    "ProductId": 1,
    "ProductName": "sample string 15",
    "ImageFileName": "sample string 16",
    "ProductName1": "sample string 17",
    "ProductCategory": 1,
    "ProductImage": "sample string 18",
    "Barcode2": "sample string 19"
  },
  {
    "id": 1,
    "DateCreated": "2025-12-11T12:07:47.5483843+02:00",
    "LastModified": "2025-12-11T12:07:47.5483843+02:00",
    "TransactionId": 1,
    "TransactionRef": "sample string 2",
    "SellingPrice": 3.1,
    "Vat": 4.1,
    "VendorId": 1,
    "Refunded": true,
    "DateRefunded": "2025-12-11T12:07:47.5483843+02:00",
    "RefundedBy": "sample string 6",
    "RefundReason": "sample string 7",
    "Qty": 8.1,
    "VatAmount": 9.1,
    "TransactionFeesAmount": 10.1,
    "BonaMarketVatAmount": 11.1,
    "UnitPrice": 12.1,
    "MarkupValue": 13.1,
    "MarkupPercentage": 14.1,
    "ExpiryDate": "2025-12-11T12:07:47.5483843+02:00",
    "ProductId": 1,
    "ProductName": "sample string 15",
    "ImageFileName": "sample string 16",
    "ProductName1": "sample string 17",
    "ProductCategory": 1,
    "ProductImage": "sample string 18",
    "Barcode2": "sample string 19"
  }
]

application/xml, text/xml

Sample:
<ArrayOfGetPurchaseInventoryItemsByTransactionRefAndCLientId_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <GetPurchaseInventoryItemsByTransactionRefAndCLientId_Result>
    <Barcode2>sample string 19</Barcode2>
    <BonaMarketVatAmount>11.1</BonaMarketVatAmount>
    <DateCreated>2025-12-11T12:07:47.5483843+02:00</DateCreated>
    <DateRefunded>2025-12-11T12:07:47.5483843+02:00</DateRefunded>
    <ExpiryDate>2025-12-11T12:07:47.5483843+02:00</ExpiryDate>
    <ImageFileName>sample string 16</ImageFileName>
    <LastModified>2025-12-11T12:07:47.5483843+02:00</LastModified>
    <MarkupPercentage>14.1</MarkupPercentage>
    <MarkupValue>13.1</MarkupValue>
    <ProductCategory>1</ProductCategory>
    <ProductId>1</ProductId>
    <ProductImage>sample string 18</ProductImage>
    <ProductName>sample string 15</ProductName>
    <ProductName1>sample string 17</ProductName1>
    <Qty>8.1</Qty>
    <RefundReason>sample string 7</RefundReason>
    <Refunded>true</Refunded>
    <RefundedBy>sample string 6</RefundedBy>
    <SellingPrice>3.1</SellingPrice>
    <TransactionFeesAmount>10.1</TransactionFeesAmount>
    <TransactionId>1</TransactionId>
    <TransactionRef>sample string 2</TransactionRef>
    <UnitPrice>12.1</UnitPrice>
    <Vat>4.1</Vat>
    <VatAmount>9.1</VatAmount>
    <VendorId>1</VendorId>
    <id>1</id>
  </GetPurchaseInventoryItemsByTransactionRefAndCLientId_Result>
  <GetPurchaseInventoryItemsByTransactionRefAndCLientId_Result>
    <Barcode2>sample string 19</Barcode2>
    <BonaMarketVatAmount>11.1</BonaMarketVatAmount>
    <DateCreated>2025-12-11T12:07:47.5483843+02:00</DateCreated>
    <DateRefunded>2025-12-11T12:07:47.5483843+02:00</DateRefunded>
    <ExpiryDate>2025-12-11T12:07:47.5483843+02:00</ExpiryDate>
    <ImageFileName>sample string 16</ImageFileName>
    <LastModified>2025-12-11T12:07:47.5483843+02:00</LastModified>
    <MarkupPercentage>14.1</MarkupPercentage>
    <MarkupValue>13.1</MarkupValue>
    <ProductCategory>1</ProductCategory>
    <ProductId>1</ProductId>
    <ProductImage>sample string 18</ProductImage>
    <ProductName>sample string 15</ProductName>
    <ProductName1>sample string 17</ProductName1>
    <Qty>8.1</Qty>
    <RefundReason>sample string 7</RefundReason>
    <Refunded>true</Refunded>
    <RefundedBy>sample string 6</RefundedBy>
    <SellingPrice>3.1</SellingPrice>
    <TransactionFeesAmount>10.1</TransactionFeesAmount>
    <TransactionId>1</TransactionId>
    <TransactionRef>sample string 2</TransactionRef>
    <UnitPrice>12.1</UnitPrice>
    <Vat>4.1</Vat>
    <VatAmount>9.1</VatAmount>
    <VendorId>1</VendorId>
    <id>1</id>
  </GetPurchaseInventoryItemsByTransactionRefAndCLientId_Result>
</ArrayOfGetPurchaseInventoryItemsByTransactionRefAndCLientId_Result>