GET api/TransactionItems?transactionRef={transactionRef}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| transactionRef | string |
Required |
Body Parameters
None.
Response Information
Resource Description
Collection of GetPurchaseInventoryItemsByTransactionRef_Result| Name | Description | Type | Additional 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. |
|
| ProductCategory | integer |
None. |
|
| ProductImage | string |
None. |
|
| Barcode2 | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"id": 1,
"DateCreated": "2025-12-11T10:55:19.0246424+02:00",
"LastModified": "2025-12-11T10:55:19.0246424+02:00",
"TransactionId": 1,
"TransactionRef": "sample string 2",
"SellingPrice": 3.1,
"Vat": 4.1,
"VendorId": 1,
"Refunded": true,
"DateRefunded": "2025-12-11T10:55:19.0246424+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-11T10:55:19.0246424+02:00",
"ProductId": 1,
"ProductName": "sample string 15",
"ImageFileName": "sample string 16",
"ProductCategory": 1,
"ProductImage": "sample string 17",
"Barcode2": "sample string 18"
},
{
"id": 1,
"DateCreated": "2025-12-11T10:55:19.0246424+02:00",
"LastModified": "2025-12-11T10:55:19.0246424+02:00",
"TransactionId": 1,
"TransactionRef": "sample string 2",
"SellingPrice": 3.1,
"Vat": 4.1,
"VendorId": 1,
"Refunded": true,
"DateRefunded": "2025-12-11T10:55:19.0246424+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-11T10:55:19.0246424+02:00",
"ProductId": 1,
"ProductName": "sample string 15",
"ImageFileName": "sample string 16",
"ProductCategory": 1,
"ProductImage": "sample string 17",
"Barcode2": "sample string 18"
}
]
application/xml, text/xml
Sample:
<ArrayOfGetPurchaseInventoryItemsByTransactionRef_Result xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
<GetPurchaseInventoryItemsByTransactionRef_Result>
<Barcode2>sample string 18</Barcode2>
<BonaMarketVatAmount>11.1</BonaMarketVatAmount>
<DateCreated>2025-12-11T10:55:19.0246424+02:00</DateCreated>
<DateRefunded>2025-12-11T10:55:19.0246424+02:00</DateRefunded>
<ExpiryDate>2025-12-11T10:55:19.0246424+02:00</ExpiryDate>
<ImageFileName>sample string 16</ImageFileName>
<LastModified>2025-12-11T10:55:19.0246424+02:00</LastModified>
<MarkupPercentage>14.1</MarkupPercentage>
<MarkupValue>13.1</MarkupValue>
<ProductCategory>1</ProductCategory>
<ProductId>1</ProductId>
<ProductImage>sample string 17</ProductImage>
<ProductName>sample string 15</ProductName>
<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>
</GetPurchaseInventoryItemsByTransactionRef_Result>
<GetPurchaseInventoryItemsByTransactionRef_Result>
<Barcode2>sample string 18</Barcode2>
<BonaMarketVatAmount>11.1</BonaMarketVatAmount>
<DateCreated>2025-12-11T10:55:19.0246424+02:00</DateCreated>
<DateRefunded>2025-12-11T10:55:19.0246424+02:00</DateRefunded>
<ExpiryDate>2025-12-11T10:55:19.0246424+02:00</ExpiryDate>
<ImageFileName>sample string 16</ImageFileName>
<LastModified>2025-12-11T10:55:19.0246424+02:00</LastModified>
<MarkupPercentage>14.1</MarkupPercentage>
<MarkupValue>13.1</MarkupValue>
<ProductCategory>1</ProductCategory>
<ProductId>1</ProductId>
<ProductImage>sample string 17</ProductImage>
<ProductName>sample string 15</ProductName>
<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>
</GetPurchaseInventoryItemsByTransactionRef_Result>
</ArrayOfGetPurchaseInventoryItemsByTransactionRef_Result>