getAllMyReviewsRequest
General Purpose
Provides all of the tags of a specific user.
Input Parameters
Element | Description | Value | Structure |
---|---|---|---|
getAllMyReviewsRequest | Root element of the XML tree | no value | root element |
userId | user id | string | sub-element of getAllMyTagsRequest |
Output Parameters
Element | Description | Value | Default | Structure |
---|---|---|---|---|
TagsAndReviews | Root element of the XML tree | no value | root element | |
Reviews | Element to contain one or several sub-elements (see structure) | no value | sub-element of TagsAndReviews | |
userId | user id | string | sub-element of Reviews | |
docId | record id from the PNX table | string | sub-element of Reviews | |
value | the user’s review to be added | string | sub-element of Reviews | |
rating | rate given by the user to the Item | 1 to 10 | 1 | sub-element of Reviews |
status | status of tag\review (0=deleted ,2= Active) | “1” to “n” | sub-element of Reviews | |
userDisplayName | name to be displayed with the review | string | sub-element of Reviews | |
allowUserName | whether user agrees to display his name next to review | “false” or “true” | FALSE | sub-element of Reviews |
XSD
Input Example
<getAllMyReviewsRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest\" xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents\"> <userId>demo</userId> </getAllMyReviewsRequest>
Output Example
<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>