Ready to Learn?Ex Libris products all provide open APIs

General Purpose

Provides all of the tags of a specific user

 

Input Parameters

ElementDescriptionValueStructure
getAllMyReviewsRequestRoot element of the XML treeno valueroot element
userIduser idstringsub-element of getAllMyTagsRequest

 

Output

ElementDescriptionValueDefaultStructure
TagsAndReviewsRoot element of the XML treeno value root element
ReviewsElement to contain one or several sub-elements (see structure)no value sub-element of TagsAndReviews
userIduser idstring sub-element of Reviews
docIdrecord id from the PNX tablestring sub-element of Reviews
valuethe user's review to be addedstring sub-element of Reviews
ratingrate given by the user to the Item1 to 101sub-element of Reviews
statusstatus of tag\review (0=deleted ,2= Active)"1" to "n" sub-element of Reviews
userDisplayNamename to be displayed with the reviewstring sub-element of Reviews
allowUserNamewhether user agrees to display his name next to review"false" or "true"FALSEsub-element of Reviews

 

 

Example Input

<getAllMyReviewsRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest\"

 xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents\">

 <userId>demo</userId>

</getAllMyReviewsRequest>

 

Example Output

<TagsAndReviews xmlns="http://com/exlibris/primo/xsd/tagsAndReview/config">

  <Reviews>

    <Review>

      <value>Excellent article</value>

      <docId>demo_voyager841871</docId>

      <userId>demo</userId>

      <status>2</status>

      <rating>1</rating>

      <userDisplayName>demo</userDisplayName>

      <allowUserName>false</allowUserName>

    </Review>

    <Review>

      <value>good55</value>

      <docId>demo_voyager968394</docId>

      <userId>demo</userId>

      <status>2</status>

      <rating>2</rating>

      <userDisplayName>Hila</userDisplayName>

      <allowUserName>true</allowUserName>

    </Review>

    <Review>

      <value>great book</value>

      <docId>demo_aleph000648308</docId>

      <userId>demo</userId>

      <status>2</status>

      <rating>10</rating>

      <userDisplayName>demo</userDisplayName>

      <allowUserName>true</allowUserName>

    </Review>

  </Reviews>

</TagsAndReviews>