DocsReferenceViewAPI

Reference

ViewAPI

View-scoped calls: rows, columns, formulas, lookups, publishing, private links, tags, alerts and per-view metadata. 51 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);

ViewAPI exposes 51 methods. Method names are PascalCase and identifiers are long.

Methods#

AddAggregateFormula, AddColumn, AddFavorite, AddFormulaColumn, AddLookup, AddRow, AddTagsToView, AutoAnalyse, AutoAnalyseColumn, CopyFormulas, CreateAlert, CreatePrivateURL, CreateSimilarViews, Delete, DeleteAggregateFormula, DeleteColumn, DeleteFormulaColumn, DeleteRow, EditAggregateFormula, EditFormulaColumn, GetAggregateFormulas, GetAlertsInView, GetColumnDependents, GetEmbedURL, GetFormulaColumns, GetLastImportDetails, GetMyPermissions, GetPrivateURL, GetPublishConfigurations, GetTableMetadata, GetViewDependents, GetViewMetadataForAlert, GetViewTags, GetViewURL, HideColumns, MakeViewPublic, RefetchData, RemoveFavorite, RemoveLookup, RemovePrivateAccess, RemovePublicAccess, RemoveTagsFromView, Rename, RenameColumn, ReorderColumns, SaveAs, ShowColumns, SortDataByColumns, UpdatePublishConfigurations, UpdateRow, UpdateSharedDetails

AddAggregateFormula#

csharp
long AddAggregateFormula(string formulaName, string expression, Dictionary config)

Add a aggregate formula in the specified table.

ParameterDescription
formulaNameName of the formula to be created.
expressionFormula expression.
configContains any additional control configurations. Can be null.

Returns (long) — Formula id.

AddColumn#

csharp
long AddColumn(string columnName, string dataType, Dictionary config)

Add a column in the specified table.

ParameterDescription
columnNameThe name of the column.
dataTypeThe data-type of the column.
configContains any additional control configurations. Can be null.

Returns (long) — Column id.

AddFavorite#

csharp
void AddFavorite()

Adds a specified view as favourite.

AddFormulaColumn#

csharp
long AddFormulaColumn(string formulaName, string expression, Dictionary config)

Add a formula column in the specified table.

ParameterDescription
formulaNameName of the formula column to be created.
expressionFormula expression.
configContains any additional control configurations. Can be null.

Returns (long) — Formula id.

AddLookup#

csharp
void AddLookup(long columnId, long refViewId, long refColumnId, Dictionary config)

Add a lookup in the specified child table.

ParameterDescription
columnIdThe id of the column.
refViewIdThe ID of the table contains the parent column.
refColumnIdThe ID of the parent column.
configContains any additional control configurations. Can be null.

AddRow#

csharp
JsonElement AddRow(Dictionary columnValues, Dictionary config)

Add a single row in the specified table.

ParameterDescription
columnValuesContains the values for the row. The column names are the key.
configContains any additional control configurations. Can be null.

Returns (JsonElement) — Added rows details.

AddTagsToView#

csharp
void AddTagsToView(List tagIds, Dictionary config)

Adds multiple tags to the specified view.

ParameterDescription
tagIdsTag ids to be associated with the view.
configContains any additional control configurations. Can be null.

AutoAnalyse#

csharp
void AutoAnalyse(Dictionary config)

Auto generate reports for the specified table.

ParameterDescription
configContains any additional control configurations. Can be null.

AutoAnalyseColumn#

csharp
void AutoAnalyseColumn(long columnId, Dictionary config)

Auto generate reports for the specified column.

ParameterDescription
columnIdThe id of the column.
configContains any additional control configurations. Can be null.

CopyFormulas#

csharp
void CopyFormulas(List formulaNames, long destWorkspaceId, Dictionary config, long? destOrgId)

Copy the specified formulas from one table to another within the workspace or across workspaces.

ParameterDescription
formulaNamesThe name of the formula columns to be copied.
destWorkspaceIdThe ID of the destination workspace.
configContains any additional control configurations. Can be null.
destOrgIdId of the organization where the destination workspace is present. Can be null.

CreateAlert#

csharp
long CreateAlert(string alertName, Dictionary scheduleDetails, List > rules, Dictionary config)

Create a data alert for the specified view.

