Run this command to install the SDK:

npm install cloudmersive-dataintegration-api-client --save


Or add this snippet to your package.json:

  "dependencies": {
    "cloudmersive-dataintegration-api-client": "^2.0.2"
  }


var CloudmersiveDataintegrationApiClient = require('cloudmersive-dataintegration-api-client');
var defaultClient = CloudmersiveDataintegrationApiClient.ApiClient.instance;

// Configure API key authorization: Apikey
var Apikey = defaultClient.authentications['Apikey'];
Apikey.apiKey = 'YOUR API KEY';



var apiInstance = new CloudmersiveDataintegrationApiClient.BackupConvertApi();

var opts = { 
  'inputFile': Buffer.from(fs.readFileSync("C:\\temp\\inputfile").buffer) // File | Input file to perform the operation on
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
apiInstance.dataintegrationBackupConvertMssqlBakGetTablesPost(opts, callback);

Run this command to install the SDK:

pip install cloudmersive-dataintegration-api-client


from __future__ import print_function
import time
import cloudmersive_dataintegration_api_client
from cloudmersive_dataintegration_api_client.rest import ApiException
from pprint import pprint

# Configure API key authorization: Apikey
configuration = cloudmersive_dataintegration_api_client.Configuration()
configuration.api_key['Apikey'] = 'YOUR_API_KEY'



# create an instance of the API class
api_instance = cloudmersive_dataintegration_api_client.BackupConvertApi(cloudmersive_dataintegration_api_client.ApiClient(configuration))
input_file = '/path/to/file' # file | Input file to perform the operation on (optional)

try:
    # Lists all tables stored in a SQL Server Backup (.BAK) file
    api_response = api_instance.dataintegration_backup_convert_mssql_bak_get_tables_post(input_file=input_file)
    pprint(api_response)
except ApiException as e:
    print("Exception when calling BackupConvertApi->dataintegration_backup_convert_mssql_bak_get_tables_post: %s\n" % e)

Run this command to install the SDK:

Install-Package Cloudmersive.APIClient.NET.DataIntegration -Version 3.0.2


using System;
using System.Diagnostics;
using Cloudmersive.APIClient.NET.DataIntegration.Api;
using Cloudmersive.APIClient.NET.DataIntegration.Client;
using Cloudmersive.APIClient.NET.DataIntegration.Model;

namespace Example
{
    public class DataintegrationBackupConvertMssqlBakGetTablesPostExample
    {
        public void main()
        {
            // Configure API key authorization: Apikey
            Configuration.Default.AddApiKey("Apikey", "YOUR_API_KEY");
            
            

            var apiInstance = new BackupConvertApi();
            var inputFile = new System.IO.FileStream("C:\\temp\\inputfile", System.IO.FileMode.Open); // System.IO.Stream | Input file to perform the operation on (optional) 

            try
            {
                // Lists all tables stored in a SQL Server Backup (.BAK) file
                MssqlBakEnumerateTablesResult result = apiInstance.DataintegrationBackupConvertMssqlBakGetTablesPost(inputFile);
                Debug.WriteLine(result);
            }
            catch (Exception e)
            {
                Debug.Print("Exception when calling BackupConvertApi.DataintegrationBackupConvertMssqlBakGetTablesPost: " + e.Message );
            }
        }
    }
}

To install with Maven, add a reference to the repository in pom.xml:

<repositories>
    <repository>
        <id>jitpack.io</id>
        <url>https://jitpack.io</url>
    </repository>
</repositories>


And add a reference to the dependency in pom.xml:

<dependencies>
<dependency>
    <groupId>com.github.Cloudmersive</groupId>
    <artifactId>Cloudmersive.APIClient.Java</artifactId>
    <version>v4.25</version>
</dependency>
</dependencies>


To install with Gradle, add it in your root build.gradle at the end of repositories:

allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}


And add the dependency in build.gradle:

dependencies {
        implementation 'com.github.Cloudmersive:Cloudmersive.APIClient.Java:v4.25'
}


