PUT api/RefundItemsHistories/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

RefundItemsHistory
NameDescriptionTypeAdditional information
id

integer

None.

DateCreated

date

None.

LastModified

date

None.

TransactionId

integer

None.

TransactionRef

string

None.

ProductId

integer

None.

SellingPrice

decimal number

None.

Vat

decimal number

None.

VendorId

integer

None.

Refunded

boolean

None.

DateRefunded

date

None.

RefundedBy

string

None.

Qty

decimal number

None.

RefundId

integer

None.

NewTransactionRef

string

None.

NewTransactionId

integer

None.

MarkupValue

decimal number

None.

MarkupPercentage

decimal number

None.

ExpiryDate

date

None.

Request Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2025-12-11T11:00:00.2436524+02:00",
  "LastModified": "2025-12-11T11:00:00.2436524+02:00",
  "TransactionId": 1,
  "TransactionRef": "sample string 2",
  "ProductId": 1,
  "SellingPrice": 3.1,
  "Vat": 4.1,
  "VendorId": 1,
  "Refunded": true,
  "DateRefunded": "2025-12-11T11:00:00.2436524+02:00",
  "RefundedBy": "sample string 6",
  "Qty": 7.1,
  "RefundId": 1,
  "NewTransactionRef": "sample string 8",
  "NewTransactionId": 1,
  "MarkupValue": 9.1,
  "MarkupPercentage": 10.1,
  "ExpiryDate": "2025-12-11T11:00:00.2436524+02:00"
}

application/xml, text/xml

Sample:
<RefundItemsHistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BonaMarketAPI.Database">
  <DateCreated>2025-12-11T11:00:00.2436524+02:00</DateCreated>
  <DateRefunded>2025-12-11T11:00:00.2436524+02:00</DateRefunded>
  <ExpiryDate>2025-12-11T11:00:00.2436524+02:00</ExpiryDate>
  <LastModified>2025-12-11T11:00:00.2436524+02:00</LastModified>
  <MarkupPercentage>10.1</MarkupPercentage>
  <MarkupValue>9.1</MarkupValue>
  <NewTransactionId>1</NewTransactionId>
  <NewTransactionRef>sample string 8</NewTransactionRef>
  <ProductId>1</ProductId>
  <Qty>7.1</Qty>
  <RefundId>1</RefundId>
  <Refunded>true</Refunded>
  <RefundedBy>sample string 6</RefundedBy>
  <SellingPrice>3.1</SellingPrice>
  <TransactionId>1</TransactionId>
  <TransactionRef>sample string 2</TransactionRef>
  <Vat>4.1</Vat>
  <VendorId>1</VendorId>
  <id>1</id>
</RefundItemsHistory>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

None.