Search Records
Purpose
To retrieve the records that match your search criteria.
Request URL
https://workerly.zoho.com/workerly/v2/{module_api_name}/search
module_api_name - The API name of the module
Supported modules | |
---|---|
|
Request Method
GET
Scope
scope=ZohoWorkerly.modules.all
(or)
scope=ZohoWorkerly.modules.{module_name}.{operation_type}
(and) note: Additionally, the API supports activated marketplace extensions.
scope=ZohoSearch.securesearch.READ
Possible module names | Possible operation types | |
---|---|---|
| ALL - Full access to the record READ - Get records from the module |
Parameters
Parameter Name | Data Type | Description |
---|---|---|
criteria | String |
|
String | Performs module search by email. All the email fields of a particular module will be searched and listed. | |
phone | String | Performs module search by phone number. All the phone fields of a particular module will be searched and listed. |
word | String | Performs global search by word. |
converted (optional) | String | To get the list of converted records. Default value is false. true - get only converted records false - get only non-converted records both - get all records |
approved (optional) | String | To get the list of approved records. Default value is true. true - get only approved records false - get only records which are not approved both - get all records |
page (optional) | Integer | To get the list of records from the respective pages. Default value for page is 1. |
per_page (optional) | Integer | To get the list of records available per page. Default value for page is 200. |
Note:
Only one of the above four parameters would work at one point of time. Furthermore, if two parameters are given simultaneously, preference will be given in the order criteria, email, phone, and word, and only one of them would work.
The page and per_page parameter is used to fetch records according to their position in Workerly. Let's assume that the user has to fetch 400 records. The maximum number of records that one can get for an API call is 200. So, for records above the 200th position, they cannot be fetched. By changing the values of the page (1, 2) and per_page (200) parameters, the user can fetch all 400 records using 2 API calls.
Sample Request
Copied
Sample Response
Copied