POST api/MyLibraryBookStatus

Request Information

URI Parameters

None.

Body Parameters

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.

Request Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "BookId": 2,
  "UserId": 3,
  "TransationNumber": "sample string 4",
  "Date": "2018-09-24T17:06:29.2388491-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-24T17:06:29.2388491-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>

application/x-www-form-urlencoded

Sample:

Sample not available.

Response Information

Resource Description

IHttpActionResult

None.

Response Formats

application/json, text/json, application/xml, text/xml

Sample:

Sample not available.