Zoho CRM Connector
Documentation
Version: 8
Documentation

EndPoint Read Data (Query Mode - Max 200 Rows Only)


Name

get_module_data_coql

Description

No description available

Parameters

Parameter Label Required Options Description
sql_query sql_query NO Your SQL query for CRM (i.e. COQL (CRM Object Query Language)). Limtation - You can fetch maximum 200 rows using COQL Query. To read all rows use Table mode. (refer to help link to learn more about COQL) [API reference]

Output Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Input Columns

Label Data Type (SSIS) Data Type (SQL) Length Raw Description
There are no Static columns defined for this endpoint. This endpoint detects columns dynamically at runtime.

Examples

SSIS

Use Zoho CRM Connector in API Source component to read data or in API Destination component to read/write data:

Read Data (Query Mode - Max 200 Rows Only) using API Source

Zoho CRM
Read Data (Query Mode - Max 200 Rows Only)
SSIS API Source - Read from table or endpoint

Read Data (Query Mode - Max 200 Rows Only) using API Destination

Zoho CRM
Read Data (Query Mode - Max 200 Rows Only)
SSIS API Destination - Access table or endpoint

ODBC application

Use these SQL queries in your ODBC application data source:

Read using COQL (Zoho Serverside Query Language)

You can write server side query so you dont have to read full data on client side. For COQL LIMIT clause must be 200 or less. For more information check this URL https://zappysys.com/links?url=https://www.zoho.com/crm/developer/docs/api/COQL-Overview.html

SELECT * from get_module_data_coql WITH(sql_query= 'select Last_Name, First_Name, Company from Leads where Company like ''Test'' limit 200')

SQL Server

Use these SQL queries in SQL Server after you create a data source in Data Gateway:

Read using COQL (Zoho Serverside Query Language)

You can write server side query so you dont have to read full data on client side. For COQL LIMIT clause must be 200 or less. For more information check this URL https://zappysys.com/links?url=https://www.zoho.com/crm/developer/docs/api/COQL-Overview.html

DECLARE @MyQuery NVARCHAR(MAX) = 'SELECT * from get_module_data_coql WITH(sql_query= ''select Last_Name, First_Name, Company from Leads where Company like ''''Test'''' limit 200'')';

EXEC (@MyQuery) AT [LINKED_SERVER_TO_ZOHO_CRM_IN_DATA_GATEWAY];