GET api/TransactionDetails

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Collection of TransactionDetail
NameDescriptionTypeAdditional information
Id

integer

None.

BookId

integer

None.

UserId

integer

None.

TransationNumber

string

None.

Date

date

None.

Type

string

None.

Status

string

None.

Price

decimal number

None.

Rewards

decimal number

None.

Discount

decimal number

None.

Response Formats

application/json, text/json

Sample:
[
  {
    "Id": 1,
    "BookId": 2,
    "UserId": 3,
    "TransationNumber": "sample string 4",
    "Date": "2018-09-25T19:25:26.8461046-04:00",
    "Type": "sample string 5",
    "Status": "sample string 6",
    "Price": 1.1,
    "Rewards": 1.1,
    "Discount": 1.1
  },
  {
    "Id": 1,
    "BookId": 2,
    "UserId": 3,
    "TransationNumber": "sample string 4",
    "Date": "2018-09-25T19:25:26.8461046-04:00",
    "Type": "sample string 5",
    "Status": "sample string 6",
    "Price": 1.1,
    "Rewards": 1.1,
    "Discount": 1.1
  }
]

application/xml, text/xml

Sample:
<ArrayOfTransactionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <TransactionDetail>
    <BookId>2</BookId>
    <Date>2018-09-25T19:25:26.8461046-04:00</Date>
    <Discount>1.1</Discount>
    <Id>1</Id>
    <Price>1.1</Price>
    <Rewards>1.1</Rewards>
    <Status>sample string 6</Status>
    <TransationNumber>sample string 4</TransationNumber>
    <Type>sample string 5</Type>
    <UserId>3</UserId>
  </TransactionDetail>
  <TransactionDetail>
    <BookId>2</BookId>
    <Date>2018-09-25T19:25:26.8461046-04:00</Date>
    <Discount>1.1</Discount>
    <Id>1</Id>
    <Price>1.1</Price>
    <Rewards>1.1</Rewards>
    <Status>sample string 6</Status>
    <TransationNumber>sample string 4</TransationNumber>
    <Type>sample string 5</Type>
    <UserId>3</UserId>
  </TransactionDetail>
</ArrayOfTransactionDetail>