List sensors with pagination and filters

Open in ChatGPT Open in ChatGPT to ask questions about this page
Open in Claude Open in Claude to ask questions about this page
Copy as MarkdownCopy this page as markdown to use with AI assistants
View as Markdown Open this page as markdown in a new tab

Returns list of sensors

Request URL

https://{serverurl}/intelligence/sensors/api/sensors Copied!

Scope

DesktopCentralCloud.Platform.READCopied!

Header

Authorization: Zoho-oauthtoken d92d4xxxxxxxxxxxxx15f52

Request Parameters

- Request Headers

AcceptstringMandatory
application/DexViewData.v1+jsonapplication/DexViewData.v1+jsonCopied!

- Query Parameters

SEARCH_COLUMNstringOptional

Search Columns
The following columns are available for searching with their respective data types: EASensors.SENSOR_NAME (String),EASensors.SENSOR_DESCRIPTION (String) .

To search using a single column, provide one value in SEARCH_COLUMN and the corresponding value in SEARCH_VALUE.
Example:
SEARCH_COLUMN=EASensors.SENSOR_NAME
SEARCH_VALUE=Sensor1

To search using multiple columns, provide comma-separated column names in SEARCH_COLUMN and the corresponding comma-separated values in SEARCH_VALUE in the same order.
Example:
SEARCH_COLUMN=EASensors.SENSOR_NAME,EASensors.SENSOR_DESCRIPTION
SEARCH_VALUE=sensorName,batteryPercentageSensor 11

Note: The number of values in SEARCH_VALUE must match the number of columns specified in SEARCH_COLUMN.

SEARCH_VALUEstringOptional

Search Values
Provide the search value(s) corresponding to the column(s) specified in the SEARCH_COLUMN parameter. Multiple values must be provided in the same order as the column names.

pagestringOptional

Page number

pageLimitstringOptional

Number of items per page

Sample Request

Curl
Java
Python
Deluge
PowerShell
Copied!
curl --request GET \
  --url https://appdomains/intelligence/sensors/api/sensors \
  --header 'Accept: application/DexViewData.v1+json' \
  --header 'Authorization: Zoho-oauthtoken  d92d4xxxxxxxxxxxxx15f52'

Response Parameters

- HTTP code 200

Response Body - application/json
JSON Object
Hide Sub-Attributes
viewNamestring

Name of this view

totalRecordsstring

Total number of matching sensor records

startIndexstring

Starting position of records in this page

noOfObjstring

Number of records in this page

dataJSON Array

List of sensor records

Show Sub-Attributes
JSON Object
Show Sub-Attributes
EASensors.SENSOR_IDlong

Sensor unique ID

EASensors.SENSOR_NAMEstring

Name of the sensor

EASensors.SENSOR_DESCRIPTIONstring

Sensor description

EASensors.CREATED_BYstring

User who created the sensor

EASensors.MODIFIED_BYstring

User who last modified the sensor

EASensors.CREATED_TIMEstring

Date and time when it was created

EASensors.MODIFIED_TIMEstring

Date and time of the last modification

EASensorVersions.SENSOR_VERSION_IDlong

Current sensor version ID

EASensorVersions.VERSIONstring

Sensor version number

EASensorExtensionsRel.STATUSstring

How it was created: 0 = Custom, 1 = From template

Sample Response: HTTP 200

Copied!
  {
    "viewName": "string",
    "totalRecords": "string",
    "startIndex": "string",
    "noOfObj": "string",
    "data": [
      {
        "EASensors.SENSOR_ID": 0,
        "EASensors.SENSOR_NAME": "string",
        "EASensors.SENSOR_DESCRIPTION": "string",
        "EASensors.CREATED_BY": "string",
        "EASensors.MODIFIED_BY": "string",
        "EASensors.CREATED_TIME": "string",
        "EASensors.MODIFIED_TIME": "string",
        "EASensorVersions.SENSOR_VERSION_ID": 0,
        "EASensorVersions.VERSION": "string",
        "EASensorExtensionsRel.STATUS": "string"
      }
    ]
  }
                
▼ Show full

Duration: 1 minute | Threshold: 30 | Lock period: 5 minutes

Duration - Time window for the threshold.
Threshold - Number of API calls allowed within the specified duration.
Lock Period - Wait time before consecutive API requests.