Please enable JavaScript to view this site.

Navigation: » No topics above this level «


Citizen service number of an employee__Activity name :__ GetCitizenServiceNumberByEmployeeIdGet the citizen service number of an employee. BSN is separately authorized in Loket and is therefore designed to have its own activities.

Catalog: LoketNlRest

Schema: Employee

Retrieve: true

Insert: false

Update: true

Delete: false

Select (REST) API URL: /providers/employers/employees/{employeeId}/citizenservicenumber

Insert (REST) API URL: /providers/employers/employees/{employeeId}/citizenservicenumber

Update (REST) API URL: /providers/employers/employees/{employeeId}/citizenservicenumber

Delete (REST) API URL: /providers/employers/employees/{employeeId}/citizenservicenumber

Field Selection Method: NotRequired

Base Path: content

Select (REST) API Operation: get /providers/employers/employees/{employeeId}/citizenservicenumber

Update (REST) API Operation: put /providers/employers/employees/{employeeId}/citizenservicenumber

Table Function Parameters

The following parameters can be used to control the behaviour of the table function CitizenServiceNumberByEmployeeId. A value must be provided at all times for required parameters, but optional parameters in general do not need to have a value and the execution will default to a pre-defined behaviour. Values can be specified by position and by name. In both cases, all parameters not specified will be treated using their default values.

Value specification by position is done by listing all values from the first to the last needed value. For example with `select * from table(value1, value2, value3)` on a table with four parameters will use the default value for the fourth parameter and the specified values for the first three.

Value specification by name is done by listing all values that require a value. For example with `select * from table(name1 => value1, name3 => value3)` on the same table will use the default values for the second and fourth parameters and the specified values for the first and third.


Data Type


Default Value





The unique identifier of the employee


Table Function Columns

The columns of the table function CitizenServiceNumberByEmployeeId are shown below. Each column has an SQL data type. A new non-null value must be provided for every required column at all times during update.


Data Type







The social security number of the employee used in communication with the Dutch tax authorities. The number has to be a valid Dutch citizen service number (BSN).


13-05-2022 15:37 Version 22.1.40-BETA+3374