Get Records Count
Purpose
To fetch the count of the records.
Endpoints
Copied
Request Details
Request URL
{api-domain}/iot/{version}/{module_api_name}/actions/count
Supported Modules
Devices, Assets, Locations, Alarms, Datapoints, Products, Manufacturers, Vendors, Certificates, Policies, Commands, Users.
Headers
Authorization: Zoho-oauthtoken {{oauth}}
Scope
scope=ZohoIOT.modules.{module_name}.{operation_type}
Possible module api names
devices, assets, locations, alarms, datapoints, products, manufacturers, vendors, certificates, policies, commands, users.
Possible operation types
ALL - Full access to the record
READ - Get records count from the module
Parameters
Param name, type, mandatory,
- cvid- int, mandatory
To get the records count based on cvid.
Possible values: Positive integer values only.
Sample Request: First API Call
Copied
Sample Response
Copied