Tech Blog

Examples of OAI Syntax

In the example here we have an integration profile of Integration Type “OAI Repository Definition” as follows:

We also have a general publishing profile which publishes records in MARC21 xml format.

It publishes to:

  • Set Spec: SetSpecProjectGutenberg
  • Set Name: SetNameProjectGutenberg

OAI Identify to get OAI details:

https://eu00.alma.exlibrisgroup.com/view/oai/EXLDEV1_INST/request?verb=Identify

OAI List Sets:

https://eu00.alma.exlibrisgroup.com/view/oai/EXLDEV1_INST/request?verb=ListSets

OAI List Metadata formats:

https://eu00.alma.exlibrisgroup.com/view/oai/EXLDEV1_INST/request?verb=ListMetadataFormats

OAI List Identifiers where set spec is called “SetNameProjectGutenberg”:

https://eu00.alma.exlibrisgroup.com/view/oai/EXLDEV1_INST/request?verb=ListIdentifiers&metadataPrefix=marc21&set=SetSpecProjectGutenberg

OAI Get Specific Record according to identifier and metadata prefix

https://eu00.alma.exlibrisgroup.com/view/oai/EXLDEV1_INST/request?verb=GetRecord&identifier=oai:urm_oai:99182611100121&metadataPrefix=marc21

OAI List Records without Date Range where set spec is called “SetNameProjectGutenberg”:

https://eu00.alma.exlibrisgroup.com/view/oai/EXLDEV1_INST/request?verb=ListRecords&metadataPrefix=marc21&set=SetSpecProjectGutenberg

OAI List Records according to Date Range where set spec is called “SetNameProjectGutenberg”:

https://eu00.alma.exlibrisgroup.com/view/oai/EXLDEV1_INST/request?verb=ListRecords&metadataPrefix=marc21&set=SetSpecProjectGutenberg&from=2019-01-015T03:06:13Z&until=2019-12-315T03:06:13Z

Leave a Reply