PUT api/TransactionItems/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
TransactionItem| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
None. |
|
| DatePurchased | date |
None. |
|
| ItemId | integer |
None. |
|
| Price | decimal number |
None. |
|
| Qty | integer |
None. |
|
| LineTotal | decimal number |
None. |
|
| ProductCode | string |
None. |
|
| IsTicket | boolean |
None. |
Request Formats
application/json, text/json
Sample:
{
"id": 1,
"DatePurchased": "2025-12-11T10:57:13.4229707+02:00",
"ItemId": 1,
"Price": 1.1,
"Qty": 1,
"LineTotal": 1.1,
"ProductCode": "sample string 2",
"IsTicket": true
}
application/xml, text/xml
Sample:
<TransactionItem xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database"> <DatePurchased>2025-12-11T10:57:13.4229707+02:00</DatePurchased> <IsTicket>true</IsTicket> <ItemId>1</ItemId> <LineTotal>1.1</LineTotal> <Price>1.1</Price> <ProductCode>sample string 2</ProductCode> <Qty>1</Qty> <id>1</id> </TransactionItem>
application/x-www-form-urlencoded
Sample:
Sample not available.
Response Information
Resource Description
None.