# EmailTemplatesByEmployerId
List email templates for an employer
__Activity name :__ GetEmailTemplatesByEmployerId
Get a list of the email templates for an employer.
<span style="color:red">========== This endpoint doesn't enclose all emailtemplates yet. Subscribe to the newsletter to receive updates. ==========</span>
__Note:__ Email templates can be defined on employer, provider and loket level. This endpoint returns for each emailtype the email template which is currently in use for the employer.
Select loket.nl (REST) API URL: /providers/employers/{employerId}/emailtemplates
Insert loket.nl (REST) API URL: /providers/employers/{employerId}/emailtemplates
Update loket.nl (REST) API URL: /providers/employers/{employerId}/emailtemplates
Delete loket.nl (REST) API URL: /providers/employers/{employerId}/emailtemplates
Select loket.nl (REST) API Operation: get /providers/employers/{employerId}/emailtemplates
Update loket.nl (REST) API Operation: put /providers/employers/{employerId}/emailtemplates/{emailTemplateId}
Delete loket.nl (REST) API Operation: delete /providers/employers/{employerId}/emailtemplates/{emailTemplateId}
- Catalog: `LoketNlRest`
- Schema: `EmailTemplates`
- Retrieve: true
- Insert: false
- Update: true
- Delete: true
- Field Selection Method: NotRequired
- Base Path: `_embedded[*]`
## Parameters of Table Function
| Name | Data Type | Required | Default Value | Documentation |
|---|:---:|:---:|:---:|---|
| `employerId` | `guid` | ☑ | | The unique identifier of the employer |
## Columns of Table Function
The columns of the table function `EmailTemplatesByEmployerId` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `category_key` | `int64` | | ☐ | The id of the categorie to which the email template belongs. |
| `category_value` | `string` | | ☐ | The name of the categorie to which the email template belongs. |
| `definedAtLevel` | `string` | | ☐ | The level at which the email template is defined. |
| `dependsOnModule_description` | `string` | | ☐ | The name of the module to which the email template belongs. |
| `dependsOnModule_id` | `guid` | | ☐ | The id of the module to which the email template belongs. |
| `email_body` | `string(6000)` | | ☐ | The body text of the email. |
| `email_senderEmail` | `string(255)` | | ☐ | The email address of the sender. |
| `email_subject` | `string(255)` | | ☐ | The subjectline of the email. |
| `isEmailTemplateEditable` | `boolean` | | ☐ | Indicates whether the email template can be editted. |
| `type_description` | `string` | | ☐ | The description of the type of the email template. |
| `type_id` | `guid` | | ☐ | The unique identifier of an object (GUID/UUID) |
| `type_sortOrder` | `int64` | | ☐ | A number used to sort the list. |