Class IAWebServiceUtils
java.lang.Object
com.inductiveautomation.factorypmi.designer.tools.IAWebServiceUtils
A basic utility for calling restful web services that return JSON from IA's website
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncallWebService
(String function, String trace) callWebService
(String function, JSONObject req, String trace) static String
getStringSafe
(JSONObject obj, String key, String defaultValue)
-
Constructor Details
-
IAWebServiceUtils
public IAWebServiceUtils()
-
-
Method Details
-
callWebService
-
callWebService
public static IAWebServiceUtils.WebServiceResult callWebService(String function, JSONObject req, String trace) -
getStringSafe
-