Details of an email template
Activity name : <a href="https://developer.loket.nl/Activities/GetEmailTemplateByEmployerIdAndEmailTemplateId" target="_blank">GetEmailTemplateByEmployerIdAndEmailTemplateId</a>
Get the details of an email template. The available email template placeholders can be aquired by adding /metadata to the url.
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/employers/{employerId}/emailtemplates/{emailTemplateId}
- Authnone required
Path parameters
The unique identifier of the employer
The unique identifier of the email template record
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": "employer",
"isEmailTemplateEditable": true
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.