GET SmsApi/Books
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
Collection of BookDTO| Name | Description | Type | Additional information |
|---|---|---|---|
| Id | integer |
None. |
|
| Title | string |
None. |
|
| AuthorName | string |
None. |
Response Formats
application/json, text/json
Sample:
[
{
"Id": 1,
"Title": "sample string 2",
"AuthorName": "sample string 3"
},
{
"Id": 1,
"Title": "sample string 2",
"AuthorName": "sample string 3"
}
]
application/xml, text/xml
Sample:
<ArrayOfBookDTO xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/BookService.Models">
<BookDTO>
<AuthorName>sample string 3</AuthorName>
<Id>1</Id>
<Title>sample string 2</Title>
</BookDTO>
<BookDTO>
<AuthorName>sample string 3</AuthorName>
<Id>1</Id>
<Title>sample string 2</Title>
</BookDTO>
</ArrayOfBookDTO>