countObjects

On this page
Back to index

Summary

Retrieves the count of objects specified by the provided filter.
request
Stringrequired
This parameter and the value displayed are required; request=countObjects must appear in your query string.
objectType
Stringrequired
The type of object to query for.
filters
Stringoptional
A list of zero or more filter criteria definitions used to define objects to find.
maxIds
Integeroptional
The maximum number of object IDs to return.
viewName
Stringoptional
The name of the view.

Usage

Groovy

import com.electriccloud.client.groovy.ElectricFlow import com.electriccloud.client.groovy.models.* ElectricFlow ef = new ElectricFlow() def result = ef.countObjects( request: "test-request", objectType: "test-objectType" /* optional arguments */ )