// Import classes:
//import com.cloudmersive.client.invoker.ApiClient;
//import com.cloudmersive.client.invoker.ApiException;
//import com.cloudmersive.client.invoker.Configuration;
//import com.cloudmersive.client.invoker.auth.*;
//import com.cloudmersive.client.BackupConvertApi;

ApiClient defaultClient = Configuration.getDefaultApiClient();

// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) defaultClient.getAuthentication("Apikey");
Apikey.setApiKey("YOUR API KEY");
// Uncomment the following line to set a prefix for the API key, e.g. "Token" (defaults to null)
//Apikey.setApiKeyPrefix("Token");

BackupConvertApi apiInstance = new BackupConvertApi();
File inputFile = new File("/path/to/file"); // File | Input file to perform the operation on
try {
    MssqlBakEnumerateTablesResult result = apiInstance.dataintegrationBackupConvertMssqlBakGetTablesPost(inputFile);
    System.out.println(result);
} catch (ApiException e) {
    System.err.println("Exception when calling BackupConvertApi#dataintegrationBackupConvertMssqlBakGetTablesPost");
    e.printStackTrace();
}

Run this command to install the SDK:

composer require cloudmersive/cloudmersive_dataintegration_api_client


<?php
require_once(__DIR__ . '/vendor/autoload.php');

// Configure API key authorization: Apikey
$config = Swagger\Client\Configuration::getDefaultConfiguration()->setApiKey('Apikey', 'YOUR_API_KEY');



$apiInstance = new Swagger\Client\Api\BackupConvertApi(
    
    
    new GuzzleHttp\Client(),
    $config
);
$input_file = "/path/to/file"; // \SplFileObject | Input file to perform the operation on

try {
    $result = $apiInstance->dataintegrationBackupConvertMssqlBakGetTablesPost($input_file);
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BackupConvertApi->dataintegrationBackupConvertMssqlBakGetTablesPost: ', $e->getMessage(), PHP_EOL;
}
?>

Add the Objective-C client to your Podfile:



Add the Ruby client to your Gemfile:

gem 'cloudmersive-dataintegration-api-client', '~> 2.0', '>= 2.0.2'


# load the gem
require 'cloudmersive-dataintegration-api-client'
# setup authorization
CloudmersiveDataintegrationApiClient.configure do |config|
  # Configure API key authorization: Apikey
  config.api_key['Apikey'] = 'YOUR API KEY'
  # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
  #config.api_key_prefix['Apikey'] = 'Bearer'
end

api_instance = CloudmersiveDataintegrationApiClient::BackupConvertApi.new

opts = { 
  input_file: File.new('/path/to/inputfile') # File | Input file to perform the operation on
}

begin
  #Lists all tables stored in a SQL Server Backup (.BAK) file
  result = api_instance.dataintegration_backup_convert_mssql_bak_get_tables_post(opts)
  p result
rescue CloudmersiveDataintegrationApiClient::ApiError => e
  puts "Exception when calling BackupConvertApi->dataintegration_backup_convert_mssql_bak_get_tables_post: #{e}"
end

Download and copy the /client folder into your Apex project:

Download Apex Client

SwagBackupConvertApi api = new SwagBackupConvertApi();
SwagClient client = api.getClient();

// Configure API key authorization: Apikey
ApiKeyAuth Apikey = (ApiKeyAuth) client.getAuthentication('Apikey');
Apikey.setApiKey('YOUR API KEY');

Map<String, Object> params = new Map<String, Object>{
    'inputFile' => Blob.valueOf('Sample text file\nContents')
};

try {
    // cross your fingers
    SwagMssqlBakEnumerateTablesResult result = api.dataintegrationBackupConvertMssqlBakGetTablesPost(params);
    System.debug(result);
} catch (Swagger.ApiException e) {
    // ...handle your exceptions
}

Install libcurl in your C/C++ project:

libcurl/7.75.0

This code snippet uses the built-in JavaScript XHR request capability


Walkthrough Video