DocsReferenceBulkAPI

Reference

BulkAPI

Data movement: synchronous import and export, batched import for large files, and asynchronous (job-based) import and export. 14 methods.

csharp
IOrgAPI       org       = ac.GetOrgInstance(orgId);
IWorkspaceAPI workspace = ac.GetWorkspaceInstance(orgId, workspaceId);
IViewAPI      view      = ac.GetViewInstance(orgId, workspaceId, viewId);
IBulkAPI      bulk      = ac.GetBulkInstance(orgId, workspaceId);

BulkAPI exposes 14 methods. Method names are PascalCase and identifiers are long.

Methods#

ExportBulkData, ExportData, GetExportJobDetails, GetImportJobDetails, ImportBulkData, ImportBulkDataAsBatches, ImportBulkDataInNewTable, ImportBulkDataInNewTableAsBatches, ImportData, ImportDataInNewTable, ImportRawData, ImportRawDataInNewTable, InitiateBulkExport, InitiateBulkExportUsingSQL

ExportBulkData#

csharp
Stream ExportBulkData(long jobId)

Export the mentioned job id and return a live response stream. Caller is responsible for closing the stream.

ParameterDescription
jobIdId of the job to be exported.

Returns (Stream) — Stream containing the exported data.

ExportData#

csharp
Stream ExportData(long viewId, string responseFormat, Dictionary config = null)

/// Exports the specified table or view data and returns a stream containing the exported data.

ParameterDescription
viewIdId of the view to be exported.
responseFormatThe format in which the data has to be exported.
configContains any additional control configurations. Can be null.

Returns (Stream) — Stream containing the exported data.

GetExportJobDetails#

csharp
JsonElement GetExportJobDetails(long jobId)

Returns the details of the export job.

ParameterDescription
jobIdId of the export job.

Returns (JsonElement) — Export job details.

GetImportJobDetails#

csharp
JsonElement GetImportJobDetails(long jobId)

Returns the details of the import job.

ParameterDescription
jobIdId of the import job.

Returns (JsonElement) — Import result.

ImportBulkData#

csharp
long ImportBulkData(long viewId, string importType, string fileType, bool autoIdentify, string filePath, Dictionary config)

Asynchronously import the data contained in the mentioned file into the table.

ParameterDescription
viewIdId of the view where the data to be imported.
importTypeThe import type.
fileTypeType of the file to be imported.
autoIdentifyUsed to specify whether to auto identify the CSV format. Allowable values - true/false.
filePathPath of the file to be imported.
configContains any additional control configurations. Can be null.

Returns (long) — The created job id.

ImportBulkDataAsBatches#

csharp
long ImportBulkDataAsBatches(long viewId, string importType, bool autoIdentify, string filePath, int batchSize, Dictionary config)

Import the data contained in the mentioned file into the table.

ParameterDescription
viewIdId of the view where the data to be imported.
importTypeThe import type.
fileTypeType of the file to be imported.
autoIdentifyUsed to specify whether to auto identify the CSV format. Allowable values - true/false.
filePathPath of the file to be imported.
batchSizeNumber of lines per batch.
configContains any additional control configurations. Can be null.

Returns (long) — The created job id.

ImportBulkDataInNewTable#

csharp
long ImportBulkDataInNewTable(string tableName, string fileType, bool autoIdentify, string filePath, Dictionary config)

Asynchronously create a new table and import the data contained in the mentioned file into the created table.

ParameterDescription
tableNameName of the new table to be created.
fileTypeType of the file to be imported.
autoIdentifyUsed to specify whether to auto identify the CSV format. Allowable values - true/false.
filePathPath of the file to be imported.
configContains any additional control configurations. Can be null.

Returns (long) — The created job id.

ImportBulkDataInNewTableAsBatches#

csharp
long ImportBulkDataInNewTableAsBatches(string tableName, bool autoIdentify, string filePath, int batchSize, Dictionary config)

Asynchronously create a new table and import the data contained in the mentioned file into the created table.

ParameterDescription
tableNameName of the new table to be created.
fileTypeType of the file to be imported.
autoIdentifyUsed to specify whether to auto identify the CSV format. Allowable values - true/false.
filePathPath of the file to be imported.
batchSizeNumber of lines per batch.
configContains any additional control configurations. Can be null.

Returns (long) — The created job id.

ImportData#

csharp
JsonElement ImportData(long viewId, string importType, string fileType, bool autoIdentify, string filePath, Dictionary config)

Import the data contained in the mentioned file into the table.

ParameterDescription
viewIdId of the view where the data to be imported.
importTypeThe import type.
fileTypeType of the file to be imported.
autoIdentifyUsed to specify whether to auto identify the CSV format. Allowable values - true/false.
filePathPath of the file to be imported.
configContains any additional control configurations. Can be null.

Returns (JsonElement) — Import result.

ImportDataInNewTable#

csharp
JsonElement ImportDataInNewTable(string tableName, string fileType, bool autoIdentify, string filePath, Dictionary config)

Create a new table and import the data contained in the mentioned file into the created table.

ParameterDescription
tableNameName of the new table to be created.
fileTypeType of the file to be imported.
autoIdentifyUsed to specify whether to auto identify the CSV format. Allowable values - true/false.
filePathPath of the file to be imported.
configContains any additional control configurations. Can be null.

Returns (JsonElement) — Import result.

ImportRawData#

csharp
JsonElement ImportRawData(long viewId, string importType, string fileType, bool autoIdentify, string rawData, Dictionary config)

Import the raw data provided into the table.

ParameterDescription
viewIdId of the view where the data to be imported.
importTypeThe import type.
fileTypeType of the file to be imported.
autoIdentifyUsed to specify whether to auto identify the CSV format. Allowable values - true/false.
rawDataRaw data to be imported.
configContains any additional control configurations. Can be null.

Returns (JsonElement) — Import result.

ImportRawDataInNewTable#

csharp
JsonElement ImportRawDataInNewTable(string tableName, string fileType, bool autoIdentify, string rawData, Dictionary config)

Create a new table and import the raw data provided into the created table.

ParameterDescription
tableNameName of the new table to be created.
fileTypeType of the file to be imported.
autoIdentifyUsed to specify whether to auto identify the CSV format. Allowable values - true/false.
rawDataRaw data to be imported.
configContains any additional control configurations. Can be null.

Returns (JsonElement) — Import result.

InitiateBulkExport#

csharp
long InitiateBulkExport(long viewId, string responseFormat, Dictionary config)

Initiate asynchronous export for the mentioned table (or) view data.

ParameterDescription
viewIdId of the view to be exported.
responseFormatThe format in which the data is to be exported.
configContains any additional control configurations. Can be null.

Returns (long) — Export job id.

InitiateBulkExportUsingSQL#

csharp
long InitiateBulkExportUsingSQL(string sqlQuery, string responseFormat, Dictionary config)

Initiate asynchronous export with the given SQL Query.

ParameterDescription
sqlQueryThe SQL Query whose output is exported.
responseFormatThe format in which the data is to be exported.
configContains any additional control configurations. Can be null.

Returns (long) — Export job id.

  • Errors — the failure envelope and codes worth branching on.
  • Limits — throttles and quotas that apply to these calls.
Zoho Analytics C# SDK · REST API v2 Generated 2026-10-27