GET api/purchaseitemshistories/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

purchaseitemshistory
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.

Markup

decimal number

None.

merchantid

integer

None.

SchoolId

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.

MulaTapVatAmount

decimal number

None.

UnitPrice

decimal number

None.

TicketDateId

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "id": 1,
  "DateCreated": "2026-02-17T16:14:51.6324786+02:00",
  "LastModified": "2026-02-17T16:14:51.6324786+02:00",
  "TransactionId": 1,
  "TransactionRef": "sample string 2",
  "ProductId": 1,
  "SellingPrice": 3.1,
  "Vat": 4.1,
  "Markup": 5.1,
  "merchantid": 1,
  "SchoolId": 1,
  "Refunded": true,
  "DateRefunded": "2026-02-17T16:14:51.6324786+02:00",
  "RefundedBy": "sample string 7",
  "RefundReason": "sample string 8",
  "Qty": 9.1,
  "VatAmount": 10.1,
  "TransactionFeesAmount": 11.1,
  "MulaTapVatAmount": 12.1,
  "UnitPrice": 13.1,
  "TicketDateId": 1
}

application/xml, text/xml

Sample:
<purchaseitemshistory xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/ZakaPayAPI.Database">
  <DateCreated>2026-02-17T16:14:51.6324786+02:00</DateCreated>
  <DateRefunded>2026-02-17T16:14:51.6324786+02:00</DateRefunded>
  <LastModified>2026-02-17T16:14:51.6324786+02:00</LastModified>
  <Markup>5.1</Markup>
  <MulaTapVatAmount>12.1</MulaTapVatAmount>
  <ProductId>1</ProductId>
  <Qty>9.1</Qty>
  <RefundReason>sample string 8</RefundReason>
  <Refunded>true</Refunded>
  <RefundedBy>sample string 7</RefundedBy>
  <SchoolId>1</SchoolId>
  <SellingPrice>3.1</SellingPrice>
  <TicketDateId>1</TicketDateId>
  <TransactionFeesAmount>11.1</TransactionFeesAmount>
  <TransactionId>1</TransactionId>
  <TransactionRef>sample string 2</TransactionRef>
  <UnitPrice>13.1</UnitPrice>
  <Vat>4.1</Vat>
  <VatAmount>10.1</VatAmount>
  <id>1</id>
  <merchantid>1</merchantid>
</purchaseitemshistory>