Remove From Eshelf Request
General Purpose
Removes a specific item from the e-shelf
The WSDL file is located under the following URL:
<your address>:<fe_port>/PrimoWebServices/services/eshelf?wsdl
The input is a single XML that requests to remove from user’s institution from under specific folder e-Shelf document. The parameters that are listed in the input parameters section, such as, userId, institution, docId and folderId are part of this single XML and are not sent as separate parameters.
The following table describes the valid parameters in the XML input request:
Element | Description | Value | Structure |
---|---|---|---|
removeFromEshelfRequest | Root element of the XML tree | no value | root element |
userId | user id | string | sub-element of removeFromEshelfRequest |
institution | institution code | string | sub-element of removeFromEshelfRequest |
docId | record id from the PNX table | string | sub-element of removeFromEshelfRequest |
folderId | The folder ID of the subfolder that contains the item. | string | sub-element of removeFromEshelfRequest |
The input is a single XML that requests to remove from user’s institution from under specific folder e-Shelf document. The parameters that are listed in the input parameters section, such as, userId, institution, docId and folderId are part of this single XML and are not sent as separate parameters.
The following table describes the valid parameters in the XML input request:
Element | Description | Value |
---|---|---|
segments | Root element of the XML tree. | no value |
jagroot | Element to contain one or several sub-elements. Structure: Sub-element of segments. | no value |
result | Element to contain one or several sub-elements.Structure: Sub-element of jagroot. | no value |
error | This element contains the message attribute, which contains a success or failure message. | string |
Example Input
<soapenv:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:api="http://api.ws.webservices.primo.exlibris.com"> <soapenv:Header/> <soapenv:Body> <api:removeFromEshelf soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"> <removeEshelfRequest xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <removeFromEshelfRequest xmlns="http://www.exlibris.com/primo/xsd/wsRequest" xmlns:uic="http://www.exlibris.com/primo/xsd/primoview/uicomponents"> <userId>200</userId> <institution>VOLCANO</institution> <docId>White_Shore_Voyager31348</docId> <folderId>90454049</folderId> </removeFromEshelfRequest> </removeEshelfRequest> </api:removeFromEshelf> </soapenv:Body> </soapenv:Envelope>
Example Output
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org /2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <soapenv:Body> <ns1:removeFromEshelfResponse soapenv:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:ns1="http://api.ws.webservices.primo.exlibris.com"> <removeFromEshelfReturn xsi:type="soapenc:string" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"> <![CDATA[<SEGMENTS xmlns="http://www.exlibrisgroup.com/xsd/jaguar/search"> <JAGROOT> <RESULT> <ERROR CODE="0" MESSAGE="Remove from eshelf action completed successfully"/> </RESULT> </JAGROOT> </SEGMENTS>]]></removeFromEshelfReturn> </ns1:removeFromEshelfResponse> </soapenv:Body> </soapenv:Envelope>