DELETE Rich168GroupApi2562/Books/{id}

Request Information

URI Parameters

NameDescriptionTypeAdditional information
id

integer

Required

Body Parameters

None.

Response Information

Resource Description

Book
NameDescriptionTypeAdditional information
Id

integer

None.

Title

string

Required

Year

integer

None.

Price

decimal number

None.

Genre

string

None.

AuthorId

integer

None.

Author

Author

None.

Response Formats

application/json, text/json

Sample:
{
  "Id": 1,
  "Title": "sample string 2",
  "Year": 3,
  "Price": 4.0,
  "Genre": "sample string 5",
  "AuthorId": 6,
  "Author": {
    "Id": 1,
    "Name": "sample string 2"
  }
}

application/xml, text/xml

Sample:
<Book xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BookService.Models">
  <Author>
    <Id>1</Id>
    <Name>sample string 2</Name>
  </Author>
  <AuthorId>6</AuthorId>
  <Genre>sample string 5</Genre>
  <Id>1</Id>
  <Price>4</Price>
  <Title>sample string 2</Title>
  <Year>3</Year>
</Book>