getTagsRequest

General Purpose

Provides the Tags of a specific Item

WSDL

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

Input Parameters

ElementDescriptionValueStructure
getTagsRequestRoot element of the XML treeno valueroot element
userIduser idstringsub-element of getTagsRequest
docIdrecord id from the PNX tablestringsub-element of getTagsRequest

Output Parameters

ElementDescriptionValueStructure
TagsAndReviewsRoot element of the XML treeno valueroot element
TagsElement to contain one or several sub-elements (see structure)no valuesub-element of TagsAndReviews
MyTagsElement to contain one or several sub-elements (see structure)no valuesub-element of Tags
TagElement to contain one or several sub-elements (see structure)no valuesub-element of MyTags
userIduser idstringsub-element of Tag
docIdrecord id from the PNX tablestringsub-element of Tag
statusstatus of tag (0=deleted ,2= Active)“1” to “n”sub-element of Tag
valuethe tag name given by the userstringsub-element of Tag
EverybodyTagsElement to contain one or several sub-elements (see structure)no valuesub-element of Tags
TagElement to contain one or several sub-elements (see structure)no valuesub-element of EverybodyTags
userIduser idstringsub-element of Tag
docIdrecord id from the PNX tablestringsub-element of Tag
statusstatus of tag (0=deleted ,2= Active)“1” to “n”sub-element of Tag
valuethe tag name given by the userstringsub-element of Tag

Input Example

<getTagsForRecordRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest" xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents">
  <docId>demo_voyager968394</docId>
  <userId>ohad</userId>
</getTagsForRecordRequest>

Output Example

<TagsAndReviews xmlns=">
  <Tags>
    <MyTags>
      <Tag>
        <value>demotag1</value>
        <docId>demo_voyager968394</docId>
        <userId>demo</userId>
        <status>2</status>
      </Tag>
    </MyTags>
    <EverybodyTags>
      <Tag>
        <value>ohadtag1</value>
        <docId>demo_voyager968394</docId>
        <userId>OHAD</userId>
        <status>2</status>
      </Tag>
      <Tag>
        <value>demotag1</value>
        <docId>demo_voyager968394</docId>
        <userId>demo</userId>
        <status>2</status>
      </Tag>
    </EverybodyTags>
  </Tags>
</TagsAndReviews>