ParameterDescription
alertNameName of the data alert.
scheduleDetailsContains the schedule configurations of the data alert.
rulesContains the rules to be evaluated by the data alert.
configContains any additional control configurations. Can be null.

Returns (long) — New data alert id.

CreatePrivateURL#

csharp
string CreatePrivateURL(Dictionary config)

Create a private URL for the specified view.

ParameterDescription
configContains any additional control configurations. Can be null.

Returns (string) — Private URL.

CreateSimilarViews#

csharp
void CreateSimilarViews(long refViewId, long folderId, Dictionary config)

Create reports for the specified table based on the reference table.

ParameterDescription
refViewIdThe ID of the reference view.
folderIdThe folder id where the views to be saved.
configContains any additional control configurations. Can be null.

Delete#

csharp
void Delete(Dictionary config)

Delete a specified view in the workspace.

ParameterDescription
configContains any additional control configurations. Can be null.

DeleteAggregateFormula#

csharp
void DeleteAggregateFormula(long formulaId, Dictionary config)

Delete the specified aggregate formula.

ParameterDescription
formulaIdId of the formula column to be deleted.
configContains any additional control configurations. Can be null.

DeleteColumn#

csharp
void DeleteColumn(long columnId, Dictionary config)

Delete a specified column in the table.

ParameterDescription
columnIdThe id of the column.
configContains any additional control configurations. Can be null.

DeleteFormulaColumn#

csharp
void DeleteFormulaColumn(long formulaId, Dictionary config)

Delete the specified formula column.

ParameterDescription
formulaIdId of the formula column to be deleted.
configContains any additional control configurations. Can be null.

DeleteRow#

csharp
int DeleteRow(string criteria, Dictionary config)

Delete rows in the specified table.

ParameterDescription
criteriaThe criteria to be applied for deleting data. Only rows matching the criteria will be deleted. Should be null for delete all rows.
configContains any additional control configurations. Can be null.

Returns (int) — Deleted rows count.

EditAggregateFormula#

csharp
void EditAggregateFormula(long formulaId, string expression, Dictionary config)

Edit the specified aggregate formula.

ParameterDescription
formulaIdId of the aggregate formula to be updated.
expressionFormula expression.
configContains any additional control configurations. Can be null.

EditFormulaColumn#

csharp
void EditFormulaColumn(long formulaId, string expression, Dictionary config)

Edit the specified formula column.

ParameterDescription
formulaIdId of the formula column to be updated.
expressionFormula expression.
configContains any additional control configurations. Can be null.

GetAggregateFormulas#

csharp
JsonElement GetAggregateFormulas()

Returns list of all aggregate formulas for the specified table.

Returns (JsonElement) — Aggregate formula list

GetAlertsInView#

csharp
JsonElement GetAlertsInView()

Returns list of data alerts configured for the specified view.

Returns (JsonElement) — Data alerts list.

GetColumnDependents#

csharp
JsonElement GetColumnDependents(long columnId)

Returns list of dependents views and formulas for the specified column.

ParameterDescription
columnIdId of the column.

Returns (JsonElement) — Dependent details.

GetEmbedURL#

csharp
string GetEmbedURL(Dictionary config)

Returns embed URL to access the specified view.

ParameterDescription
configContains any additional control configurations. Can be null.

Returns (string) — Embed URL.

GetFormulaColumns#

csharp
JsonElement GetFormulaColumns()

Returns list of all formula columns for the specified table.

Returns (JsonElement) — Formula list

GetLastImportDetails#

csharp
JsonElement GetLastImportDetails()

Returns last import details of the specified view.

Returns (JsonElement) — Last import details.

GetMyPermissions#

csharp
JsonElement GetMyPermissions()

Returns permissions for the specified view.

Returns (JsonElement) — Permission details.

GetPrivateURL#

csharp
string GetPrivateURL(Dictionary config)

Returns private URL to access the specified view.

ParameterDescription
configContains any additional control configurations. Can be null.

Returns (string) — Private URL.

GetPublishConfigurations#

csharp
JsonElement GetPublishConfigurations()

Returns publish configurations for the specified view.

Returns (JsonElement) — Publish details.

GetTableMetadata#

csharp
JsonElement GetTableMetadata()

Retrieves metadata information for the current table, including the list of available columns and associated attributes.

Returns (JsonElement) — Table metadata details.

GetViewDependents#

csharp
JsonElement GetViewDependents()

