Library Information System: REST Web Service


Click here for a complete list of operations.

GET: book/{id}?session_id={session_id}

Description

Retrieves a single book by its id

How to Execute

To access this REST web service, you need to use the following URL:

https://libraryinformationsystem.org/services/RestService.svc/book/{id}?session_id={session_id}

Request Parameters

Name Description
id The id of the book
session_id The unique session id

Request Body

Nothing Expected

Return Data

<Book xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SampleApplications.LibraryInformationSystem.Web.DataObjects">
  <Author i:nil="true" />
  <AuthorId>0</AuthorId>
  <DateAdded>0001-01-01T00:00:00</DateAdded>
  <DateAddedIso>0001-01-01T05:00:00</DateAddedIso>
  <Genre i:nil="true" />
  <GenreId>0</GenreId>
  <Id>0</Id>
  <IsOutOfPrint>false</IsOutOfPrint>
  <Name i:nil="true" />
</Book>