client/lib/cloudmersive-dataintegration-api-client/api/backup_convert_api.rb
def dataintegration_backup_convert_mssql_bak_to_csv_post_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: BackupConvertApi.dataintegration_backup_convert_mssql_bak_to_csv_post ...'
      end
      # resource path
      local_var_path = '/dataintegration/backup/convert/mssql/bak/to/csv'

      # query parameters
      query_params = {}

      # header parameters
      header_params = {}
      # HTTP header 'Accept' (if needed)
      header_params['Accept'] = @api_client.select_header_accept(['text/csv'])
      # HTTP header 'Content-Type'
      header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
      header_params[:'tableName'] = opts[:'table_name'] if !opts[:'table_name'].nil?

      # form parameters
      form_params = {}
      form_params['inputFile'] = opts[:'input_file'] if !opts[:'input_file'].nil?

      # http body (model)
      post_body = nil
      auth_names = ['Apikey']
      data, status_code, headers = @api_client.call_api(:POST, local_var_path,
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => 'String')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: BackupConvertApi#dataintegration_backup_convert_mssql_bak_to_csv_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
# Converts a SQL Server Backup (.BAK) file into CSV for a specified table
# Input the target table to extract the data as a CSV format file.  Supports a wide array of SQL Server .BAK files and SQL Server backup file versions.  Consumes 1 API call per MB of input data.
# @param [Hash] opts the optional parameters
# @option opts [String] :table_name Name of the table to return
# @option opts [File] :input_file Input file to perform the operation on
# @return [Array<(String, Fixnum, Hash)>] String data, response status code and response headers
Converts a SQL Server Backup (.BAK) file into CSV for a specified table
Input the target table to extract the data as a CSV format file.  Supports a wide array of SQL Server .BAK files and SQL Server backup file versions.  Consumes 1 API call per MB of input data.
Converts a SQL Server Backup ( . BAK ) file into CSV for a specified table Input the target table to extract the data as a CSV format file . Supports a wide array of SQL Server . BAK files and SQL Server backup file versions . Consumes 1 API call per MB of input data .
def dataintegration_backup_convert_mssql_bak_to_csv_post_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: BackupConvertApi.dataintegration_backup_convert_mssql_bak_to_csv_post ...'
      end
      local_var_path = '/dataintegration/backup/convert/mssql/bak/to/csv'
      query_params = {}
      header_params = {}
      header_params['Accept'] = @api_client.select_header_accept(['text/csv'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
      header_params[:'tableName'] = opts[:'table_name'] if !opts[:'table_name'].nil?
      form_params = {}
      form_params['inputFile'] = opts[:'input_file'] if !opts[:'input_file'].nil?
      post_body = nil
      auth_names = ['Apikey']
      data, status_code, headers = @api_client.call_api(:POST, local_var_path,
        :header_params => header_params,
        :query_params => query_params,
        :form_params => form_params,
        :body => post_body,
        :auth_names => auth_names,
        :return_type => 'String')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: BackupConvertApi#dataintegration_backup_convert_mssql_bak_to_csv_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def dataintegration_backup_convert_mssql_bak_to_csv_post_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: BackupConvertApi.dataintegration_backup_convert_mssql_bak_to_csv_post ...' end local_var_path = '/dataintegration/backup/convert/mssql/bak/to/csv' query_params = { } header_params = { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'text/csv' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'multipart/form-data' ] ) header_params [ :' tableName ' ] = opts [ :' table_name ' ] if ! opts [ :' table_name ' ] . nil? form_params = { } form_params [ 'inputFile' ] = opts [ :' input_file ' ] if ! opts [ :' input_file ' ] . nil? post_body = nil auth_names = [ 'Apikey' ] data , status_code , headers = @api_client . call_api ( :POST , local_var_path , :header_params => header_params , :query_params => query_params , :form_params => form_params , :body => post_body , :auth_names => auth_names , :return_type => 'String' ) if @api_client . config . debugging @api_client . config . logger . debug "API called: BackupConvertApi#dataintegration_backup_convert_mssql_bak_to_csv_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Converts a SQL Server Backup (.BAK) file into CSV for a specified table
Input the target table to extract the data as a CSV format file.
Converts a SQL Server Backup ( . BAK ) file into CSV for a specified table Input the target table to extract the data as a CSV format file .
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model)
String data, response status code and response headers
String data response status code and response headers
Array<(String, Fixnum, Hash)>
opts
:input_file Input file to perform the operation on
: input_file Input file to perform the operation on
opts the optional parameters
opts the optional parameters