RestConnection class represents a REST API connection created in ASPRunner.NET. It has methods for running requests, authenticating, processing the results etc.
Use getRESTConn function to obtain an instance of RestConnection.
dynamic rconn = null;
rconn = CommonFunctions.getRESTConn("my api");
where "my api" is the REST API Connection name as it appears in ASPRunner.NET.
Omit the name if you have only one REST API connection in your project:
dynamic rconn = null;
rconn = CommonFunctions.getRESTConn();