Sidebar

REST local Interface

0 votes
124 views
asked May 5, 2021 by sameer-s-9887 (140 points)
Hi

 

I have a remote LIMS system which supports REST JsonApi for sending/receving Patient/Request/Ordersetc info.

How to setup QIE to connect to remote server and trigger GET to receive json data and then process. I tried HTTP listener as source node and mapping node with following scripts but nothing seems working.

Source Node - HTTP Listener - 20010

Mapping Node - Custom script

var parameterMap = qie.newParameterMap();
var urlTemplate = qie.evaluateTemplate("http://192.168.1.104:8080/*******/********");
var content = qie.evaluateTemplate("<root></root>", false);
var value = qie.callRESTWebService(
   "LIMS2",
   urlTemplate,
   "GET",
   content,
   "application/json",
   parameterMap,
   60000);

LIM2

URL -192.168.1.104:8080/****/****

Aslo tried LIM2 as localhost:20010

If I put URI on Browser of local system I able to view the GET response

1 Answer

0 votes

Please contact support for assistance in this specific scenario.  Support can be reached at 801-335-5101 x2 or support@qvera.com

 

answered May 14, 2021 by jon-t-7005 (4,890 points)
...