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
Element | Description | Value | Structure |
---|---|---|---|
getTagsForRecordRequest | Root element of the XML tree | no value | root element |
docId | record id from the PNX table | string | sub-element of getTagsForRecord Request |
Output Parameters
Element | Description | Value | Structure |
---|---|---|---|
TagsAndReviews | Root element of the XML tree | no value | root element |
Tags | Element to contain one or several sub-elements (see structure) | no value | sub-element of TagsAndReviews |
MyTags | Element to contain one or several sub-elements (see structure) | no value | sub-element of Tags |
Tag | Element to contain one or several sub-elements (see structure) | no value | sub-element of MyTags |
userId | user id | string | sub-element of Tag |
docId | record id from the PNX table | string | sub-element of Tag |
status | status of tag (0=deleted ,2= Active) | “1” to “n” | sub-element of Tag |
value | the tag name given by the user | string | sub-element of Tag |
EverybodyTags | Element to contain one or several sub-elements (see structure) | no value | sub-element of Tags |
Tag | Element to contain one or several sub-elements (see structure) | no value | sub-element of EverybodyTags |
userId | user id | string | sub-element of Tag |
docId | record id from the PNX table | string | sub-element of Tag |
status | status of tag (0=deleted ,2= Active) | “1” to “n” | sub-element of Tag |
value | the tag name given by the user | string | sub-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>