Last Updated: 1/7/2016 4:59:15 AM

/book

POST CreateBook Creates a book with the given information
http://dev.bookstore.getrevelio.com/book
Creates a book with the given information
1/7/2016 4:59:16 AM

Request Body

{
}
Book was successfully created
{
}
Some information contains invalid values
{
  • "errors": [
    • "String"
    ]
}

GET ListBooksByAuthor Lists the books for authors matching the first and last name criteria
http://dev.bookstore.getrevelio.com/book
Lists the books for authors matching the first and last name criteria
1/7/2016 4:59:15 AM

Query Parameters

List of books
{
}

GET ListBooksByGenre Lists the books for authors matching the genre
http://dev.bookstore.getrevelio.com/book
Lists the books for authors matching the genre
1/7/2016 4:59:16 AM

Query Parameters

  • genre String
  • pageNumber Int32
  • pageSize Int32
List of books
{
}

/book/{bookid}

GET GetBook Gets a book by the given Id
http://dev.bookstore.getrevelio.com/book/{bookId}
Gets a book by the given Id
1/7/2016 4:59:16 AM

Route Parameters

Book details
{
  • "author": {
    • "birthDate": "DateTime",
    • "deathDate" : "DateTime",
    • "firstName": "String",
    • "id" : "String",
    • "lastName": "String"
    },
  • "genre" : "String",
  • "id" : "String",
  • "isbn" : "String",
  • "title" : "String"
}
Book does not exist
"String"