GET SmsApi/Books/{id}
Request Information
URI Parameters
| Name | Description | Type | Additional information |
|---|---|---|---|
| id | integer |
Required |
Body Parameters
None.
Response Information
Resource Description
BookDetailDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| Year | integer |
None. |
|
| Price | decimal number |
None. |
|
| AuthorName | string |
None. |
|
| Genre | string |
None. |
Response Formats
application/json, text/json
Sample:
{
"Id": 1,
"Title": "sample string 2",
"Year": 3,
"Price": 4.0,
"AuthorName": "sample string 5",
"Genre": "sample string 6"
}
application/xml, text/xml
Sample:
<BookDetailDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BookService.Models"> <AuthorName>sample string 5</AuthorName> <Genre>sample string 6</Genre> <Id>1</Id> <Price>4</Price> <Title>sample string 2</Title> <Year>3</Year> </BookDetailDTO>