public static SqlInt32 APICaller_GET_Extended(SqlString URL, SqlString JsonBody, SqlString Headers) { SqlInt32 ExecutionResult = APIConsumer.DEFAULT_EXECUTION_RESULT; API_Consumer.ExtendedResult ExtResult = new API_Consumer.ExtendedResult(); try { string Result = APIConsumer.GETMethod_Extended(ref ExtResult, URL.ToString(), JsonBody.ToString(), Headers.ToString()); Helper.SendResultValue(ExtResult); } catch (Exception ex) { Helper.SendResultValue(ExtResult); ExecutionResult = APIConsumer.FAILED_EXECUTION_RESULT; } return(ExecutionResult); }