Add Tag

General Purpose

The tags/add request adds a tag to a specific item.

Input Parameters

ElementDescriptionValue
userIdUser id.string
docIdRecord id from the PNX table.string
valueTag name.string

Output Parameters

The output of this request contains the success or failure acknowledgement for this request.

ElementDescriptionValue
TagsAndReviewsRoot element of the XML tree.no value
errorThis element contains the message attribute, which contains a success or failure message.string

Input Example

http://primo:170X/PrimoWebServices/xservice/tags/add?value=demotag1&userId=demo&docId=demo_voyager968394

Output Example

<TagsAndReviews xmlns="http://com/exlibris/primo/xsd/tagsAndReview/config">
  <ERROR MESSEGE="Add tag successfully" CODE="0"/>
</TagsAndReviews>