Library Information System: REST Web Service


Click here for a complete list of operations.

POST: book/search?session_id={session_id}

Description

Retrieves a list of books by a date range

How to Execute

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

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

Request Parameters

Name Description
session_id The session id

Request Body

<DateRange xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/Inflectra.SampleApplications.LibraryInformationSystem.Web.Services">
  <EndDate>0001-01-01T00:00:00</EndDate>
  <EndDateIso>0001-01-01T05:00:00</EndDateIso>
  <StartDate>0001-01-01T00:00:00</StartDate>
  <StartDateIso>0001-01-01T05:00:00</StartDateIso>
</DateRange>

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>