Skip to content

Zoho: Get Cadence records count

Zoho cadences.listCadencesRecordsCount: arguments, response, policy and SDK examples.

← Cadences operations · Get started

Operation zoho.listcadencesrecordscount

Provider route: GET /crm/v8/settings/automation/cadences/actions/records_count. Alter supplies the connection’s credentials and routing.

Install @alter-ai/sdk @alter-ai/zoho with npm, or alter-sdk-zoho with pip. Supply your connected customer’s grant ID and the arguments described below.

import { App } from "@alter-ai/sdk";
import { ZohoIntegration } from "@alter-ai/zoho";
async function execute(input: Parameters<ZohoIntegration["cadences"]["listCadencesRecordsCount"]>[0]) {
const app = new App({ apiKey: process.env.ALTER_API_KEY! });
try {
const provider = new ZohoIntegration(app, { grantId: process.env.PROVIDER_GRANT_ID! });
const call = await provider.cadences.listCadencesRecordsCount(input);
const result = await call.wait();
return result.bodyJson();
} finally {
await app.close();
}
}
import os
from alter_sdk import App
from alter_sdk_zoho import ZohoIntegration
async def execute(arguments):
async with App(api_key=os.environ["ALTER_API_KEY"]) as app:
provider = ZohoIntegration(app, {"grant_id": os.environ["PROVIDER_GRANT_ID"]})
call = await provider.cadences.list_cadences_records_count(arguments)
result = await call.wait()
return result.body_json()
FieldTypePresenceDescription and constraints
$objectRootAdditional keys: not allowed
queryobjectOptionalAdditional keys: not allowed
query.idsstringOptionalComma-separated cadence ids
Maximum length: 2000

Response media type: application/json. The table describes the pinned successful response. Referenced models link to their complete fields.

FieldTypePresenceDescription and constraints
$JSONRoot
$ (anyOf 1)objectAlternativeRepresents the successful response containing a list of Cadence record count entries.
Additional keys: not allowed
$ (anyOf 1).cadences_records_countarrayRequired within parentRepresents the list of Cadence record count entries in the success response.
Maximum items: 100
$ (anyOf 1).cadences_records_count[]ModelEach itemExpand Get Cadence records count — response body — cadences records count cadences records count item
$ (anyOf 2)ModelAlternativeExpand Get Cadence records count — response body — cadences records count

Referenced models: Get Cadence records count — response body — cadences records count cadences records count item, Get Cadence records count — response body — cadences records count

13 more schemas are linked from the tables above, on the schema pages.

Get Cadence records count — response body — cadences records count cadences records count item
FieldTypePresenceDescription and constraints
$objectRootRepresents the record count data for a Cadence, including the Cadence identifier and the number of enrolled records.
Additional keys: not allowed
cadencesobjectOptionalRepresents the identifier and name details of the Cadence.
Additional keys: not allowed
cadences.idstringOptionalRepresents the unique identifier of a Cadence.
Maximum length: 255
cadences.namestringOptionalRepresents the name of a Cadence.
Maximum length: 100
countJSONOptional
count (anyOf 1)integerAlternativeRepresents the number of records currently enrolled in the Cadence.
Format: int32
count (anyOf 2)stringAlternativePattern: ^-?[0-9]+(?:\.[0-9]+)?(?:[eE][+-]?[0-9]+)?$
Get Cadence records count — response body — cadences records count
FieldTypePresenceDescription and constraints
$objectRootRepresents the response containing the count of records enrolled in each Cadence.
Additional keys: not allowed
cadences_records_countarrayOptionalRepresents the list of Cadences with their corresponding record counts.
Maximum items: 100
cadences_records_count[]JSONEach itemRepresents the record count details for a single Cadence.
cadences_records_count[] (anyOf 1)ModelAlternativeExpand Get Cadence records count — response body — cadences records count cadences records count item
cadences_records_count[] (anyOf 2)ModelAlternativeExpand Get Cadence records count — response body — cadences records count cadences records count item status error

Referenced models: Get Cadence records count — response body — cadences records count cadences records count item status error, Get Cadence records count — response body — cadences records count cadences records count item

