v3

latestOpenAPI 3.1.02026-07-311,0939714.5 MB
Last modified version numbers

List of employment version numbers

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

This endpoint is similar to the GetEmployerLastModifiedVersionNumbersByUser endpoint described above. Please check out that description for required context.

In addition to the version on employer level, this endpoint allows you to check if this employment has any changes since your last synchronization. Consequently, this endpoint may be used to further decrease the amount of required calls when performing a synchronization.

As can be seen in the set of 'underlying' tables, also changes in Employee information corresponding to the Employment is reflected in the version number.

How to use

Recommended usage

  • Perform all recommended steps in the description of the employer version number endpoint
  • Use the exact SAME filter parameter to this endpoint. The resulting list will contain only the employment for which changes have occured since your last synchronization.
get/v2/providers/employers/{employerId}/employees/employments/lastmodifiedversionnumbers

Path parameters

employerIdstring uuid required

The unique identifier of the employer

Query parameters

filterstring
Example:cancellationPeriodTimeUnit.key eq 4

Filter the collection

orderBystring
Example:-companyName,address.houseNumber

Order the collection on one or more fields

pageNumberinteger
Example:2

Specifies which page should be returned

pageSizeinteger
Example:20

Specifies the number of objects per page

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

Response

OK