Introduction
Returns the auto-enrollment groups available for selection when configuring a Device Add-In on a database. Use this before calling the Add/Remove auto-enrollment groups APIs to discover the set of valid group IDs for a database. Only reseller users can call this method. Groups are database-scoped in MyGeotab and are not constrained by Add-In — every group in the database is a valid auto-enrollment candidate for any Add-In installed on that database, so no solutionId is required.
Parameters

accountId

The account ID for access validation.

apiKey

The API key (User ID) of the authenticated reseller.

databaseName

The database name to fetch available auto-enrollment groups for.

sessionId

The session ID of the authenticated reseller.
Return value
ApiGetAvailableAutoEnrollmentGroupsResponse containing the available groups (empty when the database has no groups).
Code samples

Loading API Runner...