---
title: "ExternalTenantsByEmployerId (Loket.nl REST)"
description: "External Tenants by Employer ID"
language: en
source_language: en
translation_state: complete
canonical: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.ExternalTenant.ExternalTenantsByEmployerId
original: https://documentation.invantive.eu/en/datamodels/loketnl/LoketNlRest.ExternalTenant.ExternalTenantsByEmployerId
updated: 2024-06-10T18:51:26Z
license: https://documentation.invantive.eu/en/
---

# ExternalTenantsByEmployerId: Loket.nl REST External Tenants by Employer ID

`read only` `REST`

- Catalog: `LoketNlRest`
- Schema: `ExternalTenant`
- Label: External Tenants by Employer ID

Get available external tenants (employer scope)
__Activity name:__ GetExternalTenantsByEmployerId
    

Get a list of external tenants that are available within the scope of this employer.
An external tenant may be registered for a Loket user, and may be used to login to Loket using Azure Active Directory. 


Can only retrieve data.

## API Source

- Endpoint: `/providers/employers/{employerId}/externaltenants`
- Operation: `get /providers/employers/{employerId}/externaltenants`

## Parameters

| Name | Data Type | Required | Default | Documentation |
|---|---|:---:|---|---|
| `employerId` | `` | [x] |  | The unique identifier of the employer |

## Table Columns

The columns of the table `ExternalTenantsByEmployerId` are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during insert and update.

| Name | Data Type | Label | Required | Marks | Documentation |
|---|---|---|:---:|---|---|
| `externalId` | `guid` | itgen_loketnl_externalid | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `id` | `guid` | ID | [ ] |  | The unique identifier of an object (GUID/UUID) |
| `name` | `varchar2(28)` | Name | [ ] |  | The user-friendly name of the external tenant |



## Release Notes

What changed per release in the tables, columns, attributes and capabilities of the driver:

- [Loket.nl REST](/en/release-notes/drivers/loket-nl-rest)

