GET api/Books/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Book
NameDescriptionTypeAdditional information
BookId

integer

None.

Reference

string

None.

ACCTID

string

None.

Name

string

None.

NarratorId

integer

None.

Title

string

None.

LanguageId

integer

None.

AuthorId

integer

None.

TotalLength

string

None.

Translator

string

None.

Year

string

None.

Chapters

string

None.

Edition

string

None.

ISBN

string

None.

RevenueShare

string

None.

SellPrice

decimal number

None.

RentPrice

decimal number

None.

Rewards

decimal number

None.

Discount

decimal number

None.

PublisherId

integer

None.

ReleaseDate

date

None.

SubCategoryId

integer

None.

CategoryId

integer

None.

PartnerId

integer

None.

Description

string

None.

Status

string

None.

BookType

integer

None.

RentDays

integer

None.

Response Formats

application/json, text/json

Sample:
{
  "BookId": 1,
  "Reference": "sample string 2",
  "ACCTID": "sample string 3",
  "Name": "sample string 4",
  "NarratorId": 5,
  "Title": "sample string 6",
  "LanguageId": 7,
  "AuthorId": 8,
  "TotalLength": "sample string 9",
  "Translator": "sample string 10",
  "Year": "sample string 11",
  "Chapters": "sample string 12",
  "Edition": "sample string 13",
  "ISBN": "sample string 14",
  "RevenueShare": "sample string 15",
  "SellPrice": 1.1,
  "RentPrice": 1.1,
  "Rewards": 1.1,
  "Discount": 1.1,
  "PublisherId": 16,
  "ReleaseDate": "2018-09-24T17:07:26.2701092-04:00",
  "SubCategoryId": 18,
  "CategoryId": 19,
  "PartnerId": 20,
  "Description": "sample string 21",
  "Status": "sample string 22",
  "BookType": 23,
  "RentDays": 24
}

application/xml, text/xml

Sample:
<Book xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/AudioJewelAPI.Models">
  <ACCTID>sample string 3</ACCTID>
  <AuthorId>8</AuthorId>
  <BookId>1</BookId>
  <BookType>23</BookType>
  <CategoryId>19</CategoryId>
  <Chapters>sample string 12</Chapters>
  <Description>sample string 21</Description>
  <Discount>1.1</Discount>
  <Edition>sample string 13</Edition>
  <ISBN>sample string 14</ISBN>
  <LanguageId>7</LanguageId>
  <Name>sample string 4</Name>
  <NarratorId>5</NarratorId>
  <PartnerId>20</PartnerId>
  <PublisherId>16</PublisherId>
  <Reference>sample string 2</Reference>
  <ReleaseDate>2018-09-24T17:07:26.2701092-04:00</ReleaseDate>
  <RentDays>24</RentDays>
  <RentPrice>1.1</RentPrice>
  <RevenueShare>sample string 15</RevenueShare>
  <Rewards>1.1</Rewards>
  <SellPrice>1.1</SellPrice>
  <Status>sample string 22</Status>
  <SubCategoryId>18</SubCategoryId>
  <Title>sample string 6</Title>
  <TotalLength>sample string 9</TotalLength>
  <Translator>sample string 10</Translator>
  <Year>sample string 11</Year>
</Book>