Generate a document for an employment
Activity name : <a href="https://developer.loket.nl/Activities/PostGenerateDocumentByEmploymentIdAndDocumentId" target="_blank">PostGenerateDocumentByEmploymentIdAndDocumentId</a>
Metadata: Available templates can be acquired(GET) at Employer level(/v2/v2/providers/employers/{employerId}/documenttemplates/generatedocument/metadata).
Generate a document for an employment and store it in the employment dossier. Via Qwoater.
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/employers/employees/employments/{employmentId}/documenttemplates/{documentId}/generatedocument
- Authnone required
Path parameters
The unique identifier of the employment
The unique identifier of the template
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
Request body
Example request
{
"description": "Copy of id card",
"year": 2017,
"attribute": "VSP004",
"dateOfAlert": "2018-05-08",
"filename": "BowlsJohn.pdf",
"templateEmployerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
"referenceDate": "2020-05-08",
"sendEmailNotification": true
}Response
Accepted. Document is generated and stored.
Changes
No recorded changes to this operation across all 6 revisions of this API.