Get Cadence records count — response body — cadences records count cadences records count item status error details ambiguity due to
FieldTypePresenceDescription and constraints
$objectRootRepresents error details for ambiguity, listing the fields that caused the ambiguity.
Additional keys: not allowed
ambiguity_due_toarrayRequired within parentRepresents the list of fields that caused the ambiguity during processing.
Maximum items: 100
ambiguity_due_to[]objectEach itemRepresents a field that contributed to the ambiguity, identified by its API name and JSON path.
Additional keys: not allowed
ambiguity_due_to[].api_namestringOptionalRepresents the API name of the field that caused the ambiguity.
Maximum length: 255
ambiguity_due_to[].json_pathstringOptionalRepresents the JSON path of the field that caused the ambiguity.
Maximum length: 255
Get Cadence records count — response body — cadences records count cadences records count item status error details api name, exists in, json path
FieldTypePresenceDescription and constraints
$objectRootRepresents error details when an API name already exists at the specified JSON path.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the field that already exists in the specified JSON path.
Maximum length: 255
exists_inobjectRequired within parentRepresents the location where the API name already exists, identified by its API name and JSON path.
Additional keys: not allowed
exists_in.api_namestringOptionalRepresents the API name at the existing location.
Maximum length: 255
exists_in.json_pathstringOptionalRepresents the JSON path of the existing field location.
Maximum length: 500
json_pathstringRequired within parentRepresents the JSON path of the duplicate field in the request payload.
Maximum length: 500
Get Cadence records count — response body — cadences records count cadences records count item status error details api name, id, json path
FieldTypePresenceDescription and constraints
$objectRootRepresents error details when a field contains an invalid identifier.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the field with invalid data.
Maximum length: 255
idstringRequired within parentRepresents the identifier of the invalid value provided.
Maximum length: 255
json_pathstringRequired within parentRepresents the JSON path of the field with invalid data.
Maximum length: 500
Get Cadence records count — response body — cadences records count cadences records count item status error details api name, json path, param name, supported values
FieldTypePresenceDescription and constraints
$objectRootRepresents error details when a field contains an invalid value, listing the supported values.
Additional keys: not allowed
api_namestringRequired within parentRepresents the API name of the field with invalid data.
Maximum length: 255
json_pathstringRequired within parentRepresents the JSON path of the field with invalid data.
Maximum length: 500
param_namestringOptionalRepresents the parameter name of the field with invalid data.
Maximum length: 255
supported_valuesarrayRequired within parentRepresents the list of supported values for the field.
Maximum items: 25
supported_values[]stringEach itemRepresents a supported value for the field.
Maximum length: 500
Get Cadence records count — response body — cadences records count cadences records count item status error details api name, dependee, json path, param name
FieldTypePresenceDescription and constraints
$objectRootRepresents error details when a required dependency field is missing from the request.
Additional keys: not allowed
api_namestringOptionalRepresents the API name of the field with the missing dependency.
Maximum length: 255
dependeeobjectRequired within parentRepresents the dependee field that is required but missing from the request.
Additional keys: not allowed
dependee.api_namestringOptionalRepresents the API name of the dependee field.
Maximum length: 255
dependee.json_pathstringOptionalRepresents the JSON path of the dependee field.
Maximum length: 500
dependee.param_namestringOptionalRepresents the parameter name of the dependee field.
Maximum length: 255
json_pathstringOptionalRepresents the JSON path of the field with the missing dependency.
Maximum length: 500
param_namestringOptionalRepresents the parameter name associated with the field.
Maximum length: 255
Get Cadence records count — response body — cadences records count cadences records count item status error details api name, dependee, expected data type, json path, param name, supported values
FieldTypePresenceDescription and constraints
$objectRootRepresents error details when a dependent field value does not match the expected values based on the parent field.
Additional keys: not allowed
api_namestringOptionalRepresents the API name of the field with the dependency mismatch.
Maximum length: 255
dependeeobjectRequired within parentRepresents the dependee field associated with the mismatch.
Additional keys: not allowed
dependee.api_namestringRequired within parentRepresents the API name of the dependee field.
Maximum length: 255
dependee.json_pathstringRequired within parentRepresents the JSON path of the dependee field.
Maximum length: 500
expected_data_typestringOptionalRepresents the data type the server expected for the dependent field based on the parent field's value.
Maximum length: 255
json_pathstringOptionalRepresents the JSON path of the field with the dependency mismatch.
Maximum length: 500
param_namestringOptionalRepresents the parameter name associated with the field.
Maximum length: 255
supported_valuesarrayOptionalRepresents the list of supported values for the dependee field.
Maximum items: 25
supported_values[]stringEach itemRepresents a supported value for the dependee field.
Maximum length: 500
$ (anyOf 1)JSONAlternativeRepresents the variant of DependentMismatchDetails in which the allowed values for the dependent field are conveyed through the supported_values list.
$ (anyOf 1).supported_valuesarrayRequired within parentRepresents the list of allowed values for the dependent field given the parent field's current value.
Maximum items: 25
$ (anyOf 1).supported_values[]stringEach itemRepresents an allowed value for the dependent field.
Maximum length: 500
$ (anyOf 2)JSONAlternativeRepresents the variant of DependentMismatchDetails in which the expected data type for the dependent field is conveyed through expected_data_type.
$ (anyOf 2).expected_data_typestringRequired within parentRepresents the data type expected for the dependent field given the parent field's current value.
Maximum length: 255
Get Cadence records count — response body — cadences records count cadences records count item status error details permissions
FieldTypePresenceDescription and constraints
$objectRootRepresents error details when the request fails due to missing permissions.
Additional keys: not allowed
permissionsarrayRequired within parentRepresents the list of required permissions that are missing.
Maximum items: 25
permissions[]stringEach itemRepresents the name of a required permission.
Maximum length: 255
Get Cadence records count — response body — cadences records count cadences records count item status error details object
FieldTypePresenceDescription and constraints
$objectRootRepresents an empty error details object with no additional information.
Additional keys: not allowed

SDK function policy ID: zoho.listcadencesrecordscount. Catalog operation: listCadencesRecordsCount. Rules can name either ID; function rules distinguish managed calls and conservatively cover raw calls sharing the route. Existing grant permissions and policy rules apply. wait() returns an immediate result or waits for a required approval; it never approves the request itself. Persist the approval ID to resume after a restart.

Provider errors retain their response; JSON decoding raises ProviderAPIError for provider failures. ManagedOperationError identifies contract/input/retention errors. See error handling and provider-specific behavior. Sensitive input may be refused before approval storage. A decoding error never resubmits a write.

Official provider source

Report an issue with this page

Necessary

Required for sign-in, security, authorization, and remembering your choices.

Always active

Analytics

Helps us understand which product and documentation features are useful.

Performance diagnostics

Uses performance tracing and privacy-masked session replay to diagnose problems.

You can change these choices at any time from Cookie settings.