client/lib/cloudmersive-dataintegration-api-client/api/backup_convert_api.rb
# Lists all tables stored in a SQL Server Backup (.BAK) file
# @param [Hash] opts the optional parameters
# @option opts [File] :input_file Input file to perform the operation on
# @return [Array<(MssqlBakEnumerateTablesResult, Fixnum, Hash)>] MssqlBakEnumerateTablesResult data, response status code and response headers
Lists all tables stored in a SQL Server Backup (.BAK) file
Lists all tables stored in a SQL Server Backup ( . BAK ) file
def dataintegration_backup_convert_mssql_bak_get_tables_post_with_http_info(opts = {})
      if @api_client.config.debugging
        @api_client.config.logger.debug 'Calling API: BackupConvertApi.dataintegration_backup_convert_mssql_bak_get_tables_post ...'
      end
      local_var_path = '/dataintegration/backup/convert/mssql/bak/get/tables'
      query_params = {}
      header_params = {}
      header_params['Accept'] = @api_client.select_header_accept(['text/plain', 'application/json', 'text/json'])
      header_params['Content-Type'] = @api_client.select_header_content_type(['multipart/form-data'])
      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 => 'MssqlBakEnumerateTablesResult')
      if @api_client.config.debugging
        @api_client.config.logger.debug "API called: BackupConvertApi#dataintegration_backup_convert_mssql_bak_get_tables_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
      end
      return data, status_code, headers
    end
def dataintegration_backup_convert_mssql_bak_get_tables_post_with_http_info ( opts = { } ) if @api_client . config . debugging @api_client . config . logger . debug 'Calling API: BackupConvertApi.dataintegration_backup_convert_mssql_bak_get_tables_post ...' end local_var_path = '/dataintegration/backup/convert/mssql/bak/get/tables' query_params = { } header_params = { } header_params [ 'Accept' ] = @api_client . select_header_accept ( [ 'text/plain' , 'application/json' , 'text/json' ] ) header_params [ 'Content-Type' ] = @api_client . select_header_content_type ( [ 'multipart/form-data' ] ) 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 => 'MssqlBakEnumerateTablesResult' ) if @api_client . config . debugging @api_client . config . logger . debug "API called: BackupConvertApi#dataintegration_backup_convert_mssql_bak_get_tables_post\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data , status_code , headers end
Lists all tables stored in a SQL Server Backup (.BAK) file
Lists all tables stored in a SQL Server Backup ( . BAK ) file
# resource path # query parameters # header parameters # HTTP header 'Accept' (if needed) # HTTP header 'Content-Type' # form parameters # http body (model)
MssqlBakEnumerateTablesResult data, response status code and response headers
MssqlBakEnumerateTablesResult data response status code and response headers
Array<(MssqlBakEnumerateTablesResult, 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