Returns list of dependents views for the specified view.

Returns (JsonElement) — Dependent view list.

GetViewMetadataForAlert#

csharp
JsonElement GetViewMetadataForAlert()

Returns the view metadata that can be used while configuring a data alert for the specified view.

Returns (JsonElement) — View metadata for data alert configuration.

GetViewTags#

csharp
JsonElement GetViewTags()

Returns the list of tags associated with the specified view.

Returns (JsonElement) — Tags list.

GetViewURL#

csharp
string GetViewURL(Dictionary config)

Returns the URL to access the specified view.

ParameterDescription
configContains any additional control configurations. Can be null.

Returns (string) — View URL.

HideColumns#

csharp
void HideColumns(List columnIds)

Hide the specified columns in the table.

ParameterDescription
columnIdsThe array of column ids to be hidden.

MakeViewPublic#

csharp
string MakeViewPublic(Dictionary config)

Make the specified view publically accessible.

ParameterDescription
configContains any additional control configurations. Can be null.

Returns (string) — View URL.

RefetchData#

csharp
void RefetchData(Dictionary config)

Sync data from available datasource for the specified view.

ParameterDescription
configContains any additional control configurations. Can be null.

RemoveFavorite#

csharp
void RemoveFavorite()

Remove a specified view from favourite.

RemoveLookup#

csharp
void RemoveLookup(long columnId, Dictionary config)

Remove the lookup for the specified column in the table.

ParameterDescription
columnIdThe id of the column.
configContains any additional control configurations. Can be null.

RemovePrivateAccess#

csharp
void RemovePrivateAccess()

Remove private link access for the specified view.

RemovePublicAccess#

csharp
void RemovePublicAccess()

Remove public access for the specified view.

RemoveTagsFromView#

csharp
void RemoveTagsFromView(List tagIds, bool dissociateAll, Dictionary config)

Removes multiple tags from the specified view.

ParameterDescription
tagIdsTag ids to be dissociated. Not required when dissociateAll is true.
dissociateAllIf true, dissociates all tags from the view.
configContains any additional control configurations. Can be null.

Rename#

csharp
void Rename(string newViewName, Dictionary config)

Rename a specified view in the workspace.

ParameterDescription
newViewNameThe new name of the view.
configContains any additional control configurations. Can be null.

RenameColumn#

csharp
void RenameColumn(long columnId, string columnName)

Rename a specified column in the table.

ParameterDescription
columnIdThe id of the column.
columnNameThe new name of the column.

ReorderColumns#

csharp
void ReorderColumns(List columnIds, Dictionary config)

Updates the column order of the current table.

ParameterDescription
columnIdsA list containing the full set of column IDs in the new order.
configContains any additional control configurations. Can be null.

SaveAs#

csharp
long SaveAs(string newViewName, Dictionary config)

Copy a specified view within the workspace.

ParameterDescription
newViewNameThe name of the new view.
configContains any additional control configurations. Can be null.

Returns (long) — View id.

ShowColumns#

csharp
void ShowColumns(List columnIds)

Show the specified hidden columns in the table.

ParameterDescription
columnIdsThe array of column ids to be shown.

SortDataByColumns#

csharp
void SortDataByColumns(List columns, int? sortOrder, bool resetSort, Dictionary config)

Sorts the data in the table based on the specified columns.

ParameterDescription
columnsList of column IDs to sort by.
sortOrderSorting order indicator. 1 -> Ascending 2 -> Descending
resetSortIf true, resets any existing sort configuration.
configContains any additional control configurations. Can be null.

UpdatePublishConfigurations#

csharp
void UpdatePublishConfigurations(Dictionary config)

Update publish configurations for the specified view.

ParameterDescription
configContains the control configurations.

UpdateRow#

csharp
JsonElement UpdateRow(Dictionary columnValues, string criteria, Dictionary config)

Update rows in the specified table.

ParameterDescription
columnValuesContains the values for the row. The column names are the key.
criteriaThe criteria to be applied for updating data. Only rows matching the criteria will be updated. Should be null for update all rows.
configContains any additional control configurations. Can be null.

Returns (JsonElement) — Updated rows details.

UpdateSharedDetails#

csharp
void UpdateSharedDetails(Dictionary config)

Update the existing sharing configuration for views.

ParameterDescription
configContains the control configurations.
  • 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