Introduction
Gets the Entity(s) for the given entityType. This method can be used in various ways to return all, one or some specific set of data for the Entity(s).
Parameters

credentials

The user's Geotab login Credentials.

propertySelector

The PropertySelector used to limit the Entity properties retrieved from the server. >> Beta: not supported by all types.

resultsLimit

Limit the number of results that can be returned to this search.

search

If null, all Entity(s) are returned. Pass a Search object (ex. DeviceSearch) with the Id property set if you need to return a specific entity. Pass a Search with properties set that needs to be searched on. For example, setting the Name property for a DeviceSearch object will return only devices that match the name provided.

sort

Sort the result based on the sorting details. Refer to Pagination and Sorting sections in Guides > Concepts for more details. >> Beta: not supported by all types.

typeName

Identifies the type of entity that is being passed to the next parameter. For example, Device.
Return value
A enumerable of Entity(s).
Code samples