- Ajuntament de Barcelona
- Institut de Cultura de Barcelona
ILS-DI
GetRecords
Given a list of record identifiers, returns a list of record objects that contain bibliographic information, as well as associated holdings and item information. The caller may request a specific metadata schema for the record objects to be returned. This function behaves similarly to HarvestBibliographicRecords and HarvestExpandedRecords in Data Aggregation, but allows quick, real time lookup by bibliographic identifier.
You can use OAI-PMH ListRecords instead of this service.
Parameters
- id (Required)
- list of system record identifiers
- id_type (Optional)
- Defines the metadata schema in which the records are
returned, possible values:
- MARCXML
Example Call
ilsdi.pl?service=GetRecords&id=1+2+99999Example response
<?xml version="1.0" encoding="ISO-8859-1" ?> <GetRecords> <record> <biblioitemnumber>1</biblioitemnumber> <isbn>9782862749198</isbn> <marcxml> <?xml version="1.0" encoding="UTF-8" ?> <record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd" xmlns="http://www.loc.gov/MARC21/slim"> <leader>00397nac a22001451u 4500</leader> <datafield tag="010" ind1=" " ind2=" "> <subfield code="a">9782862749198</subfield> </datafield> <datafield tag="090" ind1=" " ind2=" "> <subfield code="a">1</subfield> </datafield> <datafield tag="101" ind1=" " ind2=" "> <subfield code="a">fre</subfield> </datafield> <datafield tag="100" ind1=" " ind2=" "> <subfield code="a">20080725 frey50 </subfield> </datafield> <datafield tag="200" ind1=" " ind2=" "> <subfield code="a">Jardins d'enfance</subfield> <subfield code="b">LITT</subfield> <subfield code="f">Abécassis, Eliette</subfield> </datafield> <datafield tag="210" ind1=" " ind2=" "> <subfield code="c">cherche midi éditeur</subfield> <subfield code="d">11/2001</subfield> </datafield> <datafield tag="215" ind1=" " ind2=" "> <subfield code="a">180</subfield> </datafield> <datafield tag="225" ind1=" " ind2=" "> <subfield code="a">nouvelles</subfield> </datafield> <datafield tag="995" ind1=" " ind2=" "> <subfield code="9">1</subfield> <subfield code="c">BIB</subfield> <subfield code="2">0</subfield> <subfield code="k">R ABE</subfield> <subfield code="o">0</subfield> <subfield code="e">Secteur Adulte</subfield> <subfield code="b">BIB</subfield> <subfield code="j">7786000200</subfield> <subfield code="q">a</subfield> <subfield code="r">2</subfield> <subfield code="s">Achats</subfield> </datafield> <controlfield tag="001">1</controlfield> </record> </marcxml> <publicationyear>2001</publicationyear> <collectiontitle>nouvelles</collectiontitle> <pages>180</pages> <issues> </issues> <itemtype>LITT</itemtype> <biblionumber>1</biblionumber> <timestamp>2008-09-03 18:43:19</timestamp> <cn_sort>_</cn_sort> <publishercode>cherche midi éditeur</publishercode> <reserves> </reserves> <items> <item> <onloan>2019-10-01</onloan> <holdingbranch>BIB</holdingbranch> <location>Secteur Adulte</location> <datelastborrowed>2019-07-18</datelastborrowed> <biblioitemnumber>526315</biblioitemnumber> <permanent_location>Secteur Adulte</permanent_location> <datelastseen>2019-07-18</datelastseen> <withdrawn>0</withdrawn> <itype>LONG</itype> <notforloan>0</notforloan> <biblionumber>526315</biblionumber> <itemnumber>847332</itemnumber> <price>22.17</price> <dateaccessioned>2016-09-13</dateaccessioned> <issues>10</issues> <homebranchname>Bibliothèque Jean Prunier</homebranchname> <homebranch>BIB</homebranch> <timestamp>2019-07-18 17:03:03</timestamp> <cn_sort>R_ABE</cn_sort> <itemlost>0</itemlost> <renewals>28</renewals> <barcode>040444587X</barcode> <damaged>0</damaged> <replacementpricedate>2018-02-01</replacementpricedate> <itemcallnumber>005.55 SPS/BRA</itemcallnumber> <holdingbranchname>Bibliothèque Jean Prunier</holdingbranchname> </item> </items> </record> <record> <biblioitemnumber>2</biblioitemnumber> <isbn>9782265078031</isbn> <marcxml> <?xml version="1.0" encoding="UTF-8" ?> <record xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.loc.gov/MARC21/slim http://www.loc.gov/ standards/marcxml/schema/MARC21slim.xsd" xmlns="http://www.loc.gov/MARC21/slim"> <leader>00407nac a22001451u 4500</leader> <datafield tag="010" ind1=" " ind2=" "> <subfield code="a">9782265078031</subfield> </datafield> <datafield tag="090" ind1=" " ind2=" "> <subfield code="a">2</subfield> </datafield> <datafield tag="101" ind1=" " ind2=" "> <subfield code="a">fre</subfield> </datafield> <datafield tag="100" ind1=" " ind2=" "> <subfield code="a">20080725 frey50 </subfield> </datafield> <datafield tag="200" ind1=" " ind2=" "> <subfield code="a">(Les) tribulations d'une jeune divorcée</subfield> <subfield code="b">LITT</subfield> <subfield code="f">Abécassis, Eliette</subfield> </datafield> <datafield tag="210" ind1=" " ind2=" "> <subfield code="c">bussière</subfield> <subfield code="d">01/2005</subfield> </datafield> <datafield tag="215" ind1=" " ind2=" "> <subfield code="a">306</subfield> </datafield> <datafield tag="225" ind1=" " ind2=" "> <subfield code="a">fleuve noir</subfield> </datafield> <datafield tag="995" ind1=" " ind2=" "> <subfield code="9">2</subfield> <subfield code="c">BIB</subfield> <subfield code="2">0</subfield> <subfield code="k">R ABE</subfield> <subfield code="o">0</subfield> <subfield code="e">Secteur Adulte</subfield> <subfield code="b">BIB</subfield> <subfield code="j">7786004672</subfield> <subfield code="q">a</subfield> <subfield code="s">Achats</subfield> </datafield> <controlfield tag="001">2</controlfield> </record> </marcxml> <publicationyear>2005</publicationyear> <collectiontitle>fleuve noir</collectiontitle> <pages>306</pages> <issues> </issues> <itemtype>LITT</itemtype> <biblionumber>2</biblionumber> <timestamp>2008-09-03 18:43:19</timestamp> <cn_sort>_</cn_sort> <publishercode>bussière</publishercode> <reserves> </reserves> <items> <item> <biblioitemnumber>2</biblioitemnumber> <withdrawn>0</withdrawn> <holdingbranchname>Bibliothèque Jean Prunier</holdingbranchname> <notforloan>0</notforloan> <replacementpricedate>2008-08-20</replacementpricedate> <itemnumber>2</itemnumber> <location>Secteur Adulte</location> <itemcallnumber>R ABE</itemcallnumber> <date_due></date_due> <itemlost>0</itemlost> <datelastseen>2008-08-20</datelastseen> <homebranch>BIB</homebranch> <homebranchname>Bibliothèque Jean Prunier</homebranchname> <biblionumber>2</biblionumber> <holdingbranch>BIB</holdingbranch> <timestamp>2008-08-20 17:15:51</timestamp> <damaged>0</damaged> <cn_sort>R_ABE</cn_sort> <dateaccessioned>2008-08-20</dateaccessioned> </item> </items> </record> <record>RecordNotFound</record> </GetRecords>