getReviewsByRatingRequest

General Purpose

Provides the reviews of a specific user with a specific rating.
Interface Type

WSDL

The WSDL file is located under the following URL:
<your address>:<fe_port>/PrimoWebServices/services/reviews?wsdl

Input Parameters

ElementDescriptionValueDefaultStructure
getReviewsByRatingRequestRoot element of the XML treeno valueroot element
userIduser idstringsub-element of getReviewsByRatingRequest
ratingrate of reviews to be returned1 – 101sub-element of getReviewsByRatingRequest

Output Parameters

ElementDescriptionValueDefaultStructure
TagsAndReviewsRoot element of the XML treeno valueroot element
ReviewsElement to contain one or several sub-elements (see structure)no valuesub-element of TagsAndReviews
userIduser idstringsub-element of Reviews
docIdrecord id from the PNX tablestringsub-element of Reviews
valuethe review the user wrotestringsub-element of Reviews
ratingrate given by the user to the Item1 to 101sub-element of Reviews
statusstatus of review (0=deleted ,2= Active)“1” to “n”sub-element of Reviews
userDisplayNamename to be displayed with the reviewstringsub-element of Reviews
allowUserNamewhether user agree to display his name next to review“false” or “true”FALSEsub-element of Reviews

Example Input

<getReviewsByRatingRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest\"
                           xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents\">
      <userId>OHAD</userId>
      <rating>8</rating>
</getReviewsByRatingRequest>

Example Output

<TagsAndReviews xmlns="http://com/exlibris/primo/xsd/tagsAndReview/config">
  <Reviews>
    <Review>
      <value>interesting reading</value>
      <docId>demo_aleph000648308</docId>
      <userId>OHAD</userId>
      <status>2</status>
      <rating>8</rating>
      <userDisplayName>Ohad</userDisplayName>
      <allowUserName>true</allowUserName>
    </Review>
    <Review>
      <value>recommended reading</value>
      <docId>demo_aleph000462701</docId>
      <userId>OHAD</userId>
      <status>2</status>
      <rating>8</rating>
      <userDisplayName>Ohad</userDisplayName>
      <allowUserName>true</allowUserName>
    </Review>
  </Reviews>
</TagsAndReviews>