
Notes:
Parameter | Description |
<response> | The variable that stores the response of the invoke URL call. |
<url_value> | The endpoint URL to which the request is sent. Can be a web resource, another Zoho service API, or a third-party API. |
<type_value> | The HTTP method for the request. Supported values:
|
<headers_value> (optional) | Contains HTTP headers to be sent with the request. Headers let you define authentication details, content preferences, and request conditions. |
<parameters_value> (optional) | The data sent in the request body for POST/PUT/PATCH requests. If you pass a plain text value, it is treated as Raw, and the body is sent exactly as defined. If you pass key–value pairs, it is automatically treated as x-www-form-urlencoded, where both keys and values are URL-encoded (for example, a space becomes %20). This format resembles a query string but is placed in the request body instead of the URL. |
<connection_name> (optional) | The connection link name of the required service. To use this, you must first create a connection in Zoho QEngine with the necessary authentication and request details. Once created, the connection is identified by its link name, which you reference here to authorize the invokeUrl call. For detailed steps on creating and managing connections, see Connections |
Use Case: Pull User Data to Automate Dependent Test Steps
In this example, we'll fetch the list of users from the Zoho QEngine portal named Zylker. The QEngine API call is made within the script to pull live portal data that can drive subsequent test actions. For example, fetching the latest user list before assigning test roles, validating user availability, or applying conditions based on user details. By retrieving this data through the API, your test scripts stay adaptive and always reflect the current state of the portal.
response | Stores the API response, which contains the user details of the portal. |
QEngine’s REST API endpoint for fetching users in the Zylker portal. Learn more | |
GET | The HTTP method used to retrieve the records. |
"qengine" | The connection link name authorized with QEngine. |
client_payload | The data you are sending to Zoho Recruit API. It contains the values for the new record and must be formatted according to the API documentation to ensure the request is processed correctly. |
This URL defines where the data is sent and ensures that your API call reaches the clients module in Zoho Recruit. | |
POST | HTTP request method specifying the action. |
client_payload.toString() | The data sent in the request body. The toString() is a built-in function that converts the JSON object into a string so it can be sent in the API request. |
"recruit" | The name of the connection. |