Invantive 문서Invantive Cloud의 일부
Invantive 지원 포럼로그인 / 회원가입

EmployerLastModifiedVersionNumbersByUser: Loket.nl REST Current User Employer Last Modified Version Numbers

read only REST

  • 카탈로그: LoketNlRest
  • 스키마: LastModifiedVersionNumbers
  • Label: Current User Employer Last Modified Version Numbers

List of employer last modified version numbers Activity name : GetEmployerLastModifiedVersionNumbersByUser

What does the 'last modified' version number reflect

The sequence number of an employer is a sequential number that reflects whether any changes have occurred in any of its UNDERLYING employments.

More precisely, it reflects the sequence number after the latest change of any database record that relates to an employment within this employer. What we consider to be 'underlying' employment data is based on a predefined set of tables, and of course given id. This predefined set of tables can be found here

The scope of this predefined set is to represent 'static' employment data (vaste gegevens), and thus excludes payroll period data (variabele gegevens).

When to use

This endpoint is most useful for integrations that regularly synchronize Loket employment data with another system. As there are no webhooks available, in practice these integrations would need to regularly poll all data to see whether there any changes in the employment data. The most elementary approach of getting all employment data every time you sync acquires a LOT of calls, in some cases even millions per day. Even though we can handle quite a lot, this is not always the desired way for both client and server. Hence, this endpoint enables an alternative solution to set up such an integration.

How to use

With every update (including additions and deletions) the version number will increase. I.e. the version number will NEVER decrease over time. (Please note this is not only true within the context of a single employer (or any other entity) but applies to all changes in the database). Consequently, in practice one would use this endpoint to check if any empLoyer version numbers have increased by applying the filter query parameter to the version field, for example ?filter=version gt 70429274.

Recommended usage

  • Perform your regular synchronization of static employment data
  • Store the highest version number, for which you have now processed all changes. (You may use the following parameter to do this ?orderBy=-lastModifiedVersionNumber )
  • Next time you want to perform synchronization. Call this endpoint with parameter ?filter=lastModifiedVersionNumber gt {{YourVersionNumber}}
  • Only get employment information for employers that are included in that filtered list. (exclude all other employers as you already know there have been no changes since the last synchronization)

데이터만 조회할 수 있습니다.

API 소스

  • 종점: /providers/employers/lastmodifiedversionnumbers
  • 작전: get /providers/employers/lastmodifiedversionnumbers

표의 열

표 EmployerLastModifiedVersionNumbersByUser의 열은 다음과 같습니다. 각 열에는 SQL 데이터 유형이 지정되어 있습니다. 삽입 및 업데이트 작업 중에는 항상 모든 필수 열에 대해 null이 아닌 새로운 값을 지정해야 합니다.

이름 데이터 유형 라벨 필요한 공간 점수 문서
id guid ID 객체의 고유 식별자(GUID/UUID)
lastModifiedVersionNumber int64 itgen_loketnl_lastmodifiedversionnumber The version number reflects the latest version of all predefined underlying tables of this employer/employment.

릴리즈 노트

드라이버의 테이블, 열, 속성 및 기능에서 릴리스별로 변경된 사항은 다음과 같습니다.