ILS-DI

GetAuthorityRecords

Given a list of authority record identifiers, returns a list of record objects that contain the authority records. The function user may request a specific metadata schema for the record objects.

Parameters

id (Required)
list of authority record identifiers
schema (Optional)
specifies the metadata schema of records to be returned, possible values:
  • MARCXML

Example call

ilsdi.pl?service=GetAuthorityRecords&id=1+2+99999

Example response

<xml version="1.0" encoding="UTF-8">;
<GetAuthorityRecords>
  <record>
    <?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>00182     2200085   4500</leader>
    <controlfield tag="001">1</controlfield>
      <datafield tag="200" ind1=" " ind2=" ">
        <subfield code="a">Hugo</subfield>
        <subfield code="b">Victor</subfield>
    </datafield>
      <datafield tag="801" ind1=" " ind2=" ">
        <subfield code="a">France</subfield>
        <subfield code="b">Nimes</subfield>
        <subfield code="c">2010/04/13</subfield>
    </datafield>
    <datafield tag="100" ind1=" " ind2=" ">
        <subfield code="a">20100413     50                    </subfield>
    </datafield>
    <datafield tag="152" ind1=" " ind2=" ">
        <subfield code="b">NP</subfield>
    </datafield>
  </record>
  </record>
  <record>
    <code>RecordNotFound</code>
  </record>
  <record>
    <code>RecordNotFound</code>
  </record>
</GetAuthorityRecords>

Powered by Koha