Add Tag
General Purpose
The tags/add request adds a tag to a specific item.
Input Parameters
Element | Description | Value |
---|---|---|
userId | User id. | string |
docId | Record id from the PNX table. | string |
value | Tag name. | string |
Output Parameters
The output of this request contains the success or failure acknowledgement for this request.
Element | Description | Value |
---|---|---|
TagsAndReviews | Root element of the XML tree. | no value |
error | This 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>