Skip to content

Instantly share code, notes, and snippets.

@lawlesst
Last active August 15, 2016 15:10
Show Gist options
  • Save lawlesst/34aae943d2d29ec5e93e0d83e18bafe0 to your computer and use it in GitHub Desktop.
Save lawlesst/34aae943d2d29ec5e93e0d83e18bafe0 to your computer and use it in GitHub Desktop.
Sample call and response for Links AMR web service
<?xml version="1.0" encoding="UTF-8" ?>
<request xmlns="http://www.isinet.com/xrpc41" src="app.id=InternalVIVODemo">
<fn name="LinksAMR.retrieve">
<list>
<!-- authentication -->
<map>
<val name="username">xxx</val>
<val name="password">xxx</val>
</map>
<!-- what to to return -->
<map>
<list name="WOS">
<val>timesCited</val>
<val>ut</val>
<val>doi</val>
<val>pmid</val>
<val>sourceURL</val>
<val>citingArticlesURL</val>
<val>relatedRecordsURL</val>
</list>
</map>
<map>
<!-- LOOKUP DATA -->
<map name="cite_1">
<val name="doi">10.1103/PhysRevE.89.043308</val>
</map>
<map name="cite_2">
<val name="pmid">21211596</val>
</map>
</map>
</list>
</fn>
</request>
<?xml version="1.0" encoding="UTF-8" ?>
<response
xmlns="http://www.isinet.com/xrpc41" src="app.id=InternalVIVODemo">
<fn name="LinksAMR.retrieve" rc="OK">
<map>
<map name="cite_1">
<map name="WOS">
<val name="relatedRecordsURL">
<![CDATA[http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=TRINTCEL&KeyUT=WOS:000344396200005&DestLinkType=RelatedRecords&DestApp=WOS_CPL&UsrCustomerID=dc101777b18a39292144c8423537a284]]>
</val>
<val name="pmid">24827365</val>
<val name="sourceURL">
<![CDATA[http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=TRINTCEL&KeyUT=WOS:000344396200005&DestLinkType=FullRecord&DestApp=WOS_CPL&UsrCustomerID=dc101777b18a39292144c8423537a284]]>
</val>
<val name="timesCited">14</val>
<val name="ut">000344396200005</val>
<val name="doi">10.1103/PhysRevE.89.043308</val>
<val name="citingArticlesURL">
<![CDATA[http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=TRINTCEL&KeyUT=WOS:000344396200005&DestLinkType=CitingArticles&DestApp=WOS_CPL&UsrCustomerID=dc101777b18a39292144c8423537a284]]>
</val>
</map>
</map>
<map name="cite_2">
<map name="WOS">
<val name="relatedRecordsURL">
<![CDATA[http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=TRINTCEL&KeyUT=WOS:000286789200008&DestLinkType=RelatedRecords&DestApp=WOS_CPL&UsrCustomerID=dc101777b18a39292144c8423537a284]]>
</val>
<val name="pmid">21211596</val>
<val name="sourceURL">
<![CDATA[http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=TRINTCEL&KeyUT=WOS:000286789200008&DestLinkType=FullRecord&DestApp=WOS_CPL&UsrCustomerID=dc101777b18a39292144c8423537a284]]>
</val>
<val name="timesCited">56</val>
<val name="ut">000286789200008</val>
<val name="doi">10.1016/j.amjcard.2010.08.067</val>
<val name="citingArticlesURL">
<![CDATA[http://gateway.webofknowledge.com/gateway/Gateway.cgi?GWVersion=2&SrcApp=PARTNER_APP&SrcAuth=TRINTCEL&KeyUT=WOS:000286789200008&DestLinkType=CitingArticles&DestApp=WOS_CPL&UsrCustomerID=dc101777b18a39292144c8423537a284]]>
</val>
</map>
</map>
</map>
</fn>
</response>
@lawlesst
Copy link
Author

@MassuguGo - sorry, just noticed this. Yes it was a mistake. I've updated the example and verified that it works.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment