Introduction
Adds auto-enrollment groups for a Device Add-In on a specific database. Devices in the listed groups will be auto-enrolled in the Add-In going forward, in line with MyGeotab's auto-enrollment behaviour. Only reseller users can call this method. Use GetAvailableAutoEnrollmentGroups to discover valid group IDs for a database. Groups already configured for the Add-In are accepted by MyGeotab and treated as a no-op for that group. is required: null, empty, or entries that are null/whitespace will be rejected with a MyAdminException.
MyGeotab groups are hierarchical. Adding a parent group ID implicitly includes all of its descendant (child) groups — devices in any child group will also be auto-enrolled. Pass only the highest-level group ID needed; there is no need to enumerate child groups individually.
Parameters

accountId

The account ID for access validation.

apiKey

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

databaseName

The database name the Add-In is installed on.

groupIds

The MyGeotab auto-enrollment group IDs to add. Must contain at least one non-empty value.

sessionId

The session ID of the authenticated reseller.

solutionId

The Solution ID of the Add-In to add groups for.
Return value
ApiAddAutoEnrollmentGroupsForAddInResponse echoing what the request targeted.
Code samples

Loading API Runner...