List email templates for an provider
Activity name : <a href="https://developer.loket.nl/Activities/GetEmailTemplatesByProviderId" target="_blank">GetEmailTemplatesByProviderId</a>
Get a list of the email templates for an provider.
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 provider.
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/{providerId}/emailtemplates
- Authnone required
Path parameters
The unique identifier of a provider
Query parameters
Filter the collection
Order the collection on one or more fields
Specifies which page should be returned
Specifies the number of objects per page
Headers
A valid Bearer token for authorizing the request.
The accept header is used to influence what type of output is returned and in most cases the version of the output
Response
OK
Example response
{
"totalSize": 650,
"pageSize": 250,
"totalPages": 3,
"currentPage": 2,
"version": {
"resourceVersion": "2018-12-31"
},
"messages": [
{
"type": "Warning",
"description": "<some warning>",
"id": "904d6856-6034-4624-bcbc-886188c115c5",
"code": 12
}
],
"_embedded": [
{
"type": {
"id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
"description": "Verlofaanvraag behandeld (voor de indiener)",
"sortOrder": 210
},
"category": {
"key": 3,
"value": "Verlof"
},
"email": {
"subject": "Verlofaanvraag behandeld",
"body": "Je verlofaanvraag is behandeld.",
"senderEmail": "noreply@loket.nl"
},
"dependsOnModule": {
"id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
"description": "Verlof"
},
"definedAtLevel": "provider",
"isEmailTemplateEditable": true
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.