Browse Primo Records
General Purpose
The browse request performs a browse (by a selected field) action on the repository records
Current Known Issues (Version 4.1.0)
1. The browse results section contains record Id’s linked to the specified term, the list includes records from all of the indexed institutions.
2. When using the service to retrieve terms with type the sort does not work properly.
3. The service retrieves an incorrect number of results.
4. Validation checks for input parameters are missing ( bulk > 50, browseField doesnt exist …)
Product Version Compatibility
Version 4.1.0 and later
The first four parameters in the list below are only relevant for restricted scopes. A restricted scope is authorized according to the following parameters: institution, group, and onCampus. Because the institution parameter defines which PC key is sent to Primo Central, it is most important when searching in Primo Central.
Parameter | Description | Mandatory |
---|---|---|
institution | The institution code. The institution which should be browsed | Yes |
browseField | The browsed field. Possible values are: browse_author — Author browse_title — Title browse_subject — Subject browse_callnumber — Call Number browse_callnumber.0 — Library of Congress Call Number browse_callnumber.1 — Dewey Call Number browse_callnumber.3 — SUDOC Call Number | Yes |
searchTxt(freeText0) | The Browse term | Yes |
numOfRecords | Number of entries to present in the response | Yes |
Element | Description | Value |
---|---|---|
browseSearchObject | Root element of the XML tree. | no value |
backTerm | The term to use to get the previous entries | text |
nextPresentedValues | Element to contain one or several subelements. | no value |
nextTerm | The next term | text |
primoTerm | Element to contain one or several subelements. Structure: Subelement of nextPresentedValues. | no value |
displayValue | Element to contain one or several subelements. Structure: Subelement of primoTerm Includes a key/value pair (entry): key — The display value value — The indexed value | entry(key/value) |
docFreq | Structure: Subelement of primoTerm. The counter representing the amount of entries related to the term | Number |
docIds | Structure: Subelement of primoTerm. Record Id’s related to the entry | text |
indexTextValue | Structure: Subelement of primoTerm. The indexed value | text |
type | The entry Type | text |
http://primo.com:170X/PrimoWebServices/xservice/browsesearch/search?institution=01BC_INST&browseField=browse_subject&numOfRecords=10&searchTxt(freeText0)=home
Output Example
<?xml version="1.0" encoding="UTF-8" standalone="yes"?> <browseSearchObject> <backTerm> hiratsuka haru 1886 1971LCNAMES </backTerm> <lastPnxIndex> -1 </lastPnxIndex> <nextPresentedValues> <primoTerm> <displayValue> <entry> <key> History -- Africa -- Statistics </key> <value> history africa statistics </value> </entry> </displayValue> <docFreq> 1 </docFreq> <docIds> primo_alma21347976120001021 </docIds> <indexTextValue> history africa statistics </indexTextValue> </primoTerm> <primoTerm> <displayValue> <entry> <key> History, Ancient -- Sources -- Sources </key> <value> history ancient sources sources </value> </entry> </displayValue> <docFreq> 1 </docFreq> <docIds> primo_alma21340335090001021 </docIds> <indexTextValue> history ancient sources sources </indexTextValue> </primoTerm> </nextPresentedValues> <nextTerm> history generalbisacsh </nextTerm> <numOfUsefTerms> -1 </numOfUsefTerms> </browseSearchObject>