fullViewRequest
General Purpose
Provides the full view of a specific item
WSDL
The WSDL file is located under the following URL:
:/PrimoWebServices/services/searcher?wsdl
Input Parameters
Element | Description | Value | Default | Structure |
---|---|---|---|---|
fullViewRequest | Root element of the XML tree | no value | root element | |
docId | Recordid from PNX table | string | subelement of FullViewRequest | |
getDelivery | If set to true, this parameter requests GetIt data. | false or true | subelement of FullViewRequest | |
PrimoSearchRequest | Element to hold several subelements (see structure) | no value | subelement of FullViewRequest | |
QueryTerms | Element to hold several subelements (see structure) | no value | subelemen of PrimoSearchRequest | |
BoolOpeator | defines the relationship between the different QueryTerm | “AND” or “OR” | AND | subelement of QueryTerms |
QueryTerm | Element to hold several subelements (see structure) | no value | subelement of QueryTerms | |
IndexField | Where to search | “any” or “title” or “author” or “subject” or “keyword” | subelement of QueryTerm | |
PrecisionOperator | Phrase or key word search | “exact” or “contains’ | subelement of QueryTerm | |
Value | Search Query String | any value | subelement of QueryTerm | |
StartIndex | start index of retrieved result list | “1” to “n” | subelement of PrimoSearchRequest | |
BulkSize | bulk size | “10” or “20” or “30” | subelement of PrimoSearchRequest | |
DidUMeanEnabled | indication of did you mean | “true” or “false” | FALSE | subelement of PrimoSearchRequest |
HighlightingEnabled | indication whether highlights by server is required | “true” or “false” | FALSE | subelement of PrimoSearchRequest |
GetMore | Applicable only for remote search. It simulates the “Get More” functionality. | “true” or “false” | FALSE | subelement of PrimoSearchRequest |
Languages | Element to contain one or several subelements (see structure) | no value | subelement of PrimoSearchRequest | |
Language | Hints input languages to search engine for language recognition | “eng” or “fre” or “ger” (Code for the representation of name of language conform to ISO-639) | subelement of Languages | |
SortByList | Element to contain one or several subelements (see structure) | no value | subelement of PrimoSearchRequest | |
SortField | Fields to sort results by | Index field names available constants list : “title” or “creator” or “lang” or “cdate” | subelement of SortByList | |
DisplayFields | Element to contain one or several subelements (see structure) | no value | subelement of PrimoSearchRequest | |
DisplayField | Used by the search engine highlighter | PNX field names from the Display section | subelement of DisplayFields | |
Locations | Element to contain one or several subelements (see structure) | no value | subelement of PrimoSearchRequest | |
Location | search scope | The Location subelement contains the type and value attributes. For Primo Central only: For blended scopes: | subelement of Locations | |
type | attribute of Location | “local” or “remote” | attribute of Location | |
value | attribute of Location | 1. local: specfies the scope restriction (search constraint). 2. remote: quickSet name | attribute of Location |
Output Parameters
Element | Description | Value | Default | Structure |
---|---|---|---|---|
segments | Root element of the XML tree | no value | root element | |
jagroot | Element to contain one or several subelements (see structure) | no value | subelement of segments | |
result | Element to contain one or several subelements (see structure) | no value | subelement of jagroot | |
querytransformations | Element to contain one or several subelements (see structure) | no value | subelement of result | |
querytransformation | Element to contain one or several subelements (see structure) | no value | subelement of querytransformations | |
action | did_u_mean | any value | subelement of querytransformation | |
query | alternative spelling of the search term | any value | subelement of querytransformation | |
docset | Element to contain one or several subelements (see structure) | no value | subelement of result | |
total_time | time used by the search engine to retrieve results | any number | subelement of docset | |
totalhits | number of results found by search | any number | subelement of docset | |
doc | Element to contain one or several subelements (see structure) | no value | subelement of docset | |
local | defines if search was done locally or remotely | “true” or “false” | true | subelement of doc |
pnx:PrimoNMBib | Element to contain one or several subelements (see structure) | no value | subelement of doc | |
record | Details about how the internal structure of a PNX can be found in the technical guide |
Input Example
<fullViewRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest" xmlns:req="http//www.exlibris.com/primo/xsd/search/request"> <req:PrimoSearchRequest> <req:QueryTerms> <req:BoolOpeator>AND</req:BoolOpeator> <req:QueryTerm> <req:IndexField>any</req:IndexField> <req:PrecisionOperator>contains</req:PrecisionOperator> </req:QueryTerm> </req:QueryTerms> <req:StartIndex>0</req:StartIndex> <req:BulkSize>10</req:BulkSize> <req:DidUMeanEnabled>false</req:DidUMeanEnabled> <req:FacetList/> </req:PrimoSearchRequest> <docId>White_Shore_Voyager81686</docId> <getDelivery>true</getDelivery> <ip>127.0.0.1</ip> <institution>PRIMO</institution> <onCampus>false</onCampus> </fullViewRequest>
Output Example
<SEGMENTS xmlns="http://www.exlibrisgroup.com/xsd/jaguar/search"> <JAGROOT> <RESULT> <DOCSET TOTALHITS="1"> <sear:DOC LOCAL="true" xmlns="http://www.exlibrisgroup.com/xsd/primo/primo_nm_bib" xmlns:sear="http://www.exlibrisgroup.com/xsd/jaguar/search"> <PrimoNMBib> <record> <control> <sourcerecordid>81686</sourcerecordid> <sourceid>White_Shore_Voyager</sourceid> ... </control> <display> <type>book</type> <title>Harry Potter and the deathly hallows</title> <creator>J. K. Rowling</creator> ... </display> <links> <openurl>$$Topenurl_journal</openurl> <backlink>$$Tvoyager_backlink$$Ebacklink</backlink> ... </links> <search> <title>Harry Potter and the deathly hallows /</title> <subject>Potter, Harry (Fictitious character) Fiction.</subject> ... </search> <sort> <title>Harry Potter and the deathly hallows /</title> <creationdate>2007</creationdate> ... </sort> <facets> <language>eng</language> <creationdate>2007</creationdate> ... </facets> <dedup> <f7>harry potter and the deathly hallows</f7> <f8>nyu</f8> ... </dedup> <frbr> <t>1</t> <k1>$$Krowling j k$$AA</k1> </frbr> <delivery> <institution>WHITESHORE</institution> <delcategory>Online Resource</delcategory> </delivery> <ranking> <booster1>1</booster1> <booster2>1</booster2> </ranking> <addata> <aulast>Rowling</aulast> <aufirst>J. K.</aufirst> ... </addata> </record> </PrimoNMBib> <sear:GETIT GetIt2="http://1.1.1.1?ctx_ver=Z39.88-2004&ctx_enc=info:ofi/enc:UTF-8&ctx_tim=2011-06-10T17%3A28%3A55IST&url_ver=Z39.88-2004&url_ctx_fmt=infofi/fmt:kev:mtx:ctx&rfr_id=info:sid/primo.exlibrisgroup.com:primo3-Journal-White_Shore_Voyager&rft_val_fmt=info:ofi/fmt:kev:mtx:book&rft.genre=book&...../> <sear:GETIT GetIt2="" GetIt1="OVP" deliveryCategory="Physical Item"/> <sear:LIBRARIES> <sear:LIBRARY> <sear:library>MAIN</sear:library> ... </sear:LIBRARY> </sear:LIBRARIES> <sear:LINKS> <sear:openurl><![CDATA[></sear:openurl> ... </sear:LINKS> </sear:DOC> </DOCSET> </RESULT> </JAGROOT> </SEGMENTS>