Ready to Learn?Ex Libris products all provide open APIs

General Purpose

The tags/getAllMyTags request returns all of the tags for a specific user.

Input Parameters

ElementDescriptionValue
userIdUser ID.string

 

Output Parameters

ElementDescriptionValue
TagsAndReviewsRoot element of the XML tree.no value
TagsElement to contain one or several sub-elements.
Structure: Sub-element of TagsAndReviews.
no value
MyTagsElement to contain one or several sub-elements.
Structure: Sub-element of Tags.
no value
TagElement to contain one or several sub-elements.
Structure: Sub-element of MyTags.
no value
userIdUser id.
Structure: Sub-element of Tag.
string
docIdRecord id from the PNX table.
Structure: Sub-element of Tag.
string
statusStatus of tag (0=deleted ,2= Active) .
Structure: Sub-element of Tag.
"1" to "n"
valueThe tag name given by the user.
Structure: Sub-element of Tag.
string
EverybodyTagsElement to contain one or several sub-elements.
Structure: Sub-element of Tags.
no value
TagElement to contain one or several sub-elements.
Structure: Sub-element of EverybodyTags.
no value
userIdUser id.
Structure: Sub-element of Tag.
string
docIdRecord id from the PNX table.
Structure: Sub-element of Tag.
string
statusStatus of tag (0=deleted ,2= Active) .
Structure: Sub-element of Tag.
"1" to "n"
valueThe tag name given by the user.
Structure: Sub-element of Tag.
string


 

Input Example

http://primo:170X/PrimoWebServices/xservice/tags/getAllMyTags?userId=demo

Output Example

<TagsAndReviews xmlns="http://com/exlibris/primo/xsd/tagsAndReview/config">
  <Tags>
    <MyTags>
      <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>
      <Tag>
        <value>demotag1</value>
        <docId>demo_voyager968394</docId>
        <userId>demo</userId>
        <status>2</status>
      </Tag>
    </MyTags>
    <EverybodyTags/>
  </Tags>
</TagsAndReviews>