POST api/books/additemledger

Request Information

URI Parameters

None.

Body Parameters

AddItemLedgerRequest
NameDescriptionTypeAdditional information
OrderId

integer

None.

BookId

integer

None.

Quantity

integer

None.

TransactionType

string

None.

PricePerItem

decimal number

None.

TotalPrice

decimal number

None.

UserId

integer

None.

DeviceId

string

None.

BuyerId

integer

None.

Remarks

string

None.

Request Formats

application/json, text/json

Sample:
{
  "OrderId": 1,
  "BookId": 2,
  "Quantity": 3,
  "TransactionType": "sample string 4",
  "PricePerItem": 5.0,
  "TotalPrice": 6.0,
  "UserId": 1,
  "DeviceId": "sample string 7",
  "BuyerId": 1,
  "Remarks": "sample string 8"
}

application/xml, text/xml

Sample:
<AddItemLedgerRequest xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/bookLib_APIs.Controllers">
  <BookId>2</BookId>
  <BuyerId>1</BuyerId>
  <DeviceId>sample string 7</DeviceId>
  <OrderId>1</OrderId>
  <PricePerItem>5</PricePerItem>
  <Quantity>3</Quantity>
  <Remarks>sample string 8</Remarks>
  <TotalPrice>6</TotalPrice>
  <TransactionType>sample string 4</TransactionType>
  <UserId>1</UserId>
</AddItemLedgerRequest>

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.