Extract data from a query

Prev Next

API Endpoint: Get Queries

This endpoint retrieves a list of queries available in the system. It is a simple HTTP GET request that returns a collection of query objects in JSON format.

Request

  • Method: GET

  • URL: https://{{base_url}}/zde/api/v2/queries/{query_id}/data?page=1&size=1000&format=OBJECT

  • Query Parameters:

    • page: (integer) The page number of the results to retrieve. Default is 1.

    • size: (integer) The number of results to return per page. Default is 1000.

    • format: (string) The format of the response data. Must be set to OBJECT.

Response

Upon a successful request, the API will return a 200 OK status along with a JSON array containing query objects. - Response Structure: The response is an array of objects, where each object contains its related fields.

Notes

  • Ensure to handle cases where fields may be null or empty in the response.

  • This endpoint does not require any parameters to be passed in the request body.