GET api/TransactionDetails/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

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:42:19.0960551-04:00",
  "Type": "sample string 5",
  "Status": "sample string 6",
  "Price": 1.1,
  "Rewards": 1.1,
  "Discount": 1.1
}

application/xml, text/xml

Sample:
<TransactionDetail xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <BookId>2</BookId>
  <Date>2018-09-25T19:42:19.0960551-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>