Library Information System: REST Web Service


Click here for a complete list of operations.

GET: book?session_id={session_id}

Description

Retrieves a list of books in the system

How to Execute

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

http://libraryinformationsystem.org/Services/RestService.svc/book?session_id={session_id}

Request Parameters

Name Description
session_id The unique session id

Request Body

Nothing Expected

Return Data

<ArrayOfBook xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SampleApplications.LibraryInformationSystem.Web.DataObjects">
  <Book>
    <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>
</ArrayOfBook>