public static ApiResponse fromResult(ResultInfo.Result sourceResult)
        {
            ApiResponse result = new ApiResponse();
            result.resultID = sourceResult.ResultID;
            result.Message = sourceResult.Message;
            result.Reference = sourceResult.Reference;

            if (sourceResult.ResultType.GetHashCode().ToString() == "0")
            {
                result.Status = "OK";
            }
            else
            {
                result.Status = "Error";
            }
            return result;
        }