Document template

Upload a document template to the employer dossier

Activity name : <a href="https://developer.loket.nl/Activities/PostDocumentTemplateByEmployerId" target="_blank">PostDocumentTemplateByEmployerId</a>

Metadata: Possible options for fields of the type 'metadata' can be acquired(GET)by adding /metadata to the POST URL.

Upload a document template within the employer dossier (werkgeverdossier). Via Qwoater.

post/v2/providers/employers/{employerId}/documenttemplates

Request

  • Base URL
    https://api.loket.nl
  • URL
    https://api.loket.nl/v2/providers/employers/{employerId}/documenttemplates
  • Auth
    none required

Path parameters

employerIdstring uuid required

The unique identifier of the employer

Headers

Authorizationstring required
Example:Bearer <TOKEN>

A valid Bearer token for authorizing the request.

Acceptstring required
Example:application/json;version=2018-01-01

The accept header is used to influence what type of output is returned and in most cases the version of the output

Request body

qwoaterDocumentIdstring uuid

Qwoater documentId

descriptionstring

The description defined by the submitter. Qwoater: Docfield 33 Omschrijving

yearinteger nullable

The year the document relates to. Qwoater: Docfield 86 Jaar

attributestring nullable

The attribute defined by the submitter. Qwoater: Docfield 32 Kenmerk

dateOfAlertstring date nullable

The time at which document will alerted for cancellation. Qwoater: AlertDate

targetCategorystring metadata

The target category will be used to set the category for a document which is generated with the template. Provided value must be a valid metadata option. Qwoater: DocumentType

dateOfSubmissionstring date

The time at which document was submitted. Qwoater: CreationDate

filenamestring

The name of the file. Qwoater: Filename

filestring

base64 encoded document file.

Example request

{
  "description": "Copy of id card",
  "year": 2017,
  "attribute": "VSP004",
  "dateOfAlert": "2018-05-08",
  "targetCategory": "Arbeidsovereenkomst",
  "dateOfSubmission": "2018-05-08",
  "filename": "BowlsJohn.pdf",
  "file": "YQ=="
}

Response

Accepted

Changes

No recorded changes to this operation across all 6 revisions of this API.