getTagsForRecordRequest

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
getTagsForRecordRequestRoot element of the XML treeno valueroot element
docIdrecord id from the PNX tablestringsub-element of getTagsForRecord Request

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_aleph000596377</docId>
</getTagsForRecordRequest>

Output Example

<TagsAndReviews xmlns="http://com/exlibris/primo/xsd/tagsAndReview/config">
  <Tags>
    <MyTags/>
    <EverybodyTags>
      <Tag>
        <value>nasa</value>
        <docId>demo_aleph000596377</docId>
        <userId>demo</userId>
        <status>2</status>
      </Tag>
      <Tag>
        <value>ohad</value>
        <docId>demo_aleph000596377</docId>
        <userId>demo</userId>
        <status>2</status>
      </Tag>
    </EverybodyTags>
  </Tags>
</TagsAndReviews>