Ready to Learn?Ex Libris products all provide open APIs

General Purpose


Removes all the tags of a specific user
 

WSDL

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

 

Input Parameters

ElementDescriptionValueMandatory
removeUserTagsRequestRoot element of the XML treeno valueYes
userIdUser idstringYes
 

Output

A message about success / failure.

Example Input

<removeUserTagsRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest"
 xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents">
<userId>YO_YO</userId>
</removeUserTagsRequest>

Example Output

<TagsAndReviews xmlns="http://com/exlibris/primo/xsd/tagsAndReview/config">
  <ERROR CODE="0" MESSAGE="Remove user tags action completed successfully"/>
</TagsAndReviews>

Notes

This is done by changing the status value to '0' , which means it is marked for deletion and only in the next indexing process will the record be deleted from the DB.