Loket.nl API (V2)
Download OpenAPI specification:
Is this your first time here? Please check out our introduction to Loket (API)
The initial loading time of this developer portal may be very long due to the large number of endpoints designs being rendered when loading the page. We are looking into an alternative solution but for now please bear in mind.
The Loket.nl API is a RESTful API that exposes the data and features of the Loket.nl platform. The API accepts and returns JSON and can only be accessed by registered users. This documentation describes version 2 of the API.
Are you looking to partner up and start building an integration based on the Loket RESTful API? Please check out the steps for partners on our website .
Have you received your client and user credentials from us? Check out the following Postman collection to help you start making your first API calls on our acceptance environment. We would recommend to install the Postman desktop app.
Do you want to contact us with any further questions or remarks regarding the Loket RESTful API? Please send an email to api@loket.nl, and we will get back to you.
The Loket.nl API has two different environments. The first environment is the "acceptance" environment which is used during development and returns test data. The second environment is the production environment which is to be used exclusively by approved applications. Both environments have their own URLs.
- The acceptance environment can be accessed at https://api.loket-acc.nl/v2/
- The production environment can be accessed at https://api.loket.nl/v2/
The endpoints are defined using the OpenAPI 3.1 specification, an industry-wide recognized standard for describing REST API's.
Please note: the endpoint documentation in this portal is not designed to be fully compatible with any automatic code generation tools.
Over the course of time the API, and policies regarding the API can and will change. These changes are subject to the following guidelines.
The following states hold true for the change policy for this API.
- Loket.nl may sometimes introduce changes to the API and policies without advance notice.
- Loket.nl will try to inform users of any (breaking) change in advance.
- Loket.nl will not be liable to you or any third party for such modifications or any adverse effects resulting from such modifications.
- Loket.nl will try to avoid breaking changes as much as possible.
In regard to changes Loket.nl will strive to adhere to the following notification periods per type of change. Due to our versioning strategy at resource level this API has the possibility to run multiple versions of the same resource at one time. This allows for a window in which both the old and new version are available. Allowing for a gradual move to the new version.
Type of change | Notification period | Support period old version |
---|---|---|
Non breaking change | 2 weeks | no new version |
Breaking change | 2 weeks | 6 months |
Critical | Due to the nature of these changes we might not be able to follow the normal procedure for change managment | depends on the severity of the issue |
We define a non breaking change as follows. Any change to the API that does not cause failures in the applications that consume that API.
- Introducing a new optional field to an existing resource
- Introducing a new endpoint
- Introducing a new operation (GET/PUT/POST/PATCH/DELETE)
- Introducing a new optional parameter to an endpoint
- Introducing a new version for a resource
We define a breaking change as follows. any change to an API that could potentially cause failures in the applications that consume that API.
- Changing an existing JSON element (name, datatype, pattern, min/max length etc)
- Removing a JSON element, endpoint, operation or parameter
- Introducing a required JSON element
- Introducing a required parameter to an endpoint
- Passing the
obsoleteDate
of a version for a resource
The Loket API uses two types of versioning. API versioning and resource versioning.
API versioning
API versioning is done via the path where after the domain URL (api.loket.nl) the path starts with the API version. The current version of the API is V2. The API version is expected to change rarely as resource versioning is available to tackle most issues that need versioning.
Resource versioning
Every JSON resource in the API is versioned via the Accept header.
Allowing users of the API to influence what version is returned by setting the mandatory accept header.
The Accept header of request should have a value like application/json;version=2018-01-01
.
Here, the second part of the header is used to refer to a specific version of the resource (2018-01-01).
When calling the API it is possible to supply other dates rather than the exact resources version(s).
The businesslogic will select the version that is ON or BEFORE the given date. If no accept header with a resource version is given the newest version of the resource is returned
For example: let's say there are two versions of a resource.
These are 2018-01-01 and 2018-09-01. When calling the API you supply application/json;version=2018-08-01
,
in that case the API will use the version 2018-01-01 as its the nearest version in the past.
A response returns what resourceVersion
was used and the 'obsoleteDate' of that version (in most cases this is NULL).
The obsoleteDate
indicates when the resources version will no longer be available via the API.
With the introduction of a new version of a resource the obsoleteDate
for the old version will be set to 6 months after the introduction of the new resource.
Allowing consumers of the resource 6 months to incorporate the change. Failure to do so will likely lead to failure in the implementation.
In this developer portal you can find the service contracts for each, active, version of a resource. If, only if, there are multiple versions of a resource you can select the corresponding schema at that resource.
The changelog for this API can be found here.
We strongly advise every user ofthe Loket REST API the subscribe to the email feed. Please check out the link on the changelog page.
Your use and access to the API is expressly conditioned on your compliance with the policies and restrictions related to the API. If Loket.nl believes that you have or attempted to violate any term, condition, or the spirit of these policies or agreements, your right to access and use the API may be temporarily or permanently revoked.
Authorization in the Loket API is based on the industry-standard OAuth 2.0 protocol. For general information on OAuth 2.0 we kindly refer to the publicly-available documentation, https://oauth.net/2/
An authorized user is required to call the Loket API.
Note: This is an SSL-only API.
Note: Only TLS 1.2 is supported.
Environment | TokenUrl |
---|---|
Acceptance | https://oauth.loket-acc.nl/token |
Production | https://oauth.loket.nl/token |
The following OAuth 2.0 flows are supported
- Authorization Code flow (standard)
- Refresh Token flow (extension on the Authorization Code Flow)
- SSO flow (single sign-on)
- Password flow
For most clients only the authorization_code (and thus refresh_token) will be supported. Password grant type is not available for an external client.
Please click the link below to see documentation on implementing the authorization code flow by external clients.
Documentation on implementing the OAuth 2.0 authorization code flow
After the authorization code flow yields a refresh token the refresh_token grant can be used to obtain an access/bearer token. The expire time of the access/bearer is also returned in the response please take this into account. With the refresh token flow the two factor step will be skipped.
Refresh token request example:
POST /token
grant_type=refresh_token&refresh_token={RefreshToken123}&client_Id={Client123}&client_secret={Secret123}
Refresh token response example:
{
"access_token": "JESJDhMBy0NPTM9SiXmYAzW45clOiQ5wSyDq3VWluguGNoKym4WPSiJoTDx67TQ",
"token_type": "bearer",
"expires_in": 3599,
"refresh_token": "nGJtF6j6SeQbHAg",
"two_factor_state": "None"
}
The SSO (single sign-on) flow is based on OAuth 2.0 and requires the authorization flow to be completed.
For more information see: Documentation on OAuth 2.0 SSO flow (for allowed clients)
Please note: Among other things, it is possible to set up an SSO flow with both Loket en Werknemerloket.
The password flow is typically NOT enabled for external clients. Only by exception will the password flow be enabled for security (and practical) reasons.
Password token request examples:
POST /token
grant_type=password&username={UserName123}&password={Password123}&client_Id={Client123}&client_secret={Secret123}
Whether client_secret is required is dependent on the configuration of the client.
In this section we explain how the API authorization service determines if a request is authorized or not.
In almost all use-cases a Loket user should meet the following requirements to successfully setup an integration with that user.
- The user must be a normal Loket user (so NOT a webservice user)
- The user must be active (not blocked)
- The user must have access to an employer
- For provider users this is done by assigning the user to the appropriate Team(s)
- For employer users this is done by creating a user for or linking the user to the appropriate employer(s)
- The user must have all appropriate rights
- For provider users this is done by assigning appropriate rights via Team (or alternatively, directly to the user)
- For employer users this is done by assigning appropriate rights to the user on employer level
How to setup an integration is described in the Authentication section.
Side notes:
- A user can have access to multiple employers with different rights per employer.
- Please note that users set up to use the SOAP webservices (webservicegebruikers) are in no way suited to perform calls to the RESTful API, these require entirely different user set-ups.
- User management on production is typically done by the provider (i.e. the accountant) and sometimes the employer. This is NOT something Loket.nl itself can do.
The Loket.nl API accepts and returns JSON. Comform the OpenAPI 3.0 specification the following data types are supported:
- string
- number (point is used to separate the integer part from the fractional part of a number)
- integer (from OpenAPI)
- object
- array
- boolean
For most of these types, further specifications can be found in the format
and pattern
specifications in the service contract.
For example a format: date
added to a string field indicates a valid date must be supplied.
Fields of the type 'metadata' are fields for which the possible values can be acquired via the metadata endpoint of the resource.
The metedata can be obtained by appending /metadata to the current endpoint. Using the GET verb the endpoint will return a JSON output with "all" the metadata for the given resource. In some cases multiple requests are needed to obtain all the metadata required, an exmple is given below. Typically different metadata endpoints are availalbe for the POST and the PUT endpoint.
If metadata endpoints are avaible for a given endpoint/resource is mentioned in the description of that endpoint.
Example response
{[
{
"field": "gender"
options: [
{
"key": 1,
"value":"Man"
}
{
"key": 2,
"value":"Vrouw"
}
]
},
{
"field": "country"
options: [
{
"isoCode":"NL",
"key": 530,
"value":"Nederland"
}
{
"isoCode":"BE",
"key": 540,
"value":"België"
}
]
}
]}
Example urls
Acquiring metadata for a POST Wage
/v2/providers/employers/employees/employments/{employmentId}/wages/metadata
Acquiring metadata for a PUT employee
/v2/providers/employers/employees/{employeeId}/metadata
Multiple requests to get all the metadata
In some cases there are metadata fields dependant on the selected value off another metadata field. Such is the case when adding a new concept employee. This is done in the employer context while several of the metadata fields are dependant on the payrollAdministration context.
For example:
Request 1, first of a normal metadata request is performed. The response for this request will contain a list of payrolladministration for the given employer.
/v2/providers/employers/b869ded6-0659-4d8d-9a8a-f9e22425ec9c/jobapplicant/metadata
Request 2, when a payrolladministration is selected perform a second request to acquire the payrolladministration specific metadata.
/v2/providers/employers/jobapplicant/metadata/payrolladministration/54369214-14a1-41ab-892a-ea8438e34d6f
Request 3, if a payScale
is selected perform a third request to acquire the payGrade
for that payScale
.
/v2/providers/employers/jobapplicant/metadata/salaryScaleType/54369214-14a1-41ab-892a-ea8438e34d6f
Types of metadata
We diferentiate between two types of metadata.
- Generic metadata field. The possible values for these fields are the same for every object no matter the provider, employer or employee etc. Examples are: country, gender and nationality.
- Context specific metadata field. Examples of contexts are employer, payroll administration, provider and Loket.nl. In most cases the possible values for these field are resources in themselves and can be managed via the API. If a metadata field is context specific the context is given in the description of the field. Examples are: function, department and leaveType.
Note: some context specific metadata field can have multiple contexts.
For example: it is possible to define an export set in the provider context. Making that export set available for all payroll administrations linked to the provider. It is also possible to add an export set in the payroll administration context. That export set is only available to that payroll administration. When requesting the metadata of export set the user will be presented with a combined list of the provider and payroll administration export sets.
Many fields in the API have a default value.
In order to assist our API users to adhere to these defaults when creating a record (POST) we provide /defaults
endpoints.
- An object returned by the
defaults
endpoint resembles a fully expanded GET-object of that resource. The only case when a part of the object is NOT fully expanded is for a metaData-object that does not have a default value (for example '"gender":NULL').- Whether an object within the resource is of the type metaData is indicated in the service contracts of that resource.
- Context is determined by the GUID given in the Path. Examples are employer, payroll administration, employee and employment.
- A scope is sometimes required to determine the defaults values. A scope could be a date by which Loket.nl can determine what default was active on that date. The scope can be set by supplying additional paraments in the request. If a scope is required but none is given the currently active or last know value is returned.
- The fields with no default will be set to null (even if the field is normally non-nullable).
- Because the GET-object is returned the readonly fields are also returned.
An example endpoint would be:
/v2/providers/employers/employees/employments/{employmentId}/payrollperioddata/defaults
resulting in the following output:
{
"payrollPeriod": null,
"shift": {
"shiftNumber": 1
},
"payslipType": {
"key": 2
},
"payslipText": null,
"distributionUnit": {
"key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
},
"costCenter": {
"key": 2
},
"costUnit": {
"key": 2
},
"payrollComponents": []
}
Note: Defaults endpoints are not yet generically available. If a Defaults endpoint exists this will be explicitly stated at that specific resource.
For most of the resources with a startDate and endDate a chain is maintained. Chain meaning that no records can overlap in time. Loket.nl has two types of chains.
Broken chain: It is possible for gaps te exist between the records. It is also possible to add new records in between or before existing records aslong as no overlap occures.
Linked chain: No gaps between records are allowed. Its only possible to add new records to the end of the chain resulting in the closing of the reviouse record with the start date -1 as end date.
Note: Chains are sometimes maintained with an additional context. For example, For benefits and deductions
the broken chain is maintained per payrollComponent
.
It is possible to have multiple active records for different payrollComponent
never two active records for the same payrollComponent
.
For some GET (list) endpoints the API supports exporting (part of) the output JSON as a XML/CSV file. This is done by setting the X-ReportInput
and Accept
header.
The Accept
header supports the following 2 options:
- CSV (text/csv;version=yyyy-MM-dd)
- Excel (application/vnd.openxmlformats-officedocument.spreadsheetml.sheet;version=yyyy-MM-dd)
The X-ReportInput
is a custom header that requires a JSON object with the following structure as input.
- fileNameWithoutExtension --> The filename without extension for the report 'FileNameWithoutExtension'
- delimiter --> The delimiter to be used. If not set "," is used
- decimalSeparator --> The decimalSepartor for number fields. If not set "." is used.
- fields --> Array of fields.
The 'fields' object contains one or more fields with the following properties:
- fieldName --> A Xpath reference to the field to be included in the export
- reportColumnName --> The column name for the field
- format --> Allows only for date formatting. e.g. dd-MM-yyyy for csv or dd-mm-yyyy for Excel (Excel only usses lowercase)
3.1 For CSV: see https://learn.microsoft.com/en-us/dotnet/standard/base-types/custom-date-and-time-format-strings
3.2 For Excel: https://support.microsoft.com/en-us/office/number-format-codes-5026bbd6-04bc-48cd-bf33-80f18b4eae68
Example X-ReportInput
:
{
"fileNameWithoutExtension":"MyExport",
"delimiter": ";",
"decimalSepartor": ",",
"fields":
[
{
"fieldName": "startDate",
"reportColumnName": "In dienst datum",
"format": "dd-MM-yyyy"
},
{
"fieldName": "personalDetails.firstName",
"reportColumnName": "First Name"
},
{
"fieldName": "personalDetails.lastName",
"reportColumnName": "Last Name"
}
]
}
Example request:
curl
--location
--request GET 'https://api.loket.nl/v2/providers/employers/155c8440-8ff6-4776-98db-5d2243a073e3/employees?orderby=employeeNumber' \
--header 'Content-Type: application/json' \
--header 'Accept: text/csv;version=2020-08-18' \
--header 'X-ReportInput: {"FileNameWithoutExtension":"MyExport","Fields":[{"fieldName":"personalDetails.initials","reportColumnName":"Initials"},{"fieldName":"personalDetails.firstName","reportColumnName":"First name"},{"fieldName":"personalDetails.lastName","reportColumnName":"Last name"}]}' \--header 'Authorization: Bearer ZKoiC_g_NfYA3v0' \
A request to the Loket.nl API consists of several components. Each of these components are discussed in this section.
The API can be accessed at https://api.loket.nl.
The version of the API is specified in the URL. The current version of the Loket.nl API is version 2. To access version 2 of the API, one simply appends v2
to the base URL. The full base URL of the API is therefore https://api.loket.nl/v2.
The endpoints defined in the OpenAPI definition of the Loket.nl API are appended to the base URL. For example, the endpoint /providers/employers/{employerId}/employees
can be accessed at https://api.loket.nl/v2/providers/employers/{employerId}/employees.
Most endpoints require path parameter(s) in order to specify the context of the request. For example, the endpoint /providers/employers/{employerId}/employees
contains the employerId
path parameter. A path parameter is a unique identifier that identifies a specific resource, in this case an employer.
The API supports two query parameters to control the pagination of the results: pageNumber
and pageSize
. Both of these query parameters only apply to endpoints that return lists of entities.
The pageNumber
query parameter specifies which page of the collection to return. By default pageNumber
is set to 1 which returns the first page of the collection. Note: the pageNumber refers to the page (with a given number of entities), NOT to a specific entity within a page!
The pageSize
query parameter influences the number of entities per page. By default pageSize
is set to 250. Note that this default may change in the future. It is not recommended to depend on this default when developing for the Loket.nl API.
Examples:
?pageNumber=2
to return the second page?pageSize=2
to set the page size to two
The API supports output filtering via the querystring parameter filter
.
Filtering is possible on all fields of the following datatypes:
- string
- integer
- boolean
- date-time
- decimals
The following operators are available:
Operator | Description | Example |
---|---|---|
Comparison Operators | ||
eq | Equal | city eq 'Redmond' |
ne | Not equal | city ne 'London' |
lk | Like | city lk 'Lond' |
gt | Greater than | price gt 20 |
ge | Greater than or equal | price ge 10 |
lt | Less than | price lt 20 |
le | Less than or equal | price le 100 |
Logical Operators | ||
and | Logical and | price le 200 and price gt 3.5 |
or | Logical or | price le 3.5 or price gt 200 |
Both field names and values are case insensitive. It is possible to filter on nested fields by adding the parent object before the field with a '.' to separate them. Do remember to URL encode the filter parameters.
Examples
All employments with a cancellation periode in months (the value 4 corresponds to months time unit).
/v2/providers/employers/{{employerId}}/employees/employments?filter=cancellationPeriodTimeUnit.key eq 4
All employments with no endDate.s
/v2/providers/employers/{{employerId}}/employees/employments?filter=enddate eq null
All employments with an end date less or equal to 2017-01-01
/v2/providers/employers/{{employerId}}/employees/employments?filter=enddate le '2017-01-01'
All employees with a employee number greater or equal 1 and less or equal 5
/v2/providers/employers/{{employerId}}/employees?filter=employeeNumber ge 1 and employeeNumber le 5
All Loket.nl API resources support ordering of the elements in the response on a specific field. All fields can be used in ordering. The list can be ordered in ascending or descending order, with ascending being the default one. Ordering on multiple fields is also by using a ',' as a separator.
Examples
Order employers by company name ascending
/v2/providers/employers?orderBy=companyName
Order employers by company name descending
/v2/providers/employers?orderBy=-companyName
Order employers by company name descending then by house number ascending
/v2/providers/employers?orderBy=-companyName,address.houseNumber
In order to access the endpoints of the Loket.nl API, at least two request headers need to be set.
1) the Authorization
header is required in order to authorize the API call.
The value of this header is the word Bearer followed by a space and the access token acquired from the /token
endpoint.
For example, if the acquired access token is AbCdEf123456
, the value of the Authorization
headers would be:
Authorization: Bearer v69uloc3wcEFLePw2unot0FfAJfBocrvSwsrCo75JLUG7aE54zqSUnU
2) The second header that is required for proper usage of the API, is the Accept
header.
This header is used for the resource versioning feature and is therefore crucial for making sure the response remains the same when new resource versions are introduced.
The value of the Accept
header differs per endpoint is defined in the OpenAPI documentation of the endpoints.
Accept: application/json;version=2018-01-01
In addition to the responses defined in the OpenAPI documentation, the Loket.nl API also provides additional fields that give more information about the response and the entities requested. This section will explain the full response given by the Loket.nl API by examining the example response below.
Example 400 response
{
"version": {
"obsoleteDate": null,
"versionNumber": "2018-01-01,
},
"messages": [
{
"code": 83,
"id": null,
"type": "BrokenBusinessRule",
"description": "[field] has an invalid length",
"properties": []
}
],
"_embedded": []
}
Example 200 response
{
"totalSize": 1,
"pageSize": 250,
"totalPages": 1,
"currentPage": 1,
"version": {
"obsoleteDate": null,
"resourceVersion": "2018-01-01"
},
"messages": [],
"content": {
"id": "2b4c119c-527c-4cbb-a5b2-f3a11e4b76cx",
...
}
}
totalSize
has an integer value indicating the total number of entities irrespective of the page size.pageSize
has an integer value indicating the maximum number of entities returned per page. The page size can be influenced by setting thepageSize
query parameter. See the section Query Parameters for more information.totalPages
has an integer value indicating the number of pages the requested collection holds given the specific pagesize.currentPage
has an integer value indicating the current page number. The current page number can be influenced by setting thepageNumber
query parameter. See the section Query Parameters for more information.
The version
object provides information regarding the resource version of the entity requested.
obsoleteDate
contains the date of discontinuation for the requested resource version. The value of this field can benull
indicating that the requested resource version is not planned to be obsoleted at the time of the request.resourceVersion
shows the version of the requested entity. The resource version can be influenced by setting theAccept
header.
The messages
field contains a list of message objects related to the request made. Any warnings and errors will be communicated in this list of messages
type
has a string value indicating the type of message. At this time the Loket.nl API supports five types of messages:BrokenBusinessRule
,Warning
,Exception
andNotFound
.description
has a string value that describes the message that has occurred.code
is an identifying code for the message. Please note that this code may change in the future. See the documentation portal for possible message codes for an endpoint.id
relates the message to a specific entity in the reponse list. For example, in cases where a warning occurs for one of the entities in a list, the value of this field can be used to identify to which entity the warning applies. Currently implemented for endpoints where a multi-patch is performed (multiple actions are performed within one call) for example updating the status of one or more leaveRequests.properties
an array that can contain additional information regarding the message. Currently not yet fully implemented._embedded
contains the list of entities as defined for each endpoint in the OpenAPI documentation. Please refer to that documentation for the contents of the_embedded
field for each endpoint. For endpoints that return only one entity (detail endpoints) the_embedded
field is replaced with acontent
field. The content of this field can also be found in the documentation for each endpoint.
Expires
header is returned with every response to indicate how long a response can be cachedContent-Disposition
header is used in case of downloads to provide a file name
The Loket.nl API supports the following http status codes.
Code | Is returned when |
---|---|
200 | The request to GET, PUT, PATCH or DELETE and object was recived and processed successfully. The response might still contain messages of the type warning. |
201 | The request to insert (POST) a new object was recived and processed successfully. The response might still contain messages of the type warning. |
400 | The request was received but could not be processed. The reason(s) will be given in the response. The content type of the response may be text/plain for API-level error messages, such as when trying to call the API without SSL otherwise the content will be application/json. |
401 | The bearer token provided in the authorization header is invalid. Do not retry the request until a new (valid) bearer token is acquired. |
403 | The user is not authorized to access the resource. The reason will be given in the response. Do not retry the request until the, configuration, issue is resolved. |
404 | The resource requested was not found/does not exist. |
50* | A unforseen error occurred. Please check the request if everything seems te be in order on your side contact the support team. Provide as much information as possible to resolve the issue. |
Note: for a limited number of endpoint a so-called multi-patch may be performed (multiple actions within one call). In that case the status code will be 200 if at least on of the actions succeeds, if other any action(s) in that call fail(s) a message will be returned including the given id of that entity.
The API uses the Expires
header to indicate how long the item can be reused from the local cache.
In most cases caching is not allowed for resources.
Exceptions excist, such as pictures like the employer logo and the employee photo, in these cases the cache duration is mentioned in the description of the resource.
List of providers
Activity name : GetProvidersByUser
Get a list of all providers accessible to the current user. Note: With the current functioning of Loket, the list will always contain 1 provider.
Note: This endpoint is typically not relevant for most external parties, as the GetEmployerByUser endpoint will be much more relevant as starting point.
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "Van Spaendonck Online B.V."
}
]
}
Download the provider logo
Activity name : GetProviderLogo
This activity is listed twice in the documentation due to the specified version caching path parameter. Including or exluding this parameter results in slightly different behaviour.
Caching: This resource changes very infrequently and can be cached for a longer time.
Get the logo of the provider of the user. In case no logo is know the service will return a 404.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
Download the provider logo
Activity name : GetProviderLogo
This activity is listed twice in the documentation due to the specified version caching path parameter. Including or exluding this parameter results in slightly different behaviour.
Caching: This resource changes very infrequently and can be cached for a longer time.
Get the logo of the provider of the user. In case no logo is know the service will return a 404.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
version required | string <uuid> An guid generated for caching. The value does not influence the output of this function. The provider/logo endpoint returns the URI of the current logo with the version. |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
Logos at providerlevel
Activity name : GetProviderLogosByProviderId
Get a list of all logos that are available at providerlevel. Other endpoints can be used to set the logo as default for all employers or to set the logo as a aberrant provider logo at employer level.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "attribute": "Logo 1",
- "name": "ProviderLogo",
}
]
}
Upload a logo for the provider
Activity name : PostProviderLogoByProviderId
Upload a logo at providerlevel. Other endpoints can be used to set the logo as default for all employers or to set the logo as a aberrant provider logo at employer level.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Logo to be uploaded for the provider.
attribute | string <= 10 characters the attribute of the logo. |
name | string <= 50 characters The name of the logo. |
data | string base64 encoded document file. |
mimeType | string The mimetype of the data. |
Responses
Request samples
- Payload
{- "attribute": "Logo 1",
- "name": "ProviderLogo",
- "data": "YQ==",
- "mimeType": "image/jpeg"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "attribute": "Logo 1",
- "name": "ProviderLogo",
- "data": "YQ==",
- "mimeType": "image/jpeg"
}
}
Logo at providerlevel
Activity name : GetProviderLogoByLogoId
Get a logo that is available at providerlevel. Other endpoints can be used to set the logo as default for all employers or to set the logo as a aberrant provider logo at employer level.
path Parameters
logoId required | string <uuid> The unique identifier of a logo |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "attribute": "Logo 1",
- "name": "ProviderLogo",
- "data": "YQ==",
- "mimeType": "image/jpeg"
}
}
Edit a provider logo
Activity name : PutProviderLogoByLogoId
Edit a logo at providerlevel. Other endpoints can be used to set the logo as default for all employers or to set the logo as a aberrant provider logo at employer level.
path Parameters
logoId required | string <uuid> The unique identifier of a logo |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
attribute | string <= 10 characters the attribute of the logo. |
name | string <= 50 characters The name of the logo. |
data | string base64 encoded document file. |
mimeType | string The mimetype of the data. |
Responses
Request samples
- Payload
{- "attribute": "Logo 1",
- "name": "ProviderLogo",
- "data": "YQ==",
- "mimeType": "image/jpeg"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "attribute": "Logo 1",
- "name": "ProviderLogo",
- "data": "YQ==",
- "mimeType": "image/jpeg"
}
}
Delete a logo at providerlevel
Activity name : DeleteProviderLogoByLogoId
path Parameters
logoId required | string <uuid> The unique identifier of a logo |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Logo without properties at providerlevel
Activity name : GetProviderLogoOnlyByLogoId
Get the logo that is available at providerlevel, without additional properties. Other endpoints can be used to set the logo as default for all employers or to set the logo as a aberrant provider logo at employer level.
path Parameters
logoId required | string <uuid> The unique identifier of a logo |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
List of employers
Activity name : GetEmployersByUserId
Get a list of all employers accessible to the current user
Please note the following general remark regarding the Loket API. If an id is required as a path parameter, in almost all cases the UUID of the specific resource should be used. In the employer resource this corresponds to the the 'id' field, as is typical. (so do NOT use employerNumber as your path parameter for any following requests)
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerNumber": 20720,
- "companyName": "Voorbeeld B.V.",
- "chamberOfCommerceNumber": "18124676",
- "sbi": {
- "key": 12,
- "value": "Agriculture, Forestry and Fishing",
- "sbiCode": "0116"
}, - "legalForm": {
- "key": 1,
- "value": "B.V."
}, - "branch": {
- "key": 2,
- "value": "Landbouw en jacht"
}, - "providerSettings": {
- "administrationNumber": "SR2",
- "groupCode": 40,
- "parentEmployerForConsolidatedOverviews": 9933,
- "sendEmailWhenSalarySlipIsAvailable": true
}, - "contact": {
- "name": "Henk de Vries",
- "phoneNumber": "013-12345678",
- "function": "Manager"
}, - "contactInformation": {
- "faxNumber": "(088) 31 11149",
- "phoneNumber": "(088) 31 11150",
- "website": "www.voorbeeldbv.nl"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "province": {
- "key": 1,
- "value": "Noord-Holland"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "poBox": 5000
}
}
]
}
List of employers with fewer fields for performance reasons
Activity name : GetEmployersMinimizedByUser
Get a list of all employers accessible to the current user. With this endpoint we introduced the "Minimized" resource which contains fewer fields then /providers/employers
. This version should increase performance when requesting employments for large employers.
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "companyName": "Voorbeeld B.V.",
- "address": {
- "street": "Voordijk",
- "houseNumber": 12,
- "postalCode": "1234AA",
- "city": "Leiden"
}, - "providerSettings": {
- "administrationNumber": "SR2",
- "groupCode": 40
}, - "contactInformation": {
- "phoneNumber": "(088) 31 11150"
}, - "contact": {
- "name": "Henk de Vries",
- "phoneNumber": "013-12345678"
}, - "branch": {
- "key": 2,
- "value": "Landbouw en jacht"
}
}
]
}
Create an employer
Activity name : PostEmployerByProviderId
Create an employee for the provider (administratiekantoor) identified by the given providerId. Please take note of the following; a newly created Employer is not immediately accessible for the user. As this would require adding the Employer to a specific Loket team (which is a separate activity). Even after adding the Employer to a team, it may take a few minutes before the Employer is accessible for the user because of caching.
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding `/defaults' to the POST URL.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Employer to be created.
companyName | string (companyName) <= 70 characters Name of the company |
chamberOfCommerceNumber | string or null (chamberOfCommerceNumber) <= 35 characters Chamber of commerce number. In Dutch "Kamer van koophandel" number |
object or null <metadata> (sbi) The 'Standard Industrial Classifications (Dutch SBI 2008, NACE and ISIC)' as defined bij the Dutch chamber of commerce | |
object or null <metadata> (legalForm) | |
object or null <metadata> (branch) | |
object (providerSettings) | |
object or null (contact) | |
object or null (components-schemas-contactInformation) | |
object (address) | |
object or null (deviatingPostalAddress) |
Responses
Request samples
- Payload
{- "companyName": "Voorbeeld B.V.",
- "chamberOfCommerceNumber": "18124676",
- "sbi": {
- "key": 12
}, - "legalForm": {
- "key": 1
}, - "branch": {
- "key": 2
}, - "providerSettings": {
- "administrationNumber": "SR2",
- "groupCode": 40,
- "parentEmployerForConsolidatedOverviews": 9933,
- "sendEmailWhenSalarySlipIsAvailable": true
}, - "contact": {
- "name": "Henk de Vries",
- "phoneNumber": "013-12345678",
- "function": "Manager"
}, - "contactInformation": {
- "faxNumber": "(088) 31 11149",
- "phoneNumber": "(088) 31 11150",
- "website": "www.voorbeeldbv.nl"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}, - "province": {
- "key": 1
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}, - "poBox": 5000
}
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerNumber": 20720,
- "companyName": "Voorbeeld B.V.",
- "chamberOfCommerceNumber": "18124676",
- "sbi": {
- "key": 12,
- "value": "Agriculture, Forestry and Fishing",
- "sbiCode": "0116"
}, - "legalForm": {
- "key": 1,
- "value": "B.V."
}, - "branch": {
- "key": 2,
- "value": "Landbouw en jacht"
}, - "providerSettings": {
- "administrationNumber": "SR2",
- "groupCode": 40,
- "parentEmployerForConsolidatedOverviews": 9933,
- "sendEmailWhenSalarySlipIsAvailable": true
}, - "contact": {
- "name": "Henk de Vries",
- "phoneNumber": "013-12345678",
- "function": "Manager"
}, - "contactInformation": {
- "faxNumber": "(088) 31 11149",
- "phoneNumber": "(088) 31 11150",
- "website": "www.voorbeeldbv.nl"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "province": {
- "key": 1,
- "value": "Noord-Holland"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "poBox": 5000
}
}
}
Details of an employer
Activity name : GetEmployerByEmployerId
Get the details of a single employers
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerNumber": 20720,
- "companyName": "Voorbeeld B.V.",
- "chamberOfCommerceNumber": "18124676",
- "sbi": {
- "key": 12,
- "value": "Agriculture, Forestry and Fishing",
- "sbiCode": "0116"
}, - "legalForm": {
- "key": 1,
- "value": "B.V."
}, - "branch": {
- "key": 2,
- "value": "Landbouw en jacht"
}, - "providerSettings": {
- "administrationNumber": "SR2",
- "groupCode": 40,
- "parentEmployerForConsolidatedOverviews": 9933,
- "sendEmailWhenSalarySlipIsAvailable": true
}, - "contact": {
- "name": "Henk de Vries",
- "phoneNumber": "013-12345678",
- "function": "Manager"
}, - "contactInformation": {
- "faxNumber": "(088) 31 11149",
- "phoneNumber": "(088) 31 11150",
- "website": "www.voorbeeldbv.nl"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "province": {
- "key": 1,
- "value": "Noord-Holland"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "poBox": 5000
}
}
}
Edit the details of an employer
Activity name: PutEmployerByEmployerId
Edit the details of an employer
Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Employer
companyName | string (companyName) <= 70 characters Name of the company |
chamberOfCommerceNumber | string or null (chamberOfCommerceNumber) <= 35 characters Chamber of commerce number. In Dutch "Kamer van koophandel" number |
object or null <metadata> (sbi) The 'Standard Industrial Classifications (Dutch SBI 2008, NACE and ISIC)' as defined bij the Dutch chamber of commerce | |
object or null <metadata> (legalForm) | |
object or null <metadata> (branch) | |
object (providerSettings) | |
object or null (contact) | |
object or null (components-schemas-contactInformation) | |
object (address) | |
object or null (deviatingPostalAddress) |
Responses
Request samples
- Payload
{- "companyName": "Voorbeeld B.V.",
- "chamberOfCommerceNumber": "18124676",
- "sbi": {
- "key": 12
}, - "legalForm": {
- "key": 1
}, - "branch": {
- "key": 2
}, - "providerSettings": {
- "administrationNumber": "SR2",
- "groupCode": 40,
- "parentEmployerForConsolidatedOverviews": 9933,
- "sendEmailWhenSalarySlipIsAvailable": true
}, - "contact": {
- "name": "Henk de Vries",
- "phoneNumber": "013-12345678",
- "function": "Manager"
}, - "contactInformation": {
- "faxNumber": "(088) 31 11149",
- "phoneNumber": "(088) 31 11150",
- "website": "www.voorbeeldbv.nl"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}, - "province": {
- "key": 1
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}, - "poBox": 5000
}
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerNumber": 20720,
- "companyName": "Voorbeeld B.V.",
- "chamberOfCommerceNumber": "18124676",
- "sbi": {
- "key": 12,
- "value": "Agriculture, Forestry and Fishing",
- "sbiCode": "0116"
}, - "legalForm": {
- "key": 1,
- "value": "B.V."
}, - "branch": {
- "key": 2,
- "value": "Landbouw en jacht"
}, - "providerSettings": {
- "administrationNumber": "SR2",
- "groupCode": 40,
- "parentEmployerForConsolidatedOverviews": 9933,
- "sendEmailWhenSalarySlipIsAvailable": true
}, - "contact": {
- "name": "Henk de Vries",
- "phoneNumber": "013-12345678",
- "function": "Manager"
}, - "contactInformation": {
- "faxNumber": "(088) 31 11149",
- "phoneNumber": "(088) 31 11150",
- "website": "www.voorbeeldbv.nl"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "province": {
- "key": 1,
- "value": "Noord-Holland"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "poBox": 5000
}
}
}
List of child employers accessible to the current user
Activity name : GetChildEmployersByEmployerId
Get a list of all employers accessible to the current user which are a child of the provided employer.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
includeParent | boolean Example: includeParent=true Determines whether the information of the parent employer should be included in the response. If not provided, this parameter defaults to |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerNumber": 20720,
- "companyName": "Voorbeeld B.V.",
- "providerSettings": {
- "parentEmployerForConsolidatedOverviews": 9933
}
}
]
}
Logo of an employer
Activity name : GetEmployerLogoByEmployerId
This activity is listed twice in the documentation due to the specified version caching path parameter. Including or exluding this parameter results in slightly different behaviour.
Caching: This resource changes very infrequently and can be cached for a longer period.
Get the logo of the employer. In case no logo is know the service will return a 404.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
Delete the employer logo
Activity name: DeleteEmployerLogoByEmployerId
Delete the logo of an employer
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Upload a logo for the employer
Activity name : PostEmployerLogoByEmployerId
Upload a logo for the employer.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Logo to be uploaded for the employer.
data | string base64 encoded document file. |
mimeType | string The mimetype of the data. |
Responses
Request samples
- Payload
{- "data": "YQ==",
- "mimeType": "image/jpeg"
}
Response samples
- 201
- 400
- 401
- 403
{- "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
]
}
Logo of an employer
Activity name : GetEmployerLogoByEmployerId
This activity is listed twice in the documentation due to the specified version caching path parameter. Including or exluding this parameter results in slightly different behaviour.
Caching: This resource changes very infrequently and can be cached for a longer period.
Get the logo of the employer. In case no logo is know the service will return a 404.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
version required | string <uuid> An optional guid generated for caching. The value does not influence the output of this function. The Employer resource returns the URI of the current logo. |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
Provider logo
Activity name : GetProviderLogoByEmployerId
This activity is listed twice in the documentation due to the specified version caching path parameter. Including or exluding this parameter results in slightly different behaviour.
Get the (deviating) provider logo of the employers. In case no logo is know the service will return a 404.
Caching: This resource changes very infrequently and can be cached for a longer time.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
Provider logo
Activity name : GetProviderLogoByEmployerId
This activity is listed twice in the documentation due to the specified version caching path parameter. Including or exluding this parameter results in slightly different behaviour.
Get the (deviating) provider logo of the employers. In case no logo is know the service will return a 404.
Caching: This resource changes very infrequently and can be cached for a longer time.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
version required | string <uuid> An optional guid generated for caching. The value does not influence the output of this function. The Employer resource returns the URI of the current logo. |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
NL: Administratie. Retrieve information about all administrations, both payroll administrations and non-payroll administrations.
List of administrations for an employer
Activity name : GetAdministrationsByEmployerId
Get a list of all administrations (both payroll and non-payroll) for an employer. This endpoint only returns properties that are shared between payroll and non-payroll administrations. For more detailed properties, use the respective endpoints for payroll and non-payroll administrations.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "clientNumber": 1234,
- "wageTaxNumber": "111111110L00",
- "description": "Bakker",
- "startDate": "2016-01-01",
- "endDate": "2020-12-31",
- "isPayrollAdministration": true,
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
]
}
List of administrations
Activity name : GetAdministrationsByBearerToken
Get a list of all administrations (both payroll and non-payroll) the user has access to. For more detailed properties, use the respective endpoints for payroll and non-payroll administrations.
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "clientNumber": 1234,
- "wageTaxNumber": "111111110L00",
- "description": "Bakker",
- "startDate": "2016-01-01",
- "endDate": "2020-12-31",
- "isPayrollAdministration": true,
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
]
}
List of employments for an employer
Activity name : GetEmploymentsByEmployerId
Get a list of employments for an employer
This endpoint only returns the employments that meet the filter settings set at the user level. Note that filter settings are set for a user <-> employer <-> client combination.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "employee": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "firstName": "Susan",
- "initials": "S.L.",
- "prefix": "van",
- "lastName": "Bergen",
- "prefixPartner": "van de",
- "lastNamePartner": "Wiel",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
}, - "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "historicalStartDate": "2012-05-01",
- "commissionUntilDate": "2019-01-01",
- "endDate": "2018-10-23",
- "endOfEmploymentReason": {
- "key": 1,
- "value": "VUT"
}, - "endOfEmploymentReasonTaxAuthorities": {
- "key": 1,
- "value": "Beëindiging arbeidsovereenkomst met wederzijds goedvinden op initiatief van de werkgever."
}, - "endOfEmploymentDueToIllness": false,
- "firstDayNotification": false,
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "HR only employees",
- "description": "Bakker"
}, - "administration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker",
- "administrationType": "payrollAdministration"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "employmentCategoryType": {
- "key": 1,
- "value": "Ouderschapsverlof"
}, - "linkedEmployment": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Arbeidsovereenkomst (excl BBL)"
}, - "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "sendToExternalParty": {
- "key": 1,
- "value": "n.v.t."
}, - "deviatingCLAExternalParty": 2,
- "deviatingCLATaxReturn": 2,
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "professionCode": 4,
- "exemptionWorkRelatedExpenseScheme": false,
- "exemptionPremiumWaiverMarginalLabour": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.vt."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "wachtgeldOldRegulation": false,
- "participation55plusRegulationUWV": false,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "temporaryTaxExemption": {
- "key": 2,
- "value": "Nee."
}, - "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "commissionUntilDate1": "2018-05-31",
- "commissionUntilDate2": "2018-05-31",
- "commissionUntilDate3": "2018-05-31",
- "commissionUntilDate4": "2018-05-31",
- "commissionUntilDate5": "2018-05-31",
- "commissionUntilDate6": "2018-05-31",
- "isDirectorAndMajorShareholder": false,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "isAnonymousEmployee": true,
- "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2018-05-31",
- "startCancellationNoticePeriod": "2018-06-01",
- "payrollId": 2,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "writtenEmploymentContract": true
}
]
}
List of employments with fewer fields for performance reasons
Activity name : GetEmploymentsMinimizedByEmployerId
Get a list of employments for an employer. With this version we introduced the "Minimized" resource which contains fewer fields. This version should increase performance when requesting employments for large employer.
This endpoint only returns the employments that meet the filter settings set at the user level. Note that filter settings are set for a user <-> employer <-> client combination.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "employee": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "firstName": "Susan",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
}, - "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "commissionUntilDate": "2019-01-01",
- "endDate": "2018-10-23",
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "HR only employees",
- "description": "Bakker"
}, - "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "incomeRelationshipNumber": 12,
- "payrollId": 2
}
]
}
List of employments with additional entities
Activity name : GetEmploymentsComprehensiveByEmployerId
Availability: This is endpoint is available for the Loket.nl application only. It is not available for external parties
Get a list of employments for an employer. With this version we introduced the "Comprehensive" resource which contains additional entities.
This endpoint only returns the employments that meet the filter settings set at the user level. Note that filter settings are set for a user <-> employer <-> client combination.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
referenceDate | string <date> Example: referenceDate=2022-01-01 Set a reference date for choosing the date dependent data. |
removeEmptyLines | boolean Example: removeEmptyLines=true When true and combined with a X-ReportInput header, the output only contains employments for which selected underlying data, such as wage, is available. |
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "employee": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "dateOfDeath": "2019-08-24",
- "aowDate": "2062-08-21",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "civilStatus": {
- "key": 2,
- "value": "Maried"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "businessPhoneNumber": "+31 13-1234567",
- "businessMobilePhoneNumber": "+31 6-1231456",
- "businessEmailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "travel": {
- "travelDistanceToWork": 32,
- "travelDistanceToWorkInKm": 41.05
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "exclusionFromAbsenceStatus": false,
- "statusEmployeeSelfService": {
- "key": 2,
- "value": "Blocked"
}, - "revokeEmployeeSelfServiceAccessOn": "2018-10-23"
}, - "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "historicalStartDate": "2012-05-01",
- "commissionUntilDate": "2019-01-01",
- "endDate": "2018-10-23",
- "endOfEmploymentReason": {
- "key": 1,
- "value": "VUT"
}, - "endOfEmploymentReasonTaxAuthorities": {
- "key": 1,
- "value": "Beëindiging arbeidsovereenkomst met wederzijds goedvinden op initiatief van de werkgever."
}, - "endOfEmploymentDueToIllness": false,
- "firstDayNotification": false,
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "HR only employees",
- "description": "Bakker"
}, - "administration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker",
- "administrationType": "payrollAdministration"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "employmentCategoryType": {
- "key": 1,
- "value": "Ouderschapsverlof"
}, - "linkedEmployment": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Arbeidsovereenkomst (excl BBL)"
}, - "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "sendToExternalParty": {
- "key": 1,
- "value": "n.v.t."
}, - "deviatingCLAExternalParty": 2,
- "deviatingCLATaxReturn": 2,
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "professionCode": 4,
- "exemptionWorkRelatedExpenseScheme": false,
- "exemptionPremiumWaiverMarginalLabour": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.vt."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "wachtgeldOldRegulation": false,
- "participation55plusRegulationUWV": false,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "temporaryTaxExemption": {
- "key": 2,
- "value": "Nee."
}, - "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "commissionUntilDate1": "2018-05-31",
- "commissionUntilDate2": "2018-05-31",
- "commissionUntilDate3": "2018-05-31",
- "commissionUntilDate4": "2018-05-31",
- "commissionUntilDate5": "2018-05-31",
- "commissionUntilDate6": "2018-05-31",
- "isDirectorAndMajorShareholder": false,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "isAnonymousEmployee": true,
- "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2018-05-31",
- "startCancellationNoticePeriod": "2018-06-01",
- "payrollId": 2,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "writtenEmploymentContract": true,
- "workinghours": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "shift": {
- "shiftNumber": 1,
- "fullTimeHoursPerWeek": 40,
- "bonusPercentage": 12
}, - "deviatingHoursPerWeek": 32,
- "averageHoursPerWeek": 32,
- "deviatingSvDaysPerPeriod": 20,
- "averageParttimeFactor": 37.5,
- "regularWorkPattern": true,
- "shiftRateSickLeave": {
- "shiftNumber": 1,
- "fullTimeHoursPerWeek": 40,
- "bonusPercentage": 12
}, - "flexibleHoursContract": {
- "key": 2,
- "value": "Minimum uren contract"
}, - "workPattern": {
- "oddWeeks": {
- "monday": 8,
- "tuesday": 8,
- "wednesday": 4,
- "thursday": 7.5,
- "friday": 4,
- "saturday": 0,
- "sunday": 0
}, - "evenWeeks": {
- "monday": 0,
- "tuesday": 8,
- "wednesday": 8,
- "thursday": 8,
- "friday": 2,
- "saturday": 0,
- "sunday": 0
}
}, - "calculateUsingWorkPattern": {
- "leaveHours": true,
- "hoursBrokenPeriod": false,
- "hoursRegularPeriod": false,
- "daysDailyRate": false,
- "deviatingDaysAndHours": false
}, - "contractCode": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 1022,
- "description": "SLA-PT-met toeslagen ATW (88)"
}, - "aggregatedHoursPerWeek": 24
}, - "organizationalEntity": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "function": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Directeur",
- "group": "internal"
}, - "deviatingFunctionGroup": "9A",
- "deviatingFunctionDescription": "Directeur",
- "standardFunction": {
- "key": 1,
- "value": "Administrateur",
- "code": "A21",
- "category": 1
}, - "department": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Verkoop"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Sales"
}, - "placeOfEmployment": "Amsterdam office",
- "internalTelephoneExtensionNumber": "678"
}, - "wage": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "1995-05-21",
- "endDate": "2019-08-24",
- "payrollPeriodType": {
- "key": 1,
- "value": "Maand"
}, - "grossWage": 2300,
- "grossWageType": {
- "key": 2,
- "value": "hourly"
}, - "isGrossWageFullTime": true,
- "netWage": 2400,
- "netWageType": {
- "key": 1,
- "value": "hourly"
}, - "employerCosts": 3500,
- "employerCostsType": {
- "key": 1,
- "value": "hourly"
}, - "payScale": {
- "key": 1,
- "value": "Glastuinbouw maand, Loongebouw A"
}, - "payGrade": {
- "key": 1,
- "value": "Schaal B1, 15 jaar"
}, - "applyPayGrade": true
}, - "socialSecurityBenefits": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "supplementation": {
- "type": {
- "key": 3,
- "value": "Suppleren (bruto)"
}, - "percentage": 35
}, - "benefit": {
- "type": {
- "key": 1,
- "value": "ZW eigen risico"
}, - "percentage": 35
}
}
], - "socialSecurityConfiguration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "isInsuredForSicknessBenefitsAct": true,
- "isInsuredForUnemploymentInsuranceAct": true,
- "isInsuredForOccupationalDisabilityInsuranceAct": true
}, - "deviatingAwfContribution": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "endPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "typeOfDeviatingAwfContribution": {
- "key": 2,
- "value": "Hoog"
}
}, - "citizenServiceNumber": {
- "citizenServiceNumber": "042168588"
}, - "statusEmployeeSelfService": {
- "hasTwoFactorAuthentication": false,
- "status": "HasAccessToClient"
}, - "employmentCustomFields": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
], - "employeeCustomFields": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
], - "paymentInformationSepa": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollComponent": {
- "key": 260,
- "value": "NETTOLOON"
}, - "iban": "NL52ABNA0424968264",
- "bic": "AUDFDE21",
- "visibleOnPayslip": true,
- "nameBeneficiary": "Ben Hur",
- "cityBeneficiary": "Rome",
- "description1": "xx",
- "description2": "x"
}
], - "fiscalProperties": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "annualSalary": 60000,
- "deviatingTaxTableCode": {
- "key": 1,
- "value": "999 Overige gevallen waarin geen tabel is toegepast"
}, - "deviatingPayrollTaxTableColour": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "applyDayTables": false,
- "deviatingPayrollTaxPercentage": 25,
- "applyDeviatingPayrollTaxPercentageOn": {
- "key": 2,
- "value": "Afwijkend voor tabel- en tariefloon"
}, - "applyPayrollTaxDeduction": true,
- "applyStudentDeduction": false,
- "residentOf": {
- "key": 2,
- "value": "Andere EU-lidstaat,EER-land,Zwitserland of BES-eilanden"
}, - "applySalarysplit": {
- "key": 2,
- "value": "LB obv wereldinkomen (%NL/WI)"
}, - "percentageForeignIncome": 50,
- "deviatingCalculationRulePayrollTax": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "thirtyPercentFacility": {
- "key": 1,
- "value": "Netto"
}, - "deviatingPercentageThirtyPercentFacility": 20.2345,
- "doesWageIncludeAow": false,
- "doesWageIncludeWajong": false,
- "hasEmployeeLoan": false,
- "usesTransportByWithholdingAgent": false,
- "deviatingSmallJobsArrangement": false,
- "contributionReductionEducation": {
- "key": 2,
- "value": "4. Opleiding hbo"
}, - "specialIndication": {
- "one": 1,
- "two": 1,
- "three": 1,
- "four": 1
}, - "applySingleElderlyTaxDeduction": false
}, - "healthcareInsuranceActConfiguration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "healthcareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}, - "additionalContributionEmployer": 320,
- "nominalPremium": 320,
- "additionalPremium": 120
}, - "benefitsInKind": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "benefitInKindType": {
- "id": "36530F13-59EB-4C15-B5F2-4F92B070A208",
- "description": "Mobiele telefoon"
}, - "brand": "Apple",
- "type": "Iphone 11",
- "value": 1100,
- "supplier": "Mediamarkt",
- "particularities": "geen bijzonderheden"
}
], - "companyCars": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "brand": "Volvo",
- "model": "V60",
- "licensePlateNumber": "GP586D",
- "fuelCardNumber": "B100.323.903",
- "leaseOrBuy": {
- "key": 1,
- "value": "Koop"
}, - "supplier": "Leasemaatschappij Tilburg",
- "lease": {
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "contractNumber": "2021.323.903"
}, - "catalogValue": 20000,
- "kilometersPrivateUse": 10000,
- "comments": "This car is very nice"
}
], - "fiscalCompanyCars": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "licensePlateNumber": "GP586D",
- "dateOfFirstAdmission": "2018-01-01",
- "valueForTaxPurposes": 20000,
- "additionalTaxLiabilityGroup": {
- "key": 1,
- "value": "Standaard tarief (25% tot 2017)"
}, - "reasonForNoAdditionalTaxLiability": {
- "key": 1,
- "value": "(2) Werknemer heeft beschikking belastingdienst"
}, - "deviatingAdditionalTaxLiability": 20000,
- "taxableBenefitForPrivateUse": 2000
}
], - "journalAllocation": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "journalProfileConfiguration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2017-01-01",
- "periodEndDate": "2017-01-31"
}, - "endPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2017-01-01",
- "periodEndDate": "2017-01-31"
}, - "journalProfile": {
- "key": 2,
- "value": "General ledger supermarkets"
}
}, - "startPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "endPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "allocationBasedOnActualHours": {
- "costCenter": {
- "key": 2,
- "code": "SAL073",
- "description": "Sales Den Bosch"
}, - "costUnit": {
- "key": 2,
- "code": "01",
- "description": "Cars"
}
}, - "allocationBasedOnFixedWeights": [
- {
- "costCenter": {
- "key": 2,
- "code": "SAL073",
- "description": "Sales Den Bosch"
}, - "costUnit": {
- "key": 2,
- "code": "01",
- "description": "Cars"
}, - "weight": 1
}
]
}, - "basesForCalculation": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "deviations": {
- "percentage": 8,
- "reservationPercentage": 12.0007,
- "financialReservationPercentage": 10.000007
}, - "ageBasedMinimum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "ageBasedMaximum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "base": {
- "key": 545,
- "value": "VAKANTIE TOESLAG, periodieke opbouw"
}
}
], - "otherPayrollVariables": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "productivityPercentage": 100,
- "payrollProperties": {
- "deviatingPremiumGroup": {
- "key": 2,
- "value": "(1) Agrarisch bedrijf kort"
}, - "wageCostBenefit": {
- "key": 2,
- "value": "LKV herplaatsen arbeidsgehandicapte werknemer"
}, - "wajongWithWageDispensation": false,
- "phaseClassification": {
- "key": 2,
- "value": "(38) Fase A zonder uitzendbeding met uitsluiting van ldv"
}, - "incidentalIncomeDeduction": {
- "key": 2,
- "value": "Bevalling of zwangerschap"
}, - "terminateIncomenumberFlexibleEmployment": {
- "key": 2,
- "value": "(1) Einde werk/contract, geen werk aangeboden"
}, - "applyMinimumWageVocationalLearningPathway": true,
- "occupationalDisabilityPremiumDiscount": {
- "key": 2,
- "value": "(7) Werknemer van 62, 63 of 64 jaar voor wie code 6 niet van toepassing is"
}, - "occupationalDisabilityDeductionAfter2009": 1,
- "occupationalDisabilityDeductionTo2009": 1,
- "collectiveLaborAgreementCodeHiringEmployer": {
- "key": 151,
- "value": "TUINBOUWVEILINGEN",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23"
}, - "applyYearlyHoursNorm": false
}, - "pensionProperties": {
- "annualCalculationBaseAbp": 1.5,
- "leaveAbp": {
- "leaveType": {
- "key": 2,
- "value": "Politiek verlof"
}, - "valueOfParticipationDuringLeave": 1
}, - "deviatingDisabilityInsuranceActPercentageForCordares": {
- "key": 2,
- "value": "15- 25 %"
}, - "applyDispensationRiskFund": false,
- "compulsoryEducationDays": 2,
- "occupationalPensionFund": 2,
- "specificationOfIncomeRelationshipApg": {
- "key": 1,
- "value": "Geen bijzonderheden",
- "code": "WNE"
}
}, - "insuranceProperties": {
- "applicableForNoRiskPolicy": false
}
}, - "paymentinformationNonSepa": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollComponent": {
- "key": 260,
- "value": "NETTOLOON"
}, - "bankAccountNumber": "0403830171874018",
- "beneficiary": {
- "name": "Ben Hur",
- "city": "Rome",
- "address": "Via Roma 3",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "bank": {
- "bankIdentifierCode": "AUDFDE21",
- "name": "Ben Hur",
- "city": "Rome",
- "address": "Via Roma 3",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}
}
], - "basesForEmploymentFundCalculation": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "origin": {
- "key": 1,
- "value": "Normale wijziging"
}, - "base": 25000
}
], - "pensionBenefits": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "payout": 2569
}, - "deviatingHourlyWages": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "payrollComponent": {
- "key": 70,
- "description": "LOON/SALARIS"
}, - "value": 50.87
}
]
}
]
}
List of employments for an employee
Activity name : GetEmploymentsByEmployeeId
Get the list of employments for an employee
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "employee": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "firstName": "Susan",
- "initials": "S.L.",
- "prefix": "van",
- "lastName": "Bergen",
- "prefixPartner": "van de",
- "lastNamePartner": "Wiel",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
}, - "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "historicalStartDate": "2012-05-01",
- "commissionUntilDate": "2019-01-01",
- "endDate": "2018-10-23",
- "endOfEmploymentReason": {
- "key": 1,
- "value": "VUT"
}, - "endOfEmploymentReasonTaxAuthorities": {
- "key": 1,
- "value": "Beëindiging arbeidsovereenkomst met wederzijds goedvinden op initiatief van de werkgever."
}, - "endOfEmploymentDueToIllness": false,
- "firstDayNotification": false,
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "HR only employees",
- "description": "Bakker"
}, - "administration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker",
- "administrationType": "payrollAdministration"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "employmentCategoryType": {
- "key": 1,
- "value": "Ouderschapsverlof"
}, - "linkedEmployment": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Arbeidsovereenkomst (excl BBL)"
}, - "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "sendToExternalParty": {
- "key": 1,
- "value": "n.v.t."
}, - "deviatingCLAExternalParty": 2,
- "deviatingCLATaxReturn": 2,
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "professionCode": 4,
- "exemptionWorkRelatedExpenseScheme": false,
- "exemptionPremiumWaiverMarginalLabour": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.vt."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "wachtgeldOldRegulation": false,
- "participation55plusRegulationUWV": false,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "temporaryTaxExemption": {
- "key": 2,
- "value": "Nee."
}, - "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "commissionUntilDate1": "2018-05-31",
- "commissionUntilDate2": "2018-05-31",
- "commissionUntilDate3": "2018-05-31",
- "commissionUntilDate4": "2018-05-31",
- "commissionUntilDate5": "2018-05-31",
- "commissionUntilDate6": "2018-05-31",
- "isDirectorAndMajorShareholder": false,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "isAnonymousEmployee": true,
- "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2018-05-31",
- "startCancellationNoticePeriod": "2018-06-01",
- "payrollId": 2,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "writtenEmploymentContract": true
}
]
}
Details of an employment
Activity name : GetEmploymentByEmploymentId
Get the details for an employment
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "employee": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "firstName": "Susan",
- "initials": "S.L.",
- "prefix": "van",
- "lastName": "Bergen",
- "prefixPartner": "van de",
- "lastNamePartner": "Wiel",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
}, - "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "historicalStartDate": "2012-05-01",
- "commissionUntilDate": "2019-01-01",
- "endDate": "2018-10-23",
- "endOfEmploymentReason": {
- "key": 1,
- "value": "VUT"
}, - "endOfEmploymentReasonTaxAuthorities": {
- "key": 1,
- "value": "Beëindiging arbeidsovereenkomst met wederzijds goedvinden op initiatief van de werkgever."
}, - "endOfEmploymentDueToIllness": false,
- "firstDayNotification": false,
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "HR only employees",
- "description": "Bakker"
}, - "administration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker",
- "administrationType": "payrollAdministration"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "employmentCategoryType": {
- "key": 1,
- "value": "Ouderschapsverlof"
}, - "linkedEmployment": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Arbeidsovereenkomst (excl BBL)"
}, - "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "sendToExternalParty": {
- "key": 1,
- "value": "n.v.t."
}, - "deviatingCLAExternalParty": 2,
- "deviatingCLATaxReturn": 2,
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "professionCode": 4,
- "exemptionWorkRelatedExpenseScheme": false,
- "exemptionPremiumWaiverMarginalLabour": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.vt."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "wachtgeldOldRegulation": false,
- "participation55plusRegulationUWV": false,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "temporaryTaxExemption": {
- "key": 2,
- "value": "Nee."
}, - "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "commissionUntilDate1": "2018-05-31",
- "commissionUntilDate2": "2018-05-31",
- "commissionUntilDate3": "2018-05-31",
- "commissionUntilDate4": "2018-05-31",
- "commissionUntilDate5": "2018-05-31",
- "commissionUntilDate6": "2018-05-31",
- "isDirectorAndMajorShareholder": false,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "isAnonymousEmployee": true,
- "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2018-05-31",
- "startCancellationNoticePeriod": "2018-06-01",
- "payrollId": 2,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "writtenEmploymentContract": true
}
}
Edit the details of an employment
Activity name : PutEmploymentByEmploymentId
Edit the details of an employment
Possible values for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the URL
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2019-12-16required
Employment to edit
historicalStartDate | string or null <date> (historicalStartDate) The historical date on which the employee was first employed. This field is used when an employee has multiple employments in time. In most cases this field should be used as the date on which the employee started working for the company. NL: HistorischeDatumInDienst |
commissionUntilDate | string or null <date> (commissionUntilDate) The date on which the employment will end. NL: AanstellingTot |
object <metadata> (typeOfEmployee) A selection of pre defined employee-types for the employment. NL: SoortWerknemer | |
object <metadata> (employmentDurationTypeVerion2019-12-16) A selection of pre defined durations for the employment. NL: SoortDienstverband | |
startDateContractOfIndefiniteDuration | string or null <date> (startDateContractOfIndefiniteDuration) When did the value of |
object or null <metadata> (employmentContractType) The type of employment applicable for the employment. NL: BasisDienstverband | |
object or null <metadata> (vacationCoupons) Indication for vacation coupons (vakantiebonnen). This is only applies to a limited set of CLA`s. NL: Vakantiebonnen | |
object or null <metadata> (sendToExternalParty) Indicates whether payroll information of this employment is sent to external pension funds. Attention: this indication ONLY applies regarding the information to pension funds. If NULL then setting according to regulation is leading. NL: AanleveringExternePartij | |
deviatingCLAExternalParty | integer or null <int32> (deviatingCLAExternalParty) CLA (CAO) code in case of a deviating CLA for external parties . NL: CaoKlantgroepAfwijkend |
deviatingCLATaxReturn | integer or null <int32> (deviatingCLATaxReturn) [ 1 .. 9999 ] CLA (CAO) code in case of a deviating CLA for tax returns. NL: CAOUWV |
incomeRelationshipNumber | integer <int32> (incomeRelationshipNumber) [ 0 .. 9999 ] The income relationship number that is required in the tax return. Together with the citizen service number (burgerservicenummer, BSN) and wage tax number, the income relationship number uniquely identifies an employment. NL: NummerInkomstenVerhouding |
object or null <metadata> (employeeProfileId) References to an employeeprofile that is specified in the payroll administration level. NL: WerknemerProfielID
| |
professionCode | integer or null <int32> (professionCode) [ 1 .. 999 ] A code field for a profession. This field only applies in case of a specific CLA (Bouw / Infra). Please leave empty if not applicable. NL: BeroepUWV |
exemptionWorkRelatedExpenseScheme | boolean (exemptionWorkRelatedExpenseScheme) Indicates whether an exemption (i.e. non-participation) on the work-related expense scheme (werkkostenregeling) applies for this employment. NL: WerkkostenRegelingUitsluiting |
exemptionPremiumWaiverMarginalLabour | boolean (exemptionPremiumWaiverMarginalLabour) Indicates whether an exemption (i.e. waiver) on the premium marginal labour (vrijstelling marginale arbeid) applies for this employment. NL: PremieVrijstellingMarginaleArbeid |
object or null <metadata> (typeOfParticipation) The type of participation (aard van deelnemerschap) is only applicable in case the person related to this employment is eligible for pension (product required). NL: AardDeelnemerschap | |
object or null <metadata> (valueOfParticipation) The value of participation (waarde van deelnemerschap) is only applicable in case the person related to this employment is eligible for pension (product required). NL: WaardeDeelnemerschap | |
wachtgeldOldRegulation | boolean (wachtgeldOldRegulation) Indicates whether the (old) wachtgeld regulation is applicable for the employment. NL: WachtgeldOudeRegeling |
participation55plusRegulationUWV | boolean (participation55plusRegulationUWV) Indicates whether the 55 plus regulation (55 plus regeling) is applicable for the employment. NL: Deelname55Plus |
object <metadata> (essMutationSet) References to a specified set of payrollcomponents that are to accessible via ESS for employee mutations. Standard-set means the standard set defined for the administration will be applied for this employment. NULL means no set will be defined for this employment (so no access to any components). NL : ExportsetID
| |
object <metadata> (exemptionInsuranceObligation) Indicates whether an exemption applies for the insurance obligation. If NULL than there is no exemption, thus insurance obligation applies in that case (verzekingsplicht). NL: CodeUitzondering | |
object or null <metadata> (specialIncomeRatio) Indicates the special income ratio. NL: SpecialeInkomstenVerhouding | |
emailLeaveRequest | string or null (schemas-emailLeaveRequest) <= 255 characters Recipient e-mail adress for notification in case of leave requests. NL: EmailVerlofaanvraag |
object <metadata> (temporaryTaxExemption) Indicates whether there a temporary tax exemption is to be applied for the employment. NL: TijdelijkeHeffingskorting | |
periodPayGradeAdjustment | integer or null <int32> (periodPayGradeAdjustment) [ 1 .. 52 ] The values is used for two processes. First off, a message can be configured to notify the user(s) of a upcoming wage raise/negotiation based on the value of this field. Second, the value, in combination with |
signalPayGradeAdjustment | boolean (signalPayGradeAdjustment) Indicates whether signaling regarding salary scale adjustments are enabled for the employment. NL: SalarisschaalSignaleren |
commissionUntilDate1 | string or null <date> (commissionUntilDate1) Until date for commision #1. NL: AanstellingTot1 |
commissionUntilDate2 | string or null <date> (commissionUntilDate2) Until date for commision #2. NL: AanstellingTot2 |
commissionUntilDate3 | string or null <date> (commissionUntilDate3) Until date for commision #3. NL: AanstellingTot3 |
commissionUntilDate4 | string or null <date> (commissionUntilDate4) Until date for commision #4. NL: AanstellingTot4 |
commissionUntilDate5 | string or null <date> (commissionUntilDate5) Until date for commision #5. NL: AanstellingTot5 |
commissionUntilDate6 | string or null <date> (commissionUntilDate6) Until date for commision #6. NL: AanstellingTot6 |
isDirectorAndMajorShareholder | boolean or null (isDirectorAndMajorShareholder) Indicates whether the employment can be classified as a director and major shareholder (Dutch: directeur-grootaandeelhouder or DGA). This field can be |
isPreviousOwner | boolean or null (isPreviousOwner) Indicates whether the employment can be classified as a previous owner. This field can be |
isFamilyOfOwner | boolean or null (isFamilyOfOwner) Indicates whether the employment can be classified as a previous owner. This field can be |
isOnCallEmployment | boolean (isOnCallEmploymentVerion2019-12-16) Indicates whether the employment is an on-call employment. This field can be |
hasOnCallAppearanceObligation | boolean or null (hasOnCallAppearanceObligation) In the case of an on-call employment this field indicates whether the employment has an appearance obligation. This field can be |
isGemoedsbezwaardNationalInsurance | boolean (isGemoedsbezwaardNationalInsurance) Gemoedsbezwaard Volksverzekering. NL: IsGemoedsbezwaardVolksverzekering |
isGemoedsbezwaardEmployeeInsurance | boolean (isGemoedsbezwaardEmployeeInsurance) Gemoedsbezwaard Werknemerverzekering. NL: IsGemoedsbezwaardWerknemerverzekering |
isAnonymousEmployee | boolean (isAnonymousEmployee) An employee that wants to remain anonymous related to social security instances. NL: IsAnoniemeWerknemer |
cancellationPeriodEmployee | integer or null <int32> (cancellationPeriodEmployee) [ 1 .. 1000 ] The notice period an employee is required to give the employer when resigning. The unit of time that applies to this field is described in the noticePeriodTimeUnit property. NL: OpzegtermijnWerknemer |
cancellationPeriodEmployer | integer or null <int32> (cancellationPeriodEmployer) [ 1 .. 1000 ] The notice period an employer is required to give the employee when terminating the contract. The unit of time that applies to this field is described in the noticePeriodTimeUnit property. NL: OpzegtermijnWerkgever |
object or null <metadata> (cancellationPeriodTimeUnit) The unit of time used for the noticePeriodeEmployee and noticePeriodEmployer properties. NL: PeriodeOpzegTermijn | |
cancellationNoticeDate | string or null <date> (cancellationNoticeDate) The date on which the notice was given by either the employee or the employer. NL: DatumOpzegging |
startCancellationNoticePeriod | string or null <date> (startCancellationNoticePeriod) The date on which the term of notice period starts. If the agrement states that a notice periode always starts on the first day of the month and the notice was given on the 15th the start notice periode will be the first day of the next month. NL: AanvangOpzegtermijn |
namePayslip | string or null (namePayslip) <= 34 characters Name that is visible on payslips for the employment. NL: NaamLoonstrook |
calculateWorkingHours | boolean (calculateWorkingHours) Automatically calculate working hours for the employment if the option automatically calculate hours is selected for a given period. NL: Completeren/Berekenen uren |
writtenEmploymentContract | boolean (writtenEmploymentContract) Did the employment and employer make a written contract? NL: Schriftelijke overeenkomst |
Responses
Request samples
- Payload
{- "historicalStartDate": "2012-05-01",
- "commissionUntilDate": "2019-01-01",
- "typeOfEmployee": {
- "key": 1
}, - "employmentDurationType": {
- "key": 1
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1
}, - "vacationCoupons": {
- "key": 1
}, - "sendToExternalParty": {
- "key": 1
}, - "deviatingCLAExternalParty": 2,
- "deviatingCLATaxReturn": 2,
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1
}, - "professionCode": 4,
- "exemptionWorkRelatedExpenseScheme": false,
- "exemptionPremiumWaiverMarginalLabour": false,
- "typeOfParticipation": {
- "key": 0
}, - "valueOfParticipation": {
- "key": 0
}, - "wachtgeldOldRegulation": false,
- "participation55plusRegulationUWV": false,
- "essMutationSet": {
- "key": 1
}, - "exemptionInsuranceObligation": {
- "key": 0
}, - "specialIncomeRatio": {
- "key": 0
}, - "temporaryTaxExemption": {
- "key": 2
}, - "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "commissionUntilDate1": "2018-05-31",
- "commissionUntilDate2": "2018-05-31",
- "commissionUntilDate3": "2018-05-31",
- "commissionUntilDate4": "2018-05-31",
- "commissionUntilDate5": "2018-05-31",
- "commissionUntilDate6": "2018-05-31",
- "isDirectorAndMajorShareholder": false,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "isAnonymousEmployee": true,
- "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4
}, - "cancellationNoticeDate": "2018-05-31",
- "startCancellationNoticePeriod": "2018-06-01",
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "writtenEmploymentContract": true
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "employee": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "firstName": "Susan",
- "initials": "S.L.",
- "prefix": "van",
- "lastName": "Bergen",
- "prefixPartner": "van de",
- "lastNamePartner": "Wiel",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
}, - "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "historicalStartDate": "2012-05-01",
- "commissionUntilDate": "2019-01-01",
- "endDate": "2018-10-23",
- "endOfEmploymentReason": {
- "key": 1,
- "value": "VUT"
}, - "endOfEmploymentReasonTaxAuthorities": {
- "key": 1,
- "value": "Beëindiging arbeidsovereenkomst met wederzijds goedvinden op initiatief van de werkgever."
}, - "endOfEmploymentDueToIllness": false,
- "firstDayNotification": false,
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "HR only employees",
- "description": "Bakker"
}, - "administration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker",
- "administrationType": "payrollAdministration"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "employmentCategoryType": {
- "key": 1,
- "value": "Ouderschapsverlof"
}, - "linkedEmployment": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Arbeidsovereenkomst (excl BBL)"
}, - "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "sendToExternalParty": {
- "key": 1,
- "value": "n.v.t."
}, - "deviatingCLAExternalParty": 2,
- "deviatingCLATaxReturn": 2,
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "professionCode": 4,
- "exemptionWorkRelatedExpenseScheme": false,
- "exemptionPremiumWaiverMarginalLabour": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.vt."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "wachtgeldOldRegulation": false,
- "participation55plusRegulationUWV": false,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "temporaryTaxExemption": {
- "key": 2,
- "value": "Nee."
}, - "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "commissionUntilDate1": "2018-05-31",
- "commissionUntilDate2": "2018-05-31",
- "commissionUntilDate3": "2018-05-31",
- "commissionUntilDate4": "2018-05-31",
- "commissionUntilDate5": "2018-05-31",
- "commissionUntilDate6": "2018-05-31",
- "isDirectorAndMajorShareholder": false,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "isAnonymousEmployee": true,
- "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2018-05-31",
- "startCancellationNoticePeriod": "2018-06-01",
- "payrollId": 2,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "writtenEmploymentContract": true
}
}
Edit the type of an employment
Activity name : PatchTypeOfEmploymentCategoryTypeFieldsByEmploymentId
Edit a small subset of fields of an employment.
Possible values for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the URL
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2019-12-16required
Employment to edit
object <metadata> A selection of special pre defined employment-types for the employment. NL: Type dienstverband | |
linkedEmployment | string or null <uuid> ^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9... The unique identifier of an object (GUID/UUID) |
Responses
Request samples
- Payload
{- "employmentCategoryType": {
- "key": 1
}, - "linkedEmployment": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "employmentCategoryType": {
- "key": 1,
- "value": "Ouderschapsverlof"
}, - "linkedEmployment": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
Delete an employment
Activity name : DeleteEmploymentByEmploymentId
Delete an employment. If the person linked to the employment no longer has any other employments, the person will also be deleted.
Deleting an employment is only possible under specific conditions. Information on these conditions can be obtained with: GetDeleteEmploymentInformationByEmploymentId
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Delete employment information
Activity name : GetDeleteEmploymentInformationByEmploymentId
Get information about the validations that the employment must meet in order to be allowed to delete.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "isEmployed": false,
- "isIncludedInPayroll": false,
- "hasMeldingen": false,
- "HasHealthInsuranceContract": false,
- "hasMdvNotifications": false,
- "hasDocument": false,
- "hasESSAndSingleEmployment": false,
- "hasCleverAndSingleEmployment": false,
- "hasMultipleEmployments": false,
- "hasPayrollRunStatusOpen": false,
- "isIncludedInPayrollTaxreturn": false,
- "isIncludedInPensionDeclaration": false,
- "isIncludedInUpaPensionDeclaration": false,
- "isIncludedInApgPensionDeclaration": false
}
}
Terminate an employment.
Activity name : PatchTerminateByEmploymentId
Terminate an employment. Effectively, the endDate
of the employment will be set to the given date.
Please note that setting the endDate
for an employment affects multiple resources in Loket (e.g. wage, workingHours and absence). Note that the termination date is to be filled with the last day of employment.
If the termination needs to be reversed use the ../employments/{employmentId}/reinstate
endpoint.
If the termination needs to be changed, use this endpoint to revise the termination data
The metadata for endOfEmploymentReason and endOfEmploymentReasonTaxAuthorities are included in the 'regular' metadata-endpoint of the Employment resource.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: required
The request body contains an object containing fields related to termination of an employment.
endDate | string <date> The date on which the employment ends (=last day of the employment). |
object <metadata> The reason for the end of the employment. Note: as of 2020-01-01 Please set this field to 8 (Other) unless one of the following integrations is used for this employment
| |
endOfEmploymentDueToIllness | boolean Indicates whether the reason for the termination of an employment is due to long-term illness. Mandatory if endDate is filled, else leave empty. |
createMdvEntry | boolean Indicates whether an MDV-entry should automatically be generated (not sent) by Loket (Melding Dienstverband). This should typically only be used for Colland-related employments and if the module MDV is active for an employer, which means in most cases this indicator should be set to Next to that, a message is ONLY generated when the employment is actually terminated by performing this action (=the employment did not already have an endDate before calling this endpoint). |
object <metadata> The reason for the end of the employment as specified by the Dutch Tax authorties. Note: This field replaces |
Responses
Request samples
- Payload
{- "endDate": "2018-10-23",
- "endOfEmploymentReason": {
- "key": 1
}, - "endOfEmploymentDueToIllness": false,
- "createMdvEntry": false,
- "endOfEmploymentReasonTaxAuthorities": {
- "key": 1
}
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Undo termination for an employment.
Activity name : PatchReinstateByEmploymentId
reinstate for an employment.
Effectively, termination is reversed by using this endpoint and therefore the employment will be considered active again.
Maak een uitdienst melding ongedaan.
Effectief gezien, 'datum uit dienst' gegevens worden teruggedraaid waardoor het dienstverband weer als actief zal worden beschouwd in Loket
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01
This endpoint does not require a request body. However, the Accept
header does need to be set to ensure the correct resource version is used.
Responses
Request samples
- Payload
{ }
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Correct the start (employment) date for an employment.
Activity name : PatchCorrectStartDateByEmploymentId
Edit the starting date (i.e. the official first day of a contract) of an employment. Please note that changing the starting data for an employment affects multiple entities in Loket (e.g. wage-records etc).
- With a correction of the starting date, you are responsible for the associated notifications.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
The request body contains an object containing fields related to termination of an employment.
startDate | string <date> The date on which this employment starts (=first day of the employment). |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List of employees for an employer
Activity name : GetEmployeesByEmployerId
Get a list of all employees for the given employer
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 The default option is
|
X-ReportInput | string Allows the user set what values are returnd in the "export" (csv or excel). |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "dateOfDeath": "2019-08-24",
- "aowDate": "2062-08-21",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "civilStatus": {
- "key": 2,
- "value": "Maried"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "businessPhoneNumber": "+31 13-1234567",
- "businessMobilePhoneNumber": "+31 6-1231456",
- "businessEmailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "travel": {
- "travelDistanceToWork": 32,
- "travelDistanceToWorkInKm": 41.05
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "exclusionFromAbsenceStatus": false,
- "statusEmployeeSelfService": {
- "key": 2,
- "value": "Blocked"
}, - "revokeEmployeeSelfServiceAccessOn": "2018-10-23"
}
]
}
Details of an employee
Activity name : GetEmployeeByEmployeeId
Get the details of a single employee
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "dateOfDeath": "2019-08-24",
- "aowDate": "2062-08-21",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "civilStatus": {
- "key": 2,
- "value": "Maried"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "businessPhoneNumber": "+31 13-1234567",
- "businessMobilePhoneNumber": "+31 6-1231456",
- "businessEmailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "travel": {
- "travelDistanceToWork": 32,
- "travelDistanceToWorkInKm": 41.05
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "exclusionFromAbsenceStatus": false,
- "statusEmployeeSelfService": {
- "key": 2,
- "value": "Blocked"
}, - "revokeEmployeeSelfServiceAccessOn": "2018-10-23"
}
}
Edit the details of an employee
Activity name : PutEmployeeByEmployeeId
Edit the employee details
Possible values for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the URL
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: required
Employee to edit.
employeeNumber | integer <int32> (employeeNumber) >= 1 The employee number to uniquely identify an employee within an employer |
object (personalDetails) | |
object (contactInformation2021-03-29) | |
object or null (identityDocument) | |
object (travel) | |
object or null (schemas-address) | |
object or null (schemas-deviatingPostalAddress) | |
exclusionFromAbsenceStatus | boolean (exclusionFromAbsenceStatus) Indicates whether the employee is excluded for any information of absence |
Responses
Request samples
- Payload
{- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "dateOfDeath": "2019-08-24",
- "howToFormatLastName": {
- "key": 2
}, - "title": {
- "key": 2
}, - "nationality": {
- "key": 2
}, - "gender": {
- "key": 2
}, - "civilStatus": {
- "key": 2
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "businessPhoneNumber": "+31 13-1234567",
- "businessMobilePhoneNumber": "+31 6-1231456",
- "businessEmailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2
}, - "documentIdentification": "CRE45553433"
}, - "travel": {
- "travelDistanceToWork": 32
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "isoCode": "NL"
}
}, - "exclusionFromAbsenceStatus": false
}
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "dateOfDeath": "2019-08-24",
- "aowDate": "2062-08-21",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "civilStatus": {
- "key": 2,
- "value": "Maried"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "businessPhoneNumber": "+31 13-1234567",
- "businessMobilePhoneNumber": "+31 6-1231456",
- "businessEmailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "travel": {
- "travelDistanceToWork": 32,
- "travelDistanceToWorkInKm": 41.05
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "exclusionFromAbsenceStatus": false,
- "statusEmployeeSelfService": {
- "key": 2,
- "value": "Blocked"
}, - "revokeEmployeeSelfServiceAccessOn": "2018-10-23"
}
}
Change the email address for an employee
Activity name : PatchEmailByEmployeeId
Defaults : No defaults
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-12-31required
Email address
emailAddress | string or null <= 255 characters ^((([a-z]|\d|[!#\$%&'\*\+\-\/=\?\^_`{\|}~]|[\... The e-mail address of the employee. |
Responses
Request samples
- Payload
{- "emailAddress": "[email protected]"
}
Response samples
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Citizen service number of an employee
Activity name : GetCitizenServiceNumberByEmployeeId
Get the citizen service number of an employee. BSN is separately authorized in Loket and is therefore designed to have its own activities.
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "citizenServiceNumber": "042168588"
}
}
Update the citizen service number of an employee
Activity name : PutCitizenServiceNumberByEmployeeId
Update the citizen service number of an employee. BSN is separately authorized in Loket and is therefore designed to have its own activities.
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
citizen service number to edit.
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).
Responses
Request samples
- Payload
"042168588"
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": "042168588"
}
Photo of an employee
Activity name : GetEmployeePhotoByEmployeeId
Photo of the employee to use as an avatar/profile picture
Caching: This resource changes very infrequently and can be cached for a longer time.
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
Post employee photo
Activity name : PostEmployeePhotoByEmployeeId
Photo of the employee to use as an avatar/profile picture
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Logo to be uploaded for the employer.
data | string base64 encoded document file. |
mimeType | string The mimetype of the data. |
Responses
Request samples
- Payload
{- "data": "YQ==",
- "mimeType": "image/jpeg"
}
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
Delete employee photo
Activity name : DeleteEmployeePhotoByEmployeeId
Photo of the employee to use as an avatar/profile picture
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Photo of an employee
Activity name : GetEmployeePhotoByEmployeeIdAndVersion
Photo of the employee to use as an avatar/profile picture
Caching: This resource changes very infrequently and can be cached for a longer time.
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
version required | string <uuid> An optional guid generated for caching. The value does not influence the output of this function. The Employee resource returns the URI of the current photo. |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 401
- 403
{- "message": "Authorization has been denied for this request."
}
Create a new employee in Loket
This endpoint is in development and therefore not yet accessible
Activity name : PostEmployeeByEmployerId
This endpoint 'creates' an employee in Loket with its corresponding entities. This means creating a number of records including Employee, Employment, WorkingHours, Wage etc.
Before doing performing these steps, quite a number of validations are performed to ensure that the provided information can be used to create a functionally valid employee.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Employee to be created
object (employee) | |
object or null (employment) | |
object or null (workingHours) | |
object or null (wage) | |
object or null (organizationalEntity) | |
object or null (socialSecurity) | |
object or null (fiscal) | |
object or null (otherPayrollVariables) | |
object (schemas-citizenServiceNumber) |
Responses
Request samples
- Payload
{- "employeeData": {
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2
}, - "title": {
- "key": 2
}, - "gender": {
- "key": 2
}, - "nationality": {
- "key": 2
}, - "civilStatus": {
- "key": 2
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}
}, - "iban": "NL52ABNA0424968264"
}, - "employmentData": {
- "startDate": "2019-01-01",
- "historicalStartDate": "2012-05-01",
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "commissionUntilDate": "2019-01-01",
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1
}, - "employmentDurationType": {
- "key": 1
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1
}, - "typeOfEmployee": {
- "key": 1
}, - "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4
}, - "cancellationNoticeDate": "2019-05-31",
- "startCancellationNoticePeriod": "2019-06-01",
- "isDirectorAndMajorShareholder": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "vacationCoupons": {
- "key": 1
}, - "specialIncomeRatio": {
- "key": 0
}, - "isAnonymousEmployee": true,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "essMutationSet": {
- "key": 1
}, - "exemptionInsuranceObligation": {
- "key": 0
}, - "sendMdvNotification": true,
- "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "typeOfParticipation": {
- "key": 0
}, - "valueOfParticipation": {
- "key": 0
}, - "professionCode": 4,
- "deviatingCLATaxReturn": 2,
- "participation55plusRegulationUWV": false,
- "writtenEmploymentContract": true
}, - "workingHoursData": {
- "shift": {
- "shiftNumber": 1
}, - "deviatingHoursPerWeek": 32,
- "deviatingSvDaysPerPeriod": 32,
- "averageParttimeFactor": 37.5,
- "regularWorkPattern": true,
- "flexibleHoursContract": {
- "key": 0
}, - "contractCode": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "calculateUsingWorkPattern": {
- "leaveHours": true,
- "hoursBrokenPeriod": false,
- "hoursPeriod": false,
- "daysDailyRate": false,
- "deviatingDaysAndHours": false
}, - "workPattern": {
- "oddWeeks": {
- "monday": 8,
- "tuesday": 8,
- "wednesday": 4,
- "thursday": 7.5,
- "friday": 4,
- "saturday": 0,
- "sunday": 0
}, - "evenWeeks": {
- "monday": 0,
- "tuesday": 8,
- "wednesday": 8,
- "thursday": 8,
- "friday": 2,
- "saturday": 0,
- "sunday": 0
}
}
}, - "wageData": {
- "grossWage": 23,
- "grossWageType": {
- "key": 2
}, - "netWage": 1,
- "netWageType": { },
- "payScale": { },
- "payGrade": { },
- "applyPayGrade": true
}, - "organizationalEntityData": {
- "function": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "deviatingFunctionGroup": "9A",
- "deviatingFunctionDescription": "Directeur",
- "standardFunction": {
- "key": 1
}, - "department": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "placeOfEmployment": "Amsterdam office",
- "internalTelephoneExtensionNumber": "0133031600"
}, - "socialSecurityData": {
- "isInsuredForSicknessBenefitsAct": false,
- "isInsuredForUnemploymentInsuranceAct": false,
- "isInsuredForOccupationalDisabilityInsuranceAct": false,
- "healthCareInsuranceActType": {
- "key": 2
}
}, - "fiscalData": {
- "annualSalary": 60000,
- "deviatingPayrollTaxTableColour": {
- "key": 2
}, - "applyDayTables": false,
- "applyDeviatingPayrollTaxPercentageOn": {
- "key": 2
}, - "applyPayrollTaxDeduction": false,
- "applyStudentDeduction": false,
- "deviatingCalculationRulePayrollTax": {
- "key": 2
}, - "residentOf": {
- "key": 2
}
}, - "otherPayrollVariablesData": {
- "deviatingPremiumGroup": {
- "key": 2
}
}, - "citizenServiceNumber": {
- "citizenServiceNumber": "042168588"
}
}
Response samples
- 201
- 400
- 401
- 403
{- "employeeId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employmentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
Set the date on which to revoke ESS access
Activity name : PatchRevokeEmployeeSelfServiceAccessByEmployeeId
This endpoint allows the user to set the 'revokeEmployeeSelfServiceAccessOn'. This date indicates on what day the access to WerknemerLoket (Employee Self Service) will be revoked (this is done by scheduled tasks that run during the night). This is particularly useful for situations where for example the employer wants to restrict access at a specific date in the future, for example 1st of May in the next year.
The value may be set to NULL and thus clearing the date on which access would be revoked. Please note that this endpoint will not automatically 'unblock' an Employee, as that would require a specific action.
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
The request body contains an object containing fields related to termination of an employment.
revokeEmployeeSelfServiceAccessOn | string or null <date> The date on which the Employees access to ESS (werknemer.loket) will be automatically revoked. |
Responses
Request samples
- Payload
{- "revokeEmployeeSelfServiceAccessOn": "2018-10-23"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
NL: Concept Werknemer. Manage concept employees. In integrations with different applications it is sometimes necessary to use concept employee to create new employments within loket.nl. This is due to the fact that most systems don’t have all the fields required to create a new employment in loket.nl. Because for employee the validations are disabled. Allowing for the creation of a concept employee with only a subset of the fields that are required when creating a employment. At a later point the concept employee can be "promoted" to employee/employment using the Loket.nl interface. Please note that when a concept employee is promoted to an actual employee, the GUID of the employee will be identical to the concept employee from which it was created.
List of concept employee for an employer
Activity name : GetConceptEmployeesByEmployerId
Get a list of all concept employee for the given employer. Concept employee can be used as a template/prefill when creating a new employee/employment.
This function may also be used in case one does not have all the required fields to create a new employee/employment. The validations are disabled for a concept employee allowing one to create a concept employee filling only a subset of available fields, then later "promoting" the Concept employee in loket.nl to employee/employment.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "uniqueName": "Sollicitant 013",
- "creationDate": "2018-05-08",
- "employeeData": {
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "civilStatus": {
- "key": 2,
- "value": "Married"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "iban": "NL52ABNA0424968264"
}, - "employmentData": {
- "startDate": "2019-01-01",
- "historicalStartDate": "2012-05-01",
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "description": "Bakker"
}, - "commissionUntilDate": "2019-01-01",
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Labor agreement"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2019-05-31",
- "startCancellationNoticePeriod": "2019-06-01",
- "isDirectorAndMajorShareholder": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "isAnonymousEmployee": true,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "firstDayNotification": false,
- "sendMdvNotification": true,
- "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "professionCode": 4,
- "deviatingCLATaxReturn": 2,
- "participation55plusRegulationUWV": false,
- "writtenEmploymentContract": true
}, - "workingHoursData": {
- "shift": {
- "shiftNumber": 1,
- "fullTimeHoursPerWeek": 40,
- "bonusPercentage": 12
}, - "deviatingHoursPerWeek": 32,
- "deviatingSvDaysPerPeriod": 32,
- "averageParttimeFactor": 37.5,
- "regularWorkPattern": true,
- "flexibleHoursContract": {
- "key": 0,
- "value": "n.v.t."
}, - "contractCode": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 1022,
- "description": "SLA-PT-met toeslagen ATW (88)"
}, - "calculateUsingWorkPattern": {
- "leaveHours": true,
- "hoursBrokenPeriod": false,
- "hoursPeriod": false,
- "daysDailyRate": false,
- "deviatingDaysAndHours": false
}, - "workPattern": {
- "oddWeeks": {
- "monday": 8,
- "tuesday": 8,
- "wednesday": 4,
- "thursday": 7.5,
- "friday": 4,
- "saturday": 0,
- "sunday": 0
}, - "evenWeeks": {
- "monday": 0,
- "tuesday": 8,
- "wednesday": 8,
- "thursday": 8,
- "friday": 2,
- "saturday": 0,
- "sunday": 0
}
}
}, - "wageData": {
- "grossWage": 23,
- "grossWageType": {
- "key": 2,
- "value": "hourly"
}, - "netWage": 1,
- "netWageType": {
- "key": 1,
- "value": "hourly"
}, - "payScale": {
- "key": 1,
- "value": "Glastuinbouw maand, Loongebouw A"
}, - "payGrade": {
- "key": 1,
- "value": "Schaal B1, 15 jaar"
}, - "applyPayGrade": true
}, - "organizationalEntityData": {
- "function": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Directeur",
- "group": "internal"
}, - "deviatingFunctionGroup": "9A",
- "deviatingFunctionDescription": "Directeur",
- "standardFunction": {
- "key": 1,
- "value": "Administrateur",
- "code": "A21",
- "category": 1
}, - "department": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Verkoop"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Sales"
}, - "placeOfEmployment": "Amsterdam office",
- "internalTelephoneExtensionNumber": "0133031600"
}, - "socialSecurityData": {
- "isInsuredForSicknessBenefitsAct": false,
- "isInsuredForUnemploymentInsuranceAct": false,
- "isInsuredForOccupationalDisabilityInsuranceAct": false,
- "healthCareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}
}, - "fiscalData": {
- "annualSalary": 60000,
- "deviatingPayrollTaxTableColour": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "applyDayTables": false,
- "deviatingPayrollTaxPercentage": 27.45,
- "applyDeviatingPayrollTaxPercentageOn": {
- "key": 2,
- "value": "Afwijkend voor tabel- en tariefloon"
}, - "applyPayrollTaxDeduction": false,
- "applyStudentDeduction": false,
- "deviatingCalculationRulePayrollTax": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "residentOf": {
- "key": 2,
- "value": "Andere EU-lidstaat,EER-land,Zwitserland of BES-eilanden"
}
}, - "otherPayrollVariablesData": {
- "deviatingPremiumGroup": {
- "key": 2,
- "value": "(12) Metaal- en technische bedrijfstakken"
}
}, - "selfService": {
- "status": "HasAccessToClient",
- "clientName": "Clever"
}
}
]
}
Create a concept employee for an employer
Activity name : PostConceptEmployeeByEmployerId
Create a concept employee for an employer
* Possible options (metadata) for generic fields of the type \metadata" can be acquired (GET) by adding /metadata
to the URL.
* Possible options dependent on a specific payrollAdministration can be acquired via ../providers/employers/conceptemployees/metadata/payrolladministration/{payrollAdministrationId}
.
* Possible options for payGrade can be acquired via ../providers/employers/conceptemployees/metadata/payrolladministration/{payrollAdministrationId}/payscale/{payScaleKey}
.
A payGrade
has time based values dictating the wage for a given period. These values can be acquired by performing another metadata request to GET ../providers/employers/conceptemployees/metadata/payrolladministration/{payrollAdministrationId}/payscale/{payScaleKey}/paygrade/{payGradeKey}
. This endpoint has the optional parameter "date" that may be used to specifying a measure date.
Defaults : Default values for a new object can be acquired by adding /defaults
to the POST URL.
Default values that are dependent on the selected payroll administration can be acquired by adding /providers/employers/conceptemployees/defaults/payrolladministration/{payrollAdministrationId}
to the POST URL.
NonPayrollAdministrations For nonPayrollAdministrations the equivalent MetaData-endpoints are also available as described above. However NO specific defaults endpoint is available for the nonPayrollAdministration.
"
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
concept employee to create to the employer.
uniqueName | string [ 1 .. 255 ] characters The unique name for this concept employment. It is commonly used as a displayname in the user interface to select this entry in a dropdown box. |
object (employee) | |
object or null (employment) | |
object or null (workingHours) | |
object or null (wage) | |
object or null (organizationalEntity) | |
object or null (socialSecurity) | |
object or null (fiscal) | |
object or null (otherPayrollVariables) |
Responses
Request samples
- Payload
{- "uniqueName": "Sollicitant 013",
- "employeeData": {
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2
}, - "title": {
- "key": 2
}, - "gender": {
- "key": 2
}, - "nationality": {
- "key": 2
}, - "civilStatus": {
- "key": 2
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}
}, - "iban": "NL52ABNA0424968264"
}, - "employmentData": {
- "startDate": "2019-01-01",
- "historicalStartDate": "2012-05-01",
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "commissionUntilDate": "2019-01-01",
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1
}, - "employmentDurationType": {
- "key": 1
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1
}, - "typeOfEmployee": {
- "key": 1
}, - "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4
}, - "cancellationNoticeDate": "2019-05-31",
- "startCancellationNoticePeriod": "2019-06-01",
- "isDirectorAndMajorShareholder": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "vacationCoupons": {
- "key": 1
}, - "specialIncomeRatio": {
- "key": 0
}, - "isAnonymousEmployee": true,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "essMutationSet": {
- "key": 1
}, - "exemptionInsuranceObligation": {
- "key": 0
}, - "sendMdvNotification": true,
- "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "typeOfParticipation": {
- "key": 0
}, - "valueOfParticipation": {
- "key": 0
}, - "professionCode": 4,
- "deviatingCLATaxReturn": 2,
- "participation55plusRegulationUWV": false,
- "writtenEmploymentContract": true
}, - "workingHoursData": {
- "shift": {
- "shiftNumber": 1
}, - "deviatingHoursPerWeek": 32,
- "deviatingSvDaysPerPeriod": 32,
- "averageParttimeFactor": 37.5,
- "regularWorkPattern": true,
- "flexibleHoursContract": {
- "key": 0
}, - "contractCode": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "calculateUsingWorkPattern": {
- "leaveHours": true,
- "hoursBrokenPeriod": false,
- "hoursPeriod": false,
- "daysDailyRate": false,
- "deviatingDaysAndHours": false
}, - "workPattern": {
- "oddWeeks": {
- "monday": 8,
- "tuesday": 8,
- "wednesday": 4,
- "thursday": 7.5,
- "friday": 4,
- "saturday": 0,
- "sunday": 0
}, - "evenWeeks": {
- "monday": 0,
- "tuesday": 8,
- "wednesday": 8,
- "thursday": 8,
- "friday": 2,
- "saturday": 0,
- "sunday": 0
}
}
}, - "wageData": {
- "grossWage": 23,
- "grossWageType": {
- "key": 2
}, - "netWage": 1,
- "netWageType": { },
- "payScale": { },
- "payGrade": { },
- "applyPayGrade": true
}, - "organizationalEntityData": {
- "function": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "deviatingFunctionGroup": "9A",
- "deviatingFunctionDescription": "Directeur",
- "standardFunction": {
- "key": 1
}, - "department": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "placeOfEmployment": "Amsterdam office",
- "internalTelephoneExtensionNumber": "0133031600"
}, - "socialSecurityData": {
- "isInsuredForSicknessBenefitsAct": false,
- "isInsuredForUnemploymentInsuranceAct": false,
- "isInsuredForOccupationalDisabilityInsuranceAct": false,
- "healthCareInsuranceActType": {
- "key": 2
}
}, - "fiscalData": {
- "annualSalary": 60000,
- "deviatingPayrollTaxTableColour": {
- "key": 2
}, - "applyDayTables": false,
- "applyDeviatingPayrollTaxPercentageOn": {
- "key": 2
}, - "applyPayrollTaxDeduction": false,
- "applyStudentDeduction": false,
- "deviatingCalculationRulePayrollTax": {
- "key": 2
}, - "residentOf": {
- "key": 2
}
}, - "otherPayrollVariablesData": {
- "deviatingPremiumGroup": {
- "key": 2
}
}
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "uniqueName": "Sollicitant 013",
- "creationDate": "2018-05-08",
- "employeeData": {
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "civilStatus": {
- "key": 2,
- "value": "Married"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "iban": "NL52ABNA0424968264"
}, - "employmentData": {
- "startDate": "2019-01-01",
- "historicalStartDate": "2012-05-01",
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "description": "Bakker"
}, - "commissionUntilDate": "2019-01-01",
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Labor agreement"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2019-05-31",
- "startCancellationNoticePeriod": "2019-06-01",
- "isDirectorAndMajorShareholder": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "isAnonymousEmployee": true,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "firstDayNotification": false,
- "sendMdvNotification": true,
- "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "professionCode": 4,
- "deviatingCLATaxReturn": 2,
- "participation55plusRegulationUWV": false,
- "writtenEmploymentContract": true
}, - "workingHoursData": {
- "shift": {
- "shiftNumber": 1,
- "fullTimeHoursPerWeek": 40,
- "bonusPercentage": 12
}, - "deviatingHoursPerWeek": 32,
- "deviatingSvDaysPerPeriod": 32,
- "averageParttimeFactor": 37.5,
- "regularWorkPattern": true,
- "flexibleHoursContract": {
- "key": 0,
- "value": "n.v.t."
}, - "contractCode": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 1022,
- "description": "SLA-PT-met toeslagen ATW (88)"
}, - "calculateUsingWorkPattern": {
- "leaveHours": true,
- "hoursBrokenPeriod": false,
- "hoursPeriod": false,
- "daysDailyRate": false,
- "deviatingDaysAndHours": false
}, - "workPattern": {
- "oddWeeks": {
- "monday": 8,
- "tuesday": 8,
- "wednesday": 4,
- "thursday": 7.5,
- "friday": 4,
- "saturday": 0,
- "sunday": 0
}, - "evenWeeks": {
- "monday": 0,
- "tuesday": 8,
- "wednesday": 8,
- "thursday": 8,
- "friday": 2,
- "saturday": 0,
- "sunday": 0
}
}
}, - "wageData": {
- "grossWage": 23,
- "grossWageType": {
- "key": 2,
- "value": "hourly"
}, - "netWage": 1,
- "netWageType": {
- "key": 1,
- "value": "hourly"
}, - "payScale": {
- "key": 1,
- "value": "Glastuinbouw maand, Loongebouw A"
}, - "payGrade": {
- "key": 1,
- "value": "Schaal B1, 15 jaar"
}, - "applyPayGrade": true
}, - "organizationalEntityData": {
- "function": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Directeur",
- "group": "internal"
}, - "deviatingFunctionGroup": "9A",
- "deviatingFunctionDescription": "Directeur",
- "standardFunction": {
- "key": 1,
- "value": "Administrateur",
- "code": "A21",
- "category": 1
}, - "department": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Verkoop"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Sales"
}, - "placeOfEmployment": "Amsterdam office",
- "internalTelephoneExtensionNumber": "0133031600"
}, - "socialSecurityData": {
- "isInsuredForSicknessBenefitsAct": false,
- "isInsuredForUnemploymentInsuranceAct": false,
- "isInsuredForOccupationalDisabilityInsuranceAct": false,
- "healthCareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}
}, - "fiscalData": {
- "annualSalary": 60000,
- "deviatingPayrollTaxTableColour": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "applyDayTables": false,
- "deviatingPayrollTaxPercentage": 27.45,
- "applyDeviatingPayrollTaxPercentageOn": {
- "key": 2,
- "value": "Afwijkend voor tabel- en tariefloon"
}, - "applyPayrollTaxDeduction": false,
- "applyStudentDeduction": false,
- "deviatingCalculationRulePayrollTax": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "residentOf": {
- "key": 2,
- "value": "Andere EU-lidstaat,EER-land,Zwitserland of BES-eilanden"
}
}, - "otherPayrollVariablesData": {
- "deviatingPremiumGroup": {
- "key": 2,
- "value": "(12) Metaal- en technische bedrijfstakken"
}
}, - "selfService": {
- "status": "HasAccessToClient",
- "clientName": "Clever"
}
}
}
Details of a concept employee with fewer fields.
Activity name : GetConceptEmployeeMinimizedByConceptEmployeeId
Get the details of a concept employee with fewer fields
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "civilStatus": {
- "key": 2,
- "value": "Married"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "iban": "NL52ABNA0424968264",
- "applyPayrollTaxDeduction": true
}
}
Edit the details of a concept employee with fewer fields.
Activity name : PutConceptEmployeeMinimizedByConceptEmployeeId
Edit the details of a concept employee with fewer fields.
- Possible options (metadata) for generic fields of the type "metadata" can be acquired (GET) by adding
/metadata
to the URL.
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Concept employee to edit.
object The personal details of the employee. e.g. Name, civil status en gender | |
object or null Contact information for the employee | |
object or null The identification document of the employee | |
object or null The address of the employee | |
iban | string or null <= 35 characters International Bank Account Number. Only IBAN without spaces are accepted. |
applyPayrollTaxDeduction | boolean Indicates whether payroll tax deduction is appliclable (loonheffingskorting) |
Responses
Request samples
- Payload
{- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2
}, - "title": {
- "key": 2
}, - "gender": {
- "key": 2
}, - "nationality": {
- "key": 2
}, - "civilStatus": {
- "key": 2
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}
}, - "iban": "NL52ABNA0424968264",
- "applyPayrollTaxDeduction": true
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "civilStatus": {
- "key": 2,
- "value": "Married"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "iban": "NL52ABNA0424968264",
- "applyPayrollTaxDeduction": true
}
}
Details of a concept employee
Activity name : GetConceptEmployeeByConceptEmployeeId
Get the details of a concept employee
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "uniqueName": "Sollicitant 013",
- "creationDate": "2018-05-08",
- "employeeData": {
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "civilStatus": {
- "key": 2,
- "value": "Married"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "iban": "NL52ABNA0424968264"
}, - "employmentData": {
- "startDate": "2019-01-01",
- "historicalStartDate": "2012-05-01",
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "description": "Bakker"
}, - "commissionUntilDate": "2019-01-01",
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Labor agreement"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2019-05-31",
- "startCancellationNoticePeriod": "2019-06-01",
- "isDirectorAndMajorShareholder": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "isAnonymousEmployee": true,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "firstDayNotification": false,
- "sendMdvNotification": true,
- "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "professionCode": 4,
- "deviatingCLATaxReturn": 2,
- "participation55plusRegulationUWV": false,
- "writtenEmploymentContract": true
}, - "workingHoursData": {
- "shift": {
- "shiftNumber": 1,
- "fullTimeHoursPerWeek": 40,
- "bonusPercentage": 12
}, - "deviatingHoursPerWeek": 32,
- "deviatingSvDaysPerPeriod": 32,
- "averageParttimeFactor": 37.5,
- "regularWorkPattern": true,
- "flexibleHoursContract": {
- "key": 0,
- "value": "n.v.t."
}, - "contractCode": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 1022,
- "description": "SLA-PT-met toeslagen ATW (88)"
}, - "calculateUsingWorkPattern": {
- "leaveHours": true,
- "hoursBrokenPeriod": false,
- "hoursPeriod": false,
- "daysDailyRate": false,
- "deviatingDaysAndHours": false
}, - "workPattern": {
- "oddWeeks": {
- "monday": 8,
- "tuesday": 8,
- "wednesday": 4,
- "thursday": 7.5,
- "friday": 4,
- "saturday": 0,
- "sunday": 0
}, - "evenWeeks": {
- "monday": 0,
- "tuesday": 8,
- "wednesday": 8,
- "thursday": 8,
- "friday": 2,
- "saturday": 0,
- "sunday": 0
}
}
}, - "wageData": {
- "grossWage": 23,
- "grossWageType": {
- "key": 2,
- "value": "hourly"
}, - "netWage": 1,
- "netWageType": {
- "key": 1,
- "value": "hourly"
}, - "payScale": {
- "key": 1,
- "value": "Glastuinbouw maand, Loongebouw A"
}, - "payGrade": {
- "key": 1,
- "value": "Schaal B1, 15 jaar"
}, - "applyPayGrade": true
}, - "organizationalEntityData": {
- "function": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Directeur",
- "group": "internal"
}, - "deviatingFunctionGroup": "9A",
- "deviatingFunctionDescription": "Directeur",
- "standardFunction": {
- "key": 1,
- "value": "Administrateur",
- "code": "A21",
- "category": 1
}, - "department": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Verkoop"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Sales"
}, - "placeOfEmployment": "Amsterdam office",
- "internalTelephoneExtensionNumber": "0133031600"
}, - "socialSecurityData": {
- "isInsuredForSicknessBenefitsAct": false,
- "isInsuredForUnemploymentInsuranceAct": false,
- "isInsuredForOccupationalDisabilityInsuranceAct": false,
- "healthCareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}
}, - "fiscalData": {
- "annualSalary": 60000,
- "deviatingPayrollTaxTableColour": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "applyDayTables": false,
- "deviatingPayrollTaxPercentage": 27.45,
- "applyDeviatingPayrollTaxPercentageOn": {
- "key": 2,
- "value": "Afwijkend voor tabel- en tariefloon"
}, - "applyPayrollTaxDeduction": false,
- "applyStudentDeduction": false,
- "deviatingCalculationRulePayrollTax": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "residentOf": {
- "key": 2,
- "value": "Andere EU-lidstaat,EER-land,Zwitserland of BES-eilanden"
}
}, - "otherPayrollVariablesData": {
- "deviatingPremiumGroup": {
- "key": 2,
- "value": "(12) Metaal- en technische bedrijfstakken"
}
}, - "selfService": {
- "status": "HasAccessToClient",
- "clientName": "Clever"
}
}
}
Edit the details of a concept employee
Activity name : PutConceptEmployeeByConceptEmployeeId
Edit the details of a concept employee
- Possible options (metadata) for generic fields of the type "metadata" can be acquired (GET) by adding
/metadata
to the URL. - Possible options dependent on a specific payrollAdministration can be acquired via
../providers/employers/conceptemployees/metadata/payrollAdministration/{payrollAdministrationId}
. - Possible options for payGrade can be acquired via
../providers/employers/conceptemployees/metadata/payrolladministration/{payrollAdministrationId}/payscale/{payScaleKey}
.
A payGrade
has time based values dictating the wage for a given period. These values can be acquired by performing another metadata request ../providers/employers/conceptemployees/metadata/payscale/{payScaleKey}/paygrade/{payGradeKey}
.
NonPayrollAdministrations For nonPayrollAdministrations the equivalent MetaData-endpoints are also available as described above. However NO specific defaults endpoint is available for the nonPayrollAdministration.
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Concept employee to edit.
uniqueName | string [ 1 .. 255 ] characters The unique name for this concept employment. It is commonly used as a displayname in the user interface to select this entry in a dropdown box. |
object (employee) | |
object or null (employment) | |
object or null (workingHours) | |
object or null (wage) | |
object or null (organizationalEntity) | |
object or null (socialSecurity) | |
object or null (fiscal) | |
object or null (otherPayrollVariables) |
Responses
Request samples
- Payload
{- "uniqueName": "Sollicitant 013",
- "employeeData": {
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2
}, - "title": {
- "key": 2
}, - "gender": {
- "key": 2
}, - "nationality": {
- "key": 2
}, - "civilStatus": {
- "key": 2
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1
}
}, - "iban": "NL52ABNA0424968264"
}, - "employmentData": {
- "startDate": "2019-01-01",
- "historicalStartDate": "2012-05-01",
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "commissionUntilDate": "2019-01-01",
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1
}, - "employmentDurationType": {
- "key": 1
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1
}, - "typeOfEmployee": {
- "key": 1
}, - "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4
}, - "cancellationNoticeDate": "2019-05-31",
- "startCancellationNoticePeriod": "2019-06-01",
- "isDirectorAndMajorShareholder": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "vacationCoupons": {
- "key": 1
}, - "specialIncomeRatio": {
- "key": 0
}, - "isAnonymousEmployee": true,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "essMutationSet": {
- "key": 1
}, - "exemptionInsuranceObligation": {
- "key": 0
}, - "sendMdvNotification": true,
- "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "typeOfParticipation": {
- "key": 0
}, - "valueOfParticipation": {
- "key": 0
}, - "professionCode": 4,
- "deviatingCLATaxReturn": 2,
- "participation55plusRegulationUWV": false,
- "writtenEmploymentContract": true
}, - "workingHoursData": {
- "shift": {
- "shiftNumber": 1
}, - "deviatingHoursPerWeek": 32,
- "deviatingSvDaysPerPeriod": 32,
- "averageParttimeFactor": 37.5,
- "regularWorkPattern": true,
- "flexibleHoursContract": {
- "key": 0
}, - "contractCode": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "calculateUsingWorkPattern": {
- "leaveHours": true,
- "hoursBrokenPeriod": false,
- "hoursPeriod": false,
- "daysDailyRate": false,
- "deviatingDaysAndHours": false
}, - "workPattern": {
- "oddWeeks": {
- "monday": 8,
- "tuesday": 8,
- "wednesday": 4,
- "thursday": 7.5,
- "friday": 4,
- "saturday": 0,
- "sunday": 0
}, - "evenWeeks": {
- "monday": 0,
- "tuesday": 8,
- "wednesday": 8,
- "thursday": 8,
- "friday": 2,
- "saturday": 0,
- "sunday": 0
}
}
}, - "wageData": {
- "grossWage": 23,
- "grossWageType": {
- "key": 2
}, - "netWage": 1,
- "netWageType": { },
- "payScale": { },
- "payGrade": { },
- "applyPayGrade": true
}, - "organizationalEntityData": {
- "function": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "deviatingFunctionGroup": "9A",
- "deviatingFunctionDescription": "Directeur",
- "standardFunction": {
- "key": 1
}, - "department": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "placeOfEmployment": "Amsterdam office",
- "internalTelephoneExtensionNumber": "0133031600"
}, - "socialSecurityData": {
- "isInsuredForSicknessBenefitsAct": false,
- "isInsuredForUnemploymentInsuranceAct": false,
- "isInsuredForOccupationalDisabilityInsuranceAct": false,
- "healthCareInsuranceActType": {
- "key": 2
}
}, - "fiscalData": {
- "annualSalary": 60000,
- "deviatingPayrollTaxTableColour": {
- "key": 2
}, - "applyDayTables": false,
- "applyDeviatingPayrollTaxPercentageOn": {
- "key": 2
}, - "applyPayrollTaxDeduction": false,
- "applyStudentDeduction": false,
- "deviatingCalculationRulePayrollTax": {
- "key": 2
}, - "residentOf": {
- "key": 2
}
}, - "otherPayrollVariablesData": {
- "deviatingPremiumGroup": {
- "key": 2
}
}
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "uniqueName": "Sollicitant 013",
- "creationDate": "2018-05-08",
- "employeeData": {
- "employeeNumber": 156,
- "personalDetails": {
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "formattedName": "Wiel - van Bergen S.L. van de",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "dateOfBirth": "1995-05-21",
- "placeOfBirth": "Amsterdam",
- "howToFormatLastName": {
- "key": 2,
- "value": "last name + last name partner"
}, - "title": {
- "key": 2,
- "value": "e.g. Msc, PHD or Baron"
}, - "gender": {
- "key": 2,
- "value": "female"
}, - "nationality": {
- "key": 2,
- "value": "Dutch"
}, - "civilStatus": {
- "key": 2,
- "value": "Married"
}
}, - "contactInformation": {
- "phoneNumber": "+31 13-1234567",
- "mobilePhoneNumber": "+31 6-1231456",
- "faxNumber": "+31 13-1234561",
- "emailAddress": "[email protected]"
}, - "identityDocument": {
- "typeOfDocument": {
- "key": 2,
- "value": "Passport"
}, - "documentIdentification": "CRE45553433"
}, - "address": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "deviatingPostalAddress": {
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "location": "Fourth floor or building C",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}
}, - "iban": "NL52ABNA0424968264"
}, - "employmentData": {
- "startDate": "2019-01-01",
- "historicalStartDate": "2012-05-01",
- "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234,
- "description": "Bakker"
}, - "nonPayrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "description": "Bakker"
}, - "commissionUntilDate": "2019-01-01",
- "incomeRelationshipNumber": 12,
- "employeeProfileId": {
- "key": 1,
- "value": "Profiel full-timers"
}, - "employmentDurationType": {
- "key": 1,
- "value": "Contract of indefinite duration"
}, - "startDateContractOfIndefiniteDuration": "2018-05-08",
- "employmentContractType": {
- "key": 1,
- "value": "Labor agreement"
}, - "typeOfEmployee": {
- "key": 1,
- "value": "Werknemer"
}, - "cancellationPeriodEmployee": 1,
- "cancellationPeriodEmployer": 1,
- "cancellationPeriodTimeUnit": {
- "key": 4,
- "value": "Maand(en)"
}, - "cancellationNoticeDate": "2019-05-31",
- "startCancellationNoticePeriod": "2019-06-01",
- "isDirectorAndMajorShareholder": false,
- "isOnCallEmployment": true,
- "hasOnCallAppearanceObligation": true,
- "vacationCoupons": {
- "key": 1,
- "value": "n.v.t."
}, - "specialIncomeRatio": {
- "key": 0,
- "value": "n.v.t."
}, - "isAnonymousEmployee": true,
- "isPreviousOwner": false,
- "isFamilyOfOwner": false,
- "isGemoedsbezwaardNationalInsurance": true,
- "isGemoedsbezwaardEmployeeInsurance": true,
- "namePayslip": "Steve Jobs",
- "calculateWorkingHours": true,
- "essMutationSet": {
- "key": 1,
- "value": "Standaard"
}, - "exemptionInsuranceObligation": {
- "key": 0,
- "value": "Geen uitzondering."
}, - "firstDayNotification": false,
- "sendMdvNotification": true,
- "periodPayGradeAdjustment": 2,
- "signalPayGradeAdjustment": false,
- "typeOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "valueOfParticipation": {
- "key": 0,
- "value": "n.v.t."
}, - "professionCode": 4,
- "deviatingCLATaxReturn": 2,
- "participation55plusRegulationUWV": false,
- "writtenEmploymentContract": true
}, - "workingHoursData": {
- "shift": {
- "shiftNumber": 1,
- "fullTimeHoursPerWeek": 40,
- "bonusPercentage": 12
}, - "deviatingHoursPerWeek": 32,
- "deviatingSvDaysPerPeriod": 32,
- "averageParttimeFactor": 37.5,
- "regularWorkPattern": true,
- "flexibleHoursContract": {
- "key": 0,
- "value": "n.v.t."
}, - "contractCode": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 1022,
- "description": "SLA-PT-met toeslagen ATW (88)"
}, - "calculateUsingWorkPattern": {
- "leaveHours": true,
- "hoursBrokenPeriod": false,
- "hoursPeriod": false,
- "daysDailyRate": false,
- "deviatingDaysAndHours": false
}, - "workPattern": {
- "oddWeeks": {
- "monday": 8,
- "tuesday": 8,
- "wednesday": 4,
- "thursday": 7.5,
- "friday": 4,
- "saturday": 0,
- "sunday": 0
}, - "evenWeeks": {
- "monday": 0,
- "tuesday": 8,
- "wednesday": 8,
- "thursday": 8,
- "friday": 2,
- "saturday": 0,
- "sunday": 0
}
}
}, - "wageData": {
- "grossWage": 23,
- "grossWageType": {
- "key": 2,
- "value": "hourly"
}, - "netWage": 1,
- "netWageType": {
- "key": 1,
- "value": "hourly"
}, - "payScale": {
- "key": 1,
- "value": "Glastuinbouw maand, Loongebouw A"
}, - "payGrade": {
- "key": 1,
- "value": "Schaal B1, 15 jaar"
}, - "applyPayGrade": true
}, - "organizationalEntityData": {
- "function": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Directeur",
- "group": "internal"
}, - "deviatingFunctionGroup": "9A",
- "deviatingFunctionDescription": "Directeur",
- "standardFunction": {
- "key": 1,
- "value": "Administrateur",
- "code": "A21",
- "category": 1
}, - "department": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Verkoop"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Sales"
}, - "placeOfEmployment": "Amsterdam office",
- "internalTelephoneExtensionNumber": "0133031600"
}, - "socialSecurityData": {
- "isInsuredForSicknessBenefitsAct": false,
- "isInsuredForUnemploymentInsuranceAct": false,
- "isInsuredForOccupationalDisabilityInsuranceAct": false,
- "healthCareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}
}, - "fiscalData": {
- "annualSalary": 60000,
- "deviatingPayrollTaxTableColour": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "applyDayTables": false,
- "deviatingPayrollTaxPercentage": 27.45,
- "applyDeviatingPayrollTaxPercentageOn": {
- "key": 2,
- "value": "Afwijkend voor tabel- en tariefloon"
}, - "applyPayrollTaxDeduction": false,
- "applyStudentDeduction": false,
- "deviatingCalculationRulePayrollTax": {
- "key": 2,
- "value": "Werknemer belastingpl. en niet premiepl. WLZ"
}, - "residentOf": {
- "key": 2,
- "value": "Andere EU-lidstaat,EER-land,Zwitserland of BES-eilanden"
}
}, - "otherPayrollVariablesData": {
- "deviatingPremiumGroup": {
- "key": 2,
- "value": "(12) Metaal- en technische bedrijfstakken"
}
}, - "selfService": {
- "status": "HasAccessToClient",
- "clientName": "Clever"
}
}
}
Delete a concept employee
Activity name : DeleteConceptEmployeeByConceptEmployeeId
Delete a concept employee
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
query Parameters
deleteDocuments | boolean If true, all underlying documents will be deleted. |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Citizen service number of a concept employee
Activity name : GetCitizenServiceNumberByConceptEmployeeId
Get the citizen service number (BSN) of a concept employee. BSN is separately authorized in Loket and is therefore designed to have its own activities.
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": "042168588"
}
Update the citizen service number of a concept employee
Activity name : PutCitizenServiceNumberByConceptEmployeeId
Update the citizen service number (BSN) of a concept employee BSN is separately authorized in Loket and is therefore designed to have its own activities.
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
citizen service number to edit.
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).
Responses
Request samples
- Payload
"042168588"
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": "042168588"
}
Convert a concept employee to an employee
Activity name : PatchConvertToEmployeeByConceptEmployeeId
This endpoint "converts" the conceptEmployee to an actual employee in Loket. This means creating a number of records including Employee, Employment, WorkingHours, Wage etc. If the promotion is successful the concept employee record will be deleted.
The GUID of the conceptEmployee will be copied over to the GUID of the newly created Employee.
Before performing these steps, quite a number of validations are performed to ensure that the provided information can be used to create a functionally valid employee.
If the employeeNumber is empty then this will be set automatically for the employee. (i.e. highest available number +1)
Additional functionality :
- It is possible to call an alternative functionality closely related to this functionality. This additional functionality will perform the validation ONLY, and it will NOT convert the conceptEmployee to an actual employee even when all validation rules are successful. Other than not performing the actual step of converting the employee the endpoint will behave identically to the actual endpoint.
- This functionality can be applied by setting the optional X-ValidateOnly header to true
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
X-ValidateOnly | boolean If set to true only the validations will be performed no changes will be committed. |
Responses
Response samples
- 200
- 400
- 401
- 403
{ }
NL: Ziekmelding. Absences due to either sickness/illness or absence due to, for example, maternity or organ donation (in Dutch 'vangnet').
Please note: when adding or updating an Absence or AbsenceProgress there will be no additional 'Melding' created in Loket.nl . This legacy mechanism in the older Loket GUI will NOT be included in the newer version of Loket.nl
List of absences for an employee
Activity name : GetAbsencesByEmployeeId
Get a list of all absences for the given employee
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "causeOfAbsence": {
- "key": 1,
- "value": "maternity leave"
}, - "hoursWorkedOnFirstDayOfAbsence": 3,
- "actionToBeTakenByOccupationalHealthAndSafetyService": {
- "key": 1,
- "value": "Spoedcontrole aan huis"
}, - "expectedDuration": {
- "key": 1,
- "value": "Minder dan 1 week"
}, - "isDisruptedEmploymentRelationship": true,
- "isThirdPartyLiability": false,
- "accidentType": {
- "key": 1,
- "value": "work related accident"
}, - "isWorkRelatedIllness": false,
- "expectedDateOfChildbirth": "2018-01-21",
- "expectedEndDateOfMaternityLeave": "2018-04-21",
- "hasMobilityIssue": false,
- "isRecoveredWithinTwoWeeks": false,
- "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip.",
- "isHospitalised": false,
- "contactInformation": {
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "locationType": {
- "key": 1,
- "value": "Hospital"
}, - "name": "RadboudUMC Nijmegen",
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "phoneNumber": "+31 13-1234567"
}, - "caseManager": {
- "name": "Ben Hur",
- "function": "Ben Hur",
- "organization": "Ben Hur",
- "phoneNumber": "+31 13-1234567"
}, - "reintegration": {
- "reintegrationGoal": {
- "key": 1,
- "value": "Werkhervatting in de eigen functie"
}, - "dateOfFinalizingPlanOfAction": "2019-08-24"
}, - "progress": {
- "startDate": "2018-01-21",
- "endOfAbsence": {
- "date": "2019-08-24",
- "reason": {
- "key": 1,
- "value": "Fully recoverd"
}
}, - "currentIncapacityPercentage": 100
}
}
]
}
Create an Absence for an employee
Activity name : PostAbsenceByEmployeeId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding `/defaults' to the POST URL.
Add an Absence (=verzuimmelding) for an employee.
Please note that if this endpoint is called successfully both an absence (=verzuimmelding) AND one underlying absence progress (=verzuimverloop) will be created.
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2020-03-16required
Add an Absence for an employee.
object <metadata> (causeOfAbsence) The cause of the absence. This endpoint is intended for the registration of two types of absence:
Other absences such as Vacation days, unpayed leave and Personal leave are registerd using the leave endpoint | |
hoursWorkedOnFirstDayOfAbsence | integer or null (hoursWorkedOnFirstDayOfAbsence) [ 1 .. 8 ] The number of hours worked on the first day of the absence. |
object <metadata> (actionToBeTakenByOccupationalHealthAndSafetyService) The desired action to be taken regarding the absence by the occupational health and safety service (arbodienst). | |
object or null <metadata> (expectedDuration) The expected duration of the absence. If the expected duration is unknown, this field will be NULL. | |
isDisruptedEmploymentRelationship | boolean (isDisruptedEmploymentRelationship) Indicates whether the employement relationship between employee and employer is disrupted. |
isThirdPartyLiability | boolean or null (isThirdPartyLiability) This field is related to |
object or null <metadata> (accidentType) The type of accident that led to the absence. This field will be NULL if the absence is not related to an accident. | |
isWorkRelatedIllness | boolean (isWorkRelatedIllness) Beroepsziekte |
expectedDateOfChildbirth | string or null <date> (expectedDateOfChildbirth) Bevallingsdatum |
expectedEndDateOfMaternityLeave | string or null <date> (expectedEndDateOfMaternityLeave) verwachte datum einde zwangerschapsverlof |
hasMobilityIssue | boolean or null (hasMobilityIssue) This field indicates whether the Employee has an issue limiting its mobility. |
isRecoveredWithinTwoWeeks | boolean (isRecoveredWithinTwoWeeks) This field indicates whether the Employee is (expected) recoverd within two weeks, relating to a full recovery. |
comments | string or null (comments) <= 4000 characters Free text field to register any relevant information. |
isHospitalised | boolean or null (isHospitalised) Betreft het een ziekenhuisopnamen |
object or null (contactInformation) | |
object or null (caseManager) | |
object or null (reintegration) | |
object |
Responses
Request samples
- Payload
{- "causeOfAbsence": {
- "key": 1
}, - "hoursWorkedOnFirstDayOfAbsence": 3,
- "actionToBeTakenByOccupationalHealthAndSafetyService": {
- "key": 1
}, - "expectedDuration": {
- "key": 1
}, - "isDisruptedEmploymentRelationship": true,
- "isThirdPartyLiability": false,
- "accidentType": {
- "key": 1
}, - "isWorkRelatedIllness": false,
- "expectedDateOfChildbirth": "2018-01-21",
- "expectedEndDateOfMaternityLeave": "2018-04-21",
- "hasMobilityIssue": false,
- "isRecoveredWithinTwoWeeks": false,
- "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip.",
- "isHospitalised": false,
- "contactInformation": {
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "locationType": {
- "key": 1
}, - "name": "RadboudUMC Nijmegen",
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "country": {
- "key": 1
}, - "phoneNumber": "+31 13-1234567"
}, - "caseManager": {
- "name": "Ben Hur",
- "function": "Ben Hur",
- "organization": "Ben Hur",
- "phoneNumber": "+31 13-1234567"
}, - "reintegration": {
- "reintegrationGoal": {
- "key": 1
}, - "dateOfFinalizingPlanOfAction": "2019-08-24"
}, - "progress": {
- "startDate": "2018-01-21",
- "currentIncapacityPercentage": 100
}
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "causeOfAbsence": {
- "key": 1,
- "value": "maternity leave"
}, - "hoursWorkedOnFirstDayOfAbsence": 3,
- "actionToBeTakenByOccupationalHealthAndSafetyService": {
- "key": 1,
- "value": "Spoedcontrole aan huis"
}, - "expectedDuration": {
- "key": 1,
- "value": "Minder dan 1 week"
}, - "isDisruptedEmploymentRelationship": true,
- "isThirdPartyLiability": false,
- "accidentType": {
- "key": 1,
- "value": "work related accident"
}, - "isWorkRelatedIllness": false,
- "expectedDateOfChildbirth": "2018-01-21",
- "expectedEndDateOfMaternityLeave": "2018-04-21",
- "hasMobilityIssue": false,
- "isRecoveredWithinTwoWeeks": false,
- "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip.",
- "isHospitalised": false,
- "contactInformation": {
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "locationType": {
- "key": 1,
- "value": "Hospital"
}, - "name": "RadboudUMC Nijmegen",
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "phoneNumber": "+31 13-1234567"
}, - "caseManager": {
- "name": "Ben Hur",
- "function": "Ben Hur",
- "organization": "Ben Hur",
- "phoneNumber": "+31 13-1234567"
}, - "reintegration": {
- "reintegrationGoal": {
- "key": 1,
- "value": "Werkhervatting in de eigen functie"
}, - "dateOfFinalizingPlanOfAction": "2019-08-24"
}, - "progress": {
- "startDate": "2018-01-21",
- "endOfAbsence": {
- "date": "2019-08-24",
- "reason": {
- "key": 1,
- "value": "Fully recoverd"
}
}, - "currentIncapacityPercentage": 100
}
}
}
Download the absence overview for an employee
Activity name : GetAbsenceOverviewByEmployeeId
Download the absence overview (verzuim) for a given time frame
Metadata : No metadata
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
query Parameters
startDate required | stringdate Example: startDate=2020-08-01 The start date |
endDate required | stringdate Example: endDate=2020-08-31 The end date |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Details of an Absence
Activity name : GetAbsenceByAbsenceId
Get the details of an Absence
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "causeOfAbsence": {
- "key": 1,
- "value": "maternity leave"
}, - "hoursWorkedOnFirstDayOfAbsence": 3,
- "actionToBeTakenByOccupationalHealthAndSafetyService": {
- "key": 1,
- "value": "Spoedcontrole aan huis"
}, - "expectedDuration": {
- "key": 1,
- "value": "Minder dan 1 week"
}, - "isDisruptedEmploymentRelationship": true,
- "isThirdPartyLiability": false,
- "accidentType": {
- "key": 1,
- "value": "work related accident"
}, - "isWorkRelatedIllness": false,
- "expectedDateOfChildbirth": "2018-01-21",
- "expectedEndDateOfMaternityLeave": "2018-04-21",
- "hasMobilityIssue": false,
- "isRecoveredWithinTwoWeeks": false,
- "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip.",
- "isHospitalised": false,
- "contactInformation": {
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "locationType": {
- "key": 1,
- "value": "Hospital"
}, - "name": "RadboudUMC Nijmegen",
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "phoneNumber": "+31 13-1234567"
}, - "caseManager": {
- "name": "Ben Hur",
- "function": "Ben Hur",
- "organization": "Ben Hur",
- "phoneNumber": "+31 13-1234567"
}, - "reintegration": {
- "reintegrationGoal": {
- "key": 1,
- "value": "Werkhervatting in de eigen functie"
}, - "dateOfFinalizingPlanOfAction": "2019-08-24"
}, - "progress": {
- "startDate": "2018-01-21",
- "endOfAbsence": {
- "date": "2019-08-24",
- "reason": {
- "key": 1,
- "value": "Fully recoverd"
}
}, - "currentIncapacityPercentage": 100
}
}
}
Edit the details of a Absence
Activity name : PutAbsenceByAbsenceId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
Edit the details of am Absence
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2020-03-16required
Absence to edit.
object <metadata> (causeOfAbsence) The cause of the absence. This endpoint is intended for the registration of two types of absence:
Other absences such as Vacation days, unpayed leave and Personal leave are registerd using the leave endpoint | |
hoursWorkedOnFirstDayOfAbsence | integer or null (hoursWorkedOnFirstDayOfAbsence) [ 1 .. 8 ] The number of hours worked on the first day of the absence. |
object <metadata> (actionToBeTakenByOccupationalHealthAndSafetyService) The desired action to be taken regarding the absence by the occupational health and safety service (arbodienst). | |
object or null <metadata> (expectedDuration) The expected duration of the absence. If the expected duration is unknown, this field will be NULL. | |
isDisruptedEmploymentRelationship | boolean (isDisruptedEmploymentRelationship) Indicates whether the employement relationship between employee and employer is disrupted. |
isThirdPartyLiability | boolean or null (isThirdPartyLiability) This field is related to |
object or null <metadata> (accidentType) The type of accident that led to the absence. This field will be NULL if the absence is not related to an accident. | |
isWorkRelatedIllness | boolean (isWorkRelatedIllness) Beroepsziekte |
expectedDateOfChildbirth | string or null <date> (expectedDateOfChildbirth) Bevallingsdatum |
expectedEndDateOfMaternityLeave | string or null <date> (expectedEndDateOfMaternityLeave) verwachte datum einde zwangerschapsverlof |
hasMobilityIssue | boolean or null (hasMobilityIssue) This field indicates whether the Employee has an issue limiting its mobility. |
isRecoveredWithinTwoWeeks | boolean (isRecoveredWithinTwoWeeks) This field indicates whether the Employee is (expected) recoverd within two weeks, relating to a full recovery. |
comments | string or null (comments) <= 4000 characters Free text field to register any relevant information. |
isHospitalised | boolean or null (isHospitalised) Betreft het een ziekenhuisopnamen |
object or null (contactInformation) | |
object or null (caseManager) | |
object or null (reintegration) |
Responses
Request samples
- Payload
{- "causeOfAbsence": {
- "key": 1
}, - "hoursWorkedOnFirstDayOfAbsence": 3,
- "actionToBeTakenByOccupationalHealthAndSafetyService": {
- "key": 1
}, - "expectedDuration": {
- "key": 1
}, - "isDisruptedEmploymentRelationship": true,
- "isThirdPartyLiability": false,
- "accidentType": {
- "key": 1
}, - "isWorkRelatedIllness": false,
- "expectedDateOfChildbirth": "2018-01-21",
- "expectedEndDateOfMaternityLeave": "2018-04-21",
- "hasMobilityIssue": false,
- "isRecoveredWithinTwoWeeks": false,
- "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip.",
- "isHospitalised": false,
- "contactInformation": {
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "locationType": {
- "key": 1
}, - "name": "RadboudUMC Nijmegen",
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1
}, - "postalCode": "1234 AA",
- "country": {
- "key": 1
}, - "phoneNumber": "+31 13-1234567"
}, - "caseManager": {
- "name": "Ben Hur",
- "function": "Ben Hur",
- "organization": "Ben Hur",
- "phoneNumber": "+31 13-1234567"
}, - "reintegration": {
- "reintegrationGoal": {
- "key": 1
}, - "dateOfFinalizingPlanOfAction": "2019-08-24"
}
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "causeOfAbsence": {
- "key": 1,
- "value": "maternity leave"
}, - "hoursWorkedOnFirstDayOfAbsence": 3,
- "actionToBeTakenByOccupationalHealthAndSafetyService": {
- "key": 1,
- "value": "Spoedcontrole aan huis"
}, - "expectedDuration": {
- "key": 1,
- "value": "Minder dan 1 week"
}, - "isDisruptedEmploymentRelationship": true,
- "isThirdPartyLiability": false,
- "accidentType": {
- "key": 1,
- "value": "work related accident"
}, - "isWorkRelatedIllness": false,
- "expectedDateOfChildbirth": "2018-01-21",
- "expectedEndDateOfMaternityLeave": "2018-04-21",
- "hasMobilityIssue": false,
- "isRecoveredWithinTwoWeeks": false,
- "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip.",
- "isHospitalised": false,
- "contactInformation": {
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "locationType": {
- "key": 1,
- "value": "Hospital"
}, - "name": "RadboudUMC Nijmegen",
- "street": "Voordijk",
- "city": "Leiden",
- "houseNumber": 12,
- "houseNumberAddition": "D",
- "furtherIndication": {
- "key": 1,
- "value": "WW"
}, - "postalCode": "1234 AA",
- "country": {
- "key": 1,
- "value": "Netherlands",
- "isoCode": "NL"
}, - "phoneNumber": "+31 13-1234567"
}, - "caseManager": {
- "name": "Ben Hur",
- "function": "Ben Hur",
- "organization": "Ben Hur",
- "phoneNumber": "+31 13-1234567"
}, - "reintegration": {
- "reintegrationGoal": {
- "key": 1,
- "value": "Werkhervatting in de eigen functie"
}, - "dateOfFinalizingPlanOfAction": "2019-08-24"
}, - "progress": {
- "startDate": "2018-01-21",
- "endOfAbsence": {
- "date": "2019-08-24",
- "reason": {
- "key": 1,
- "value": "Fully recoverd"
}
}, - "currentIncapacityPercentage": 100
}
}
}
Delete a specific absence record
Activity name : DeleteAbsenceByAbsenceId
Delete an existing absence (for an employee). If successful, this function also deletes the underlying absence progress records
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Close an absence
Activity name : PatchCloseAbsenceByAbsenceId
A successful call to this endpoint will close the absence and the underlying absence progress (with an empty endDate).
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2020-03-16required
The request body contains an object containing fields related to closing of an absence.
object <metadata> date and reason for the closing/end of the absence |
Responses
Request samples
- Payload
{- "endOfAbsence": {
- "date": "2019-08-24",
- "reason": {
- "key": 1
}
}
}
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Reopen an absence
Activity name : PatchReopenAbsenceByAbsenceId
When performing a successful call to this endpoint, then the absence and the underlying absence progress will we reopend.
Both endOfAbsenceDate
and endOfAbsenceReason
will be set to null
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2020-03-16required
Responses
Request samples
- Payload
{ }
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
basic absence statistics
Activity name : GetAbsenceStatisticsDataByEmployerId
Get a basic overview of absence statistics for all employees of the given employer
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
startYearMonth required | string Example: startYearMonth=202401 The start year and month of the absence overview |
endYearMonth required | string Example: endYearMonth=202412 The end year and month of the absence overview |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "clientNumber": 1234,
- "employeeNumber": 14,
- "incomeRelationshipNumber": 1,
- "formattedName": "Bos B",
- "year": 2024,
- "month": 2024,
- "department": "Procurement",
- "function": "Manager",
- "percentageWeightedAbsenteeism": 2400,
- "percentageWeightedAbsenteeismShort": 2400,
- "percentageWeightedAbsenteeismMedium": 2400,
- "percentageWeightedAbsenteeismLong": 2400
}
]
}
NL: Ziekteverloop. Absences due to either sickness/illness or absence due to, for example, maternity or organ donation (in Dutch 'vangnet'). One Absence contains one or more AbsenceProgress, indicating the degree of occupational disability over time of the absence.
Please note: when adding or updating an Absence or AbsenceProgress there will be no additional 'Melding' created in Loket.nl . This legacy mechanism in the older Loket GUI will NOT be included in the newer version of Loket.nl
List of absence progress for an absence
Activity name : GetAbsenceProgressByAbsenceId
Get a list of absence progress (verzuimverloop) for a specific absence (verzuimmelding).
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "incapacityPercentage": 100,
- "typeOfWorkResumption": {
- "key": 2,
- "value": "Eigen werk met aanpassing"
}, - "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip."
}
]
}
Create an Absence Progress for an Absence
Activity name : PostAbsenceProgressByAbsenceId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding `/defaults' to the POST URL.
Add an Absence Progress (=Ziekteverloop) for an employee. As is common with closed chain entities, the endDate of the previous record will be filled depending on the startDate of the new one.
Practically this means that a full recovery notification has been performed.
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2020-03-16required
Add an Absence Progress for an Absence.
startDate | string <date> start dat of the incapacityPercentage |
incapacityPercentage | integer [ 1 .. 100 ] percentage of not being able to work |
object or null <metadata> The type of work the work the employee is fulfilling when partly returning to work. | |
comments | string or null <= 4000 characters Free text field to register any relevant information. |
Responses
Request samples
- Payload
{- "startDate": "2018-01-21",
- "incapacityPercentage": 100,
- "typeOfWorkResumption": {
- "key": 2
}, - "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip."
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "incapacityPercentage": 100,
- "typeOfWorkResumption": {
- "key": 2,
- "value": "Eigen werk met aanpassing"
}, - "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip."
}
}
Details of an Absence Progress
Activity name : GetAbsenceProgressByAbsenceProgressId
Get the details of an Absence Progress
path Parameters
absenceProgressId required | string <uuid> The unique identifier of an absence progress |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "incapacityPercentage": 100,
- "typeOfWorkResumption": {
- "key": 2,
- "value": "Eigen werk met aanpassing"
}, - "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip."
}
}
Edit the details of an absence progress
Activity name : PutAbsenceProgressByAbsenceProgressId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
Edit the details of an absence progress
path Parameters
absenceProgressId required | string <uuid> The unique identifier of an absence progress |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2020-03-16required
Absence progress to edit.
startDate | string <date> start dat of the incapacityPercentage |
incapacityPercentage | integer [ 1 .. 100 ] percentage of not being able to work |
object or null <metadata> The type of work the work the employee is fulfilling when partly returning to work. | |
comments | string or null <= 4000 characters Free text field to register any relevant information. |
Responses
Request samples
- Payload
{- "startDate": "2018-01-21",
- "incapacityPercentage": 100,
- "typeOfWorkResumption": {
- "key": 2
}, - "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip."
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-21",
- "endDate": "2019-08-24",
- "incapacityPercentage": 100,
- "typeOfWorkResumption": {
- "key": 2,
- "value": "Eigen werk met aanpassing"
}, - "comments": "Lorem ipsum dolor sit amet, id nibh adhuc omnium vix, ne nec eius inani aliquip."
}
}
Delete a specific Absence Progress record
Activity name : DeleteAbsenceProgressByAbsenceProgressId
Delete an existing Absence Progress (for an employee). There always has to remain one record of absence progress for an absence. This last record is removed when the absence is deleted.
path Parameters
absenceProgressId required | string <uuid> The unique identifier of an absence progress |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Contact history for an absence
Activity name : GetAbsenceContactHistoryByAbsenceId
Get the contacts history for a specific absence (verzuimmelding).
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "contactDate": "2018-01-01",
- "contactMethod": {
- "key": 1,
- "value": "e-mail"
}, - "summary": "string"
}
]
}
Create a contact history for an Absence
Activity name : PostAbsenceContactHistoryByAbsenceId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding `/defaults' to the POST URL.
path Parameters
absenceId required | string <uuid> The unique identifier of an absence |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Add a record to the contact history for an absence.
contactDate | string <date> The date on which the contact was initiated. |
object <metadata> The method of contacting the person | |
summary | string or null [ 1 .. 4000 ] characters Summary of the contact. |
Responses
Request samples
- Payload
{- "contactDate": "2018-01-01",
- "contactMethod": {
- "key": 1
}, - "summary": "string"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "contactDate": "2018-01-01",
- "contactMethod": {
- "key": 1,
- "value": "e-mail"
}, - "summary": "string"
}
}
Details of a contact history
Activity name : GetAbsenceContactHistoryByAbsenceContactHistoryId
Get the details of a contact
path Parameters
absencecontactHistoryId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "contactDate": "2018-01-01",
- "contactMethod": {
- "key": 1,
- "value": "e-mail"
}, - "summary": "string"
}
}
Edit the details of a contact history
Activity name : PutAbsenceContactHistoryByAbsenceContactHistoryId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
Edit the details of a contact history
path Parameters
absencecontactHistoryId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2020-03-16required
Absence progress to edit.
contactDate | string <date> The date on which the contact was initiated. |
object <metadata> The method of contacting the person | |
summary | string or null [ 1 .. 4000 ] characters Summary of the contact. |
Responses
Request samples
- Payload
{- "contactDate": "2018-01-01",
- "contactMethod": {
- "key": 1
}, - "summary": "string"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "contactDate": "2018-01-01",
- "contactMethod": {
- "key": 1,
- "value": "e-mail"
}, - "summary": "string"
}
}
Delete a specific record
Activity name : DeleteAbsenceContactHistoryByAbsenceContactHistoryId
Delete an existing record from the contact history
path Parameters
absencecontactHistoryId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
NL: WerknemerZVW. The configuration of the Healthcare Insurance Act indications determines the calculation of the premiums in the payroll calculation processes for this employment
List of Healthcare Insurance Act records for an employment
Activity name: GetHealthcareInsuranceActConfigurationsByEmploymentId
Get the list of Healthcare Insurance Act configuration records for an employment
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "healthcareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}, - "additionalContributionEmployer": 320,
- "nominalPremium": 320,
- "additionalPremium": 120
}
]
}
Create a Healthcare Insurance Act record for an employment
Activity name: PostHealthcareInsuranceActConfigurationByEmploymentId
Create a Healthcare Insurance Act configuration record for an employment
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding `/defaults' to the POST URL.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Healthcare Insurance Act record to add to the employment.
startDate | string <date> The start date of the entity. A (linked chain)[./#section/Data/Date-chains] is maintained within this resource. |
object <metadata> Indicates what type of Health Care Insurance Act (Zvw) is applicable for this employment | |
additionalContributionEmployer | number or null <double> [ 0.01 .. 9999.99 ] ^(\d{1,4})(\.\d{1,2})?$ If applicable, please enter any additional contribution (extra bijdrage werkgever) for the employer in relation to the Healthcare Insurance Act (Zorgverzekeringswet). |
nominalPremium | number or null <double> [ 0.01 .. 9999.99 ] ^(\d{1,4})(\.\d{1,2})?$ A nominal premium (nominale premie) for the Healthcare Insurance Act may be registered here, if applicable. |
additionalPremium | number or null <double> [ 0.01 .. 9999.99 ] ^(\d{1,4})(\.\d{1,2})?$ Additional premium (aanvullende premie) on top of the nomial premium may be registered here, if applicable. |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "healthcareInsuranceActType": {
- "key": 2
}, - "additionalContributionEmployer": 320,
- "nominalPremium": 320,
- "additionalPremium": 120
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "healthcareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}, - "additionalContributionEmployer": 320,
- "nominalPremium": 320,
- "additionalPremium": 120
}
}
Details of a Healthcare Insurance Act record
Activity name: GetHealthcareInsuranceActConfigurationByHealthcareInsuranceActConfigurationId
Get the details of a Healthcare Insurance Act configuration record
path Parameters
healthcareInsuranceActConfigurationId required | string <uuid> The unique identifier of the Healthcare Insurance Act record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "healthcareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}, - "additionalContributionEmployer": 320,
- "nominalPremium": 320,
- "additionalPremium": 120
}
}
Edit the details of a Healthcare Insurance Act record
Activity name: PutHealthcareInsuranceActConfigurationByHealthcareInsuranceActConfigurationId
Edit the details for a Healthcare Insurance Act record
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
path Parameters
healthcareInsuranceActConfigurationId required | string <uuid> The unique identifier of the Healthcare Insurance Act record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Healthcare Insurance Act record to edit.
startDate | string <date> The start date of the entity. A (linked chain)[./#section/Data/Date-chains] is maintained within this resource. |
object <metadata> Indicates what type of Health Care Insurance Act (Zvw) is applicable for this employment | |
additionalContributionEmployer | number or null <double> [ 0.01 .. 9999.99 ] ^(\d{1,4})(\.\d{1,2})?$ If applicable, please enter any additional contribution (extra bijdrage werkgever) for the employer in relation to the Healthcare Insurance Act (Zorgverzekeringswet). |
nominalPremium | number or null <double> [ 0.01 .. 9999.99 ] ^(\d{1,4})(\.\d{1,2})?$ A nominal premium (nominale premie) for the Healthcare Insurance Act may be registered here, if applicable. |
additionalPremium | number or null <double> [ 0.01 .. 9999.99 ] ^(\d{1,4})(\.\d{1,2})?$ Additional premium (aanvullende premie) on top of the nomial premium may be registered here, if applicable. |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "healthcareInsuranceActType": {
- "key": 2
}, - "additionalContributionEmployer": 320,
- "nominalPremium": 320,
- "additionalPremium": 120
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "healthcareInsuranceActType": {
- "key": 2,
- "value": "(C/K) Wel verzekeringsplichtig, normaal tarief"
}, - "additionalContributionEmployer": 320,
- "nominalPremium": 320,
- "additionalPremium": 120
}
}
Delete a specific Healthcare Insurance Act record
Activity name: DeleteHealthcareInsuranceActConfigurationByHealthcareInsuranceActConfigurationId
Delete a Healthcare Insurance Act record for the employment
path Parameters
healthcareInsuranceActConfigurationId required | string <uuid> The unique identifier of the Healthcare Insurance Act record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List of occupational disabilities for an employee
Activity name : GetOccupationalDisabilitiesByEmployeeId
Get the list of occupational disabilities for an employee. This endpoint returns occupational disability information regarding the Occupational Disability Insurance Act (WAO) and Work Capacity Act (WIA).
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2017-05-21",
- "endDate": "2018-01-21",
- "classification": {
- "key": 2,
- "value": "15 - 24"
}, - "isOccupationallyDisabled": false,
- "isExWAO": true
}
]
}
List of applicationsets for an employer
Activity name: GetEmployerApplicationsetsByEmployerId
Get the list of Applicationsets for an employer.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
]
}
Create an applicationset for an employer
Activity name: PostApplicationSetByEmployerId
Create an applicationset for an employer.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Applicationset to add to the employer.
applicationSetType | string Enum: "Products" "ExportDataTemplate" "Rights" The type of the set |
name | string <= 50 Name of the exportset |
data | string Contains an array of objects in json structure. |
Responses
Request samples
- Payload
{- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
}
Edit the details of an applicationset
Activity name: PutEmployerApplicationSetByApplicationSetId
Edit the details for an applicationset.
path Parameters
applicationSetId required | string <uuid> The unique identifier of the Applicationset |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Applicationset to edit.
name | string <= 50 Name of the exportset |
data | string Contains an array of objects in json structure. |
Responses
Request samples
- Payload
{- "name": "Exportset Dienstverband",
- "data": "json object"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
}
Delete a specific applicationset
Activity name: DeleteEmployerApplicationSetByApplicationSetId
Delete an applicationset for the employer
path Parameters
applicationSetId required | string <uuid> The unique identifier of the Applicationset |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List of applicationsets for a provider
Activity name: GetApplicationsetsByProviderId
Get the list of Applicationsets for a provider.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
]
}
Create an applicationset for a provider
Activity name: PostApplicationSetByProviderId
Create an applicationset for a provider.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Applicationset to add to the provider.
applicationSetType | string Enum: "Products" "ExportDataTemplate" "Rights" The type of the set |
name | string <= 50 Name of the exportset |
data | string Contains an array of objects in json structure. |
Responses
Request samples
- Payload
{- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
}
Edit the details of an applicationset
Activity name: PutProviderApplicationSetByApplicationSetId
Edit the details for an applicationset.
path Parameters
applicationSetId required | string <uuid> The unique identifier of the Applicationset |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Applicationset to edit.
name | string <= 50 Name of the exportset |
data | string Contains an array of objects in json structure. |
Responses
Request samples
- Payload
{- "name": "Exportset Dienstverband",
- "data": "json object"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
}
Delete a specific applicationset
Activity name: DeleteProviderApplicationSetByApplicationSetId
Delete an applicationset for the provider
path Parameters
applicationSetId required | string <uuid> The unique identifier of the Applicationset |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List of applicationsets for a user
Activity name: GetApplicationsetsByUserId
Get the list of Applicationsets for a user.
path Parameters
userId required | string <uuid> The unique identifier of an user |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
]
}
Create an applicationset for a user
Activity name: PostApplicationSetByUserId
Create an applicationset for a user.
path Parameters
userId required | string <uuid> The unique identifier of an user |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Applicationset to add to the user.
applicationSetType | string Enum: "Products" "ExportDataTemplate" "Rights" The type of the set |
name | string <= 50 Name of the exportset |
data | string Contains an array of objects in json structure. |
Responses
Request samples
- Payload
{- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
}
Edit the details of an applicationset for a user
Activity name: PutUserApplicationSetByApplicationSetId
Edit the details for an applicationset.
path Parameters
applicationSetId required | string <uuid> The unique identifier of the Applicationset |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Applicationset to edit.
name | string <= 50 Name of the exportset |
data | string Contains an array of objects in json structure. |
Responses
Request samples
- Payload
{- "name": "Exportset Dienstverband",
- "data": "json object"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
}
Delete a specific applicationset for a user
Activity name: DeleteUserApplicationSetByApplicationSetId
Delete an applicationset for the user
path Parameters
applicationSetId required | string <uuid> The unique identifier of the Applicationset |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List of applicationsets provided by the Loket application
Activity name: GetLoketApplicationsetsByBearerToken
Get the list of Applicationsets for an employer.
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "applicationSetType": "Products",
- "name": "Exportset Dienstverband",
- "data": "json object",
- "createdBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
]
}
Initiate assessment
Activity name : PostInitiateAssessmentByConceptEmployeeId
Metadata: No metadata available. No defaults available.
Initiate the proces to perform an assessment for a concept employee.
path Parameters
conceptEmployeeId required | string <uuid> The unique identifier of the concept employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Contactinformation of the assessment.
withIq | boolean The type of the assessment |
Responses
Request samples
- Payload
{- "withIq": true
}
Response samples
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- { }
]
}
List of assessments
Activity name : GetAssessmentsByEmployerId
Retrieve a list of assessments.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "requestedBy": {
- "firstName": "Ben",
- "lastName": "Hur",
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}, - "participant": {
- "firstName": "Ben",
- "lastName": "Hur",
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeOrConceptEmployee": "employee"
}, - "status": "sent",
- "invitedDate": "2022-02-22",
}
]
}
Download the audit trail for the payroll period data
Activity name : GetPayrollPeriodDataAuditTrailByPayrollAdministrationId
Returns the changes that were made in the payroll period data from the given start up to and including the given end date.
path Parameters
payrollAdministrationId required | string <uuid> The unique identifier of an administration |
query Parameters
startDate required | stringdate Example: startDate=2020-08-01 The start date |
endDate required | stringdate Example: endDate=2020-08-31 The end date |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Get the employer data audit trail
Activity name : GetEmployerDataAuditTrailByEmployerId
Get the mutations for the all the tables linked to the employer containing employer-related data.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
startDate required | stringdate Example: startDate=2020-08-01 The start date |
endDate required | stringdate Example: endDate=2020-08-31 The end date |
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "field": {
- "key": 1,
- "value": "Achternaam"
}, - "oldValue": "Hermanss",
- "newValue": "Hermans",
- "timeStamp": "2018-05-08T15:16:49+02:00",
- "entity": {
- "key": 1,
- "value": "employee"
}, - "performedBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "initials": "I",
- "prefix": "de",
- "lastName": "Jong",
- "formattedName": "Jong, I"
}, - "mutationType": {
- "key": 1,
- "value": "toevoegen"
}, - "mutationOrigin": {
- "key": 1,
- "value": "Import"
}, - "employer": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerNumber": 20720,
- "companyName": "Voorbeeld B.V."
}, - "identification": {
- "description": "Datum ingang 03-03-2005"
}
}
]
}
Get the employee data audit trail
Activity name : GetEmployeeDataAuditTrailByEmployerId
Get the mutations for the all the tables linked to the employee (this includes employment and underlying entities).
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
startDate required | stringdate Example: startDate=2020-08-01 The start date |
endDate required | stringdate Example: endDate=2020-08-31 The end date |
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "field": {
- "key": 1,
- "value": "Achternaam"
}, - "oldValue": "Hermanss",
- "newValue": "Hermans",
- "timeStamp": "2018-05-08T15:16:49+02:00",
- "entity": {
- "key": 1,
- "value": "employee"
}, - "performedBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "initials": "I",
- "prefix": "de",
- "lastName": "Jong",
- "formattedName": "Jong, I"
}, - "mutationType": {
- "key": 1,
- "value": "toevoegen"
}, - "mutationOrigin": {
- "key": 1,
- "value": "Import"
}, - "employer": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerNumber": 20720,
- "companyName": "Voorbeeld B.V."
}, - "employee": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "name": "Bergen"
}, - "employment": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01"
}, - "identification": {
- "description": "Datum ingang 03-03-2005"
}
}
]
}
Get payroll period data audit trail
Activity name : GetPayrollPeriodDataAuditTrailByPayrollAdministrationId
Get the audit trail for the payroll period data.
This endpoint requires either the set of query parameters startDate
and endDate
or the query parameter payrollPeriodId
to be set. Request with none or all of these three query parameters are not supported.
path Parameters
payrollAdministrationId required | string <uuid> The unique identifier of an administration |
query Parameters
startDate | stringdate Example: startDate=2020-08-01 The start date |
endDate | stringdate Example: endDate=2020-08-31 The end date |
payrollPeriodId | integer <int32> Example: payrollPeriodId=202308 The unique identifier of the payroll period |
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "field": {
- "key": 1,
- "value": "Achternaam"
}, - "payrollComponentCategory": {
- "key": 1,
- "value": "Uren"
}, - "oldValue": "Hermanss",
- "newValue": "Hermans",
- "timeStamp": "2018-05-08T15:16:49+02:00",
- "performedBy": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "initials": "I",
- "prefix": "de",
- "lastName": "Jong",
- "formattedName": "Jong, I"
}, - "mutationType": {
- "key": 1,
- "value": "toevoegen"
}, - "mutationOrigin": {
- "key": 1,
- "value": "Import"
}, - "employer": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerNumber": 20720,
- "companyName": "Voorbeeld B.V."
}, - "payrollAdministration": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "ABC accountants",
- "clientNumber": 1234
}, - "employee": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employeeNumber": 156,
- "name": "Bergen"
}, - "employment": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01"
}, - "identification": {
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "payrollPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "shift": {
- "shiftNumber": 1,
- "fullTimeHoursPerWeek": 40,
- "bonusPercentage": 12
}, - "payslipType": {
- "key": 2,
- "value": "Bijzonder tarief strook"
}, - "distributionUnit": {
- "key": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "code": 2,
- "description": "Sales"
}, - "costCenter": {
- "key": 2,
- "code": "SAL073",
- "description": "Sales Den Bosch"
}, - "costUnit": {
- "key": 2,
- "code": "01",
- "description": "Cars"
}, - "description": "Datum ingang 03-03-2005"
}
}
]
}
Download the audit trail for the employment payroll data
Activity name : GetEmploymentPayrollDataAuditTrailByPayrollAdministrationId
Returns the changes that were made in the payroll data for the employments.
This includes resources such as (allmost all payroll related resources except payroll period data
which has its own audit trail download):
- Wage
- Working hours
- Bennefits and deductions
- Employment
- Fiscal properties
- Organizational entity
path Parameters
payrollAdministrationId required | string <uuid> The unique identifier of an administration |
query Parameters
startDate required | stringdate Example: startDate=2020-08-01 The start date |
endDate required | stringdate Example: endDate=2020-08-31 The end date |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List of authorization sets
Activity name : GetAuthorizationSetsByProviderId
List the available authorization sets.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "HRM Rechten",
- "authorizations": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Beheren dienstverbanden",
- "availableForEmployerUser": true,
- "isEnabled": true
}
]
}
]
}
Create an AuthorizationSet for an provider
Activity name : PostAuthorizationSetByProviderId
Create an authorization set.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
authorizationSet to add.
description | string <= 50 characters |
Array of objects (authorizations) |
Responses
Request samples
- Payload
{- "description": "HRM Rechten",
- "authorizations": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "isEnabled": true
}
]
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "HRM Rechten",
- "authorizations": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Beheren dienstverbanden",
- "availableForEmployerUser": true,
- "isEnabled": true
}
]
}
}
Details of a authorization set
Activity name : GetAuthorizationSetByAuthorizationSetId
Details of an authorization set.
path Parameters
authorizationSetId required | string <uuid> The unique identifier of an authorization set |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "HRM Rechten",
- "authorizations": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Beheren dienstverbanden",
- "availableForEmployerUser": true,
- "isEnabled": true
}
]
}
}
Edit the details of an authorizationset
Activity name : PutAuthorizationSetByAuthorizationSetId
Edit the details of an authorizationset.
path Parameters
authorizationSetId required | string <uuid> The unique identifier of an authorization set |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Autorizationset to edit.
description | string <= 50 characters |
Array of objects (authorizations) |
Responses
Request samples
- Payload
{- "description": "HRM Rechten",
- "authorizations": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "isEnabled": true
}
]
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "HRM Rechten",
- "authorizations": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Beheren dienstverbanden",
- "availableForEmployerUser": true,
- "isEnabled": true
}
]
}
}
Delete a specific AuthorizationSet
Activity name: DeleteAuthorizationSetByAuthorizationSetId
Delete an AuthorizationSet.
path Parameters
authorizationSetId required | string <uuid> The unique identifier of an authorization set |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
NL: Autorisaties (toegestane activities). Acquire the autorizations the user has for the given provider or employer
List of authorized activities with regard to the employer
Activity name : GetAuthorizationsByEmployerId
Get the array of activities the user is authenticated for with regard to the specified employer
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "GetJournalRunsByPayrollAdministrationId"
}
]
}
List of authorized activities with regard to the provider
Activity name : GetAuthorizationsByProviderId
Get the array of activities the user is authenticated for with regard to the specified provider. This endpoint is only accessible for providerusers.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "GetJournalRunsByPayrollAdministrationId"
}
]
}
NL: FondsGrondslag. The base used in the calculation of the employment fund contribution
List of bases for employment fund calculations.
Activity name : GetBasesForEmploymentFundCalculationByEmploymentId
Get a list of the bases (money) that are used in employment fund calculations.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "origin": {
- "key": 1,
- "value": "Normale wijziging"
}, - "base": 25000,
- "payrollComponent": {
- "key": 545,
- "description": "JAAR GRSL3"
}
}
]
}
Add a base for employment fund calculation
Activity name : PostBaseForEmploymentFundCalculationByEmploymentId
Metadata : Possible options for fields of the type "metadata" can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding `/defaults" to the POST URL.
Add a base for employment fund calculation.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
startDate | string <date> The date on which this base for calculation starts. A (linked chain)[./#section/Data/Date-chains] per base for calculation is maintained within this resource. So multiple bases can be active at the same time for different payrollcomponents |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
base | number <double> [ 0.01 .. 999999.99 ] ^(\d{1,6})(\.\d{1,2})?$ The base (amount of money) to be used in the fund calculation |
object <metadata> (payrollComponentReadOnlyFalse) A payroll component is the link to the salary calculation. In this case only specific payrollcomponents are available. The payroll components that are reserved for use as the base for fund calculations
|
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "base": 25000,
- "payrollComponent": {
- "key": 545
}
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "origin": {
- "key": 1,
- "value": "Normale wijziging"
}, - "base": 25000,
- "payrollComponent": {
- "key": 545,
- "description": "JAAR GRSL3"
}
}
}
Details of an base for employment fund calculations
Activity name : GetBaseForEmploymentFundCalculationByBaseForEmploymentFundCalculationId
Get the details of a base for employment fund calculations.
path Parameters
baseforemploymentfundcalculationId required | string <uuid> The unique identifier of a base for employment fund calculation |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "origin": {
- "key": 1,
- "value": "Normale wijziging"
}, - "base": 25000,
- "payrollComponent": {
- "key": 545,
- "description": "JAAR GRSL3"
}
}
}
Change the properties of a base for employment fund calculation
Activity name : PutBaseForEmploymentFundCalculationByBaseForEmploymentFundCalculationId
Metadata : Possible options for fields of the type "metadata" can be acquired (GET) by adding /metadata
to the PUT URL.
Edit the properties of a base for employment calculation
path Parameters
baseforemploymentfundcalculationId required | string <uuid> The unique identifier of a base for employment fund calculation |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
to edit
startDate | string <date> The date on which this base for calculation starts. A (linked chain)[./#section/Data/Date-chains] per base for calculation is maintained within this resource. So multiple bases can be active at the same time for different payrollcomponents |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
base | number <double> [ 0.01 .. 999999.99 ] ^(\d{1,6})(\.\d{1,2})?$ The base (amount of money) to be used in the fund calculation |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "base": 25000
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "origin": {
- "key": 1,
- "value": "Normale wijziging"
}, - "base": 25000,
- "payrollComponent": {
- "key": 545,
- "description": "JAAR GRSL3"
}
}
}
Delete a specific record
Activity name : DeleteBaseForEmploymentFundCalculationByBaseForEmploymentFundCalculationId
Delete an existing base for employment fund calculation
path Parameters
baseforemploymentfundcalculationId required | string <uuid> The unique identifier of a base for employment fund calculation |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
NL: Grondslag. The base used in certain calculation. Like the base amount to calculate leave allowance over
List of bases for calculations.
Activity name : GetBasesForCalculationByEmploymentId
Get a list of the bases (money) that are used as the base for certain calculations.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "deviations": {
- "percentage": 8,
- "reservationPercentage": 12.0007,
- "financialReservationPercentage": 10.000007
}, - "ageBasedMinimum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "ageBasedMaximum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "base": {
- "key": 545,
- "value": "VAKANTIE TOESLAG, periodieke opbouw"
}
}
]
}
Add a base for calculation
Activity name : PostBaseForCalculationByEmploymentId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding /defaults
to the POST URL.
Add a base for calculation record.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Add a base for calculation record.
startDate | string <date> The date on which this base starts. A (linked chain)[./#section/Data/Date-chains] per base is maintained within this resource. So multiple bases can be active at the same time but one specific base can never be active multiple times at the same time. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
object or null Only set a value for the underlying fields if you want to deviate from the values as defined by the selected Deviating is done on either all the fields or none. | |
object <metadata> This fields indicates how the age based minimum is applied | |
object <metadata> This fields indicates how the age based maximum is applied | |
object <metadata>
|
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "deviations": {
- "percentage": 8,
- "reservationPercentage": 12.0007,
- "financialReservationPercentage": 10.000007
}, - "ageBasedMinimum": {
- "key": 2
}, - "ageBasedMaximum": {
- "key": 2
}, - "base": {
- "key": 545
}
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "deviations": {
- "percentage": 8,
- "reservationPercentage": 12.0007,
- "financialReservationPercentage": 10.000007
}, - "ageBasedMinimum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "ageBasedMaximum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "base": {
- "key": 545,
- "value": "VAKANTIE TOESLAG, periodieke opbouw"
}
}
}
Details of an base for calculation
Activity name : GetBaseForCalculationByBaseForCalculationId
Get the details of a base for calculation.
path Parameters
baseforcalculationId required | string <uuid> The unique identifier of a base for calculation |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "deviations": {
- "percentage": 8,
- "reservationPercentage": 12.0007,
- "financialReservationPercentage": 10.000007
}, - "ageBasedMinimum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "ageBasedMaximum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "base": {
- "key": 545,
- "value": "VAKANTIE TOESLAG, periodieke opbouw"
}
}
}
Change the properties of a base for calculation
Activity name : PutBaseForCalculationByBaseForCalculationId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
Edit the properties of a base for calculation
path Parameters
baseforcalculationId required | string <uuid> The unique identifier of a base for calculation |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
to edit
startDate | string <date> The date on which this base starts. A (linked chain)[./#section/Data/Date-chains] per base is maintained within this resource. So multiple bases can be active at the same time but one specific base can never be active multiple times at the same time. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
object or null Only set a value for the underlying fields if you want to deviate from the values as defined by the selected Deviating is done on either all the fields or none. | |
object <metadata> This fields indicates how the age based minimum is applied | |
object <metadata> This fields indicates how the age based maximum is applied |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "deviations": {
- "percentage": 8,
- "reservationPercentage": 12.0007,
- "financialReservationPercentage": 10.000007
}, - "ageBasedMinimum": {
- "key": 2
}, - "ageBasedMaximum": {
- "key": 2
}
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "deviations": {
- "percentage": 8,
- "reservationPercentage": 12.0007,
- "financialReservationPercentage": 10.000007
}, - "ageBasedMinimum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "ageBasedMaximum": {
- "key": 2,
- "value": "Toepassen hoogste leeftijd"
}, - "base": {
- "key": 545,
- "value": "VAKANTIE TOESLAG, periodieke opbouw"
}
}
}
Delete a specific record
Activity name : DeleteBaseForCalculationByBaseForCalculationId
Delete an existing base for calculation
path Parameters
baseforcalculationId required | string <uuid> The unique identifier of a base for calculation |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Create bases for calculation for multiple employments
Activity name : PostCollectiveBasesForCalculationByEmployerId
Create new bases for calculations for multiple employments of an employer
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Stuff to add.
employmentId | string <uuid> ^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9... The unique identifier of an object (GUID/UUID) |
startDate | string <date> The date on which this base starts. A (linked chain)[./#section/Data/Date-chains] per base is maintained within this resource. So multiple bases can be active at the same time but one specific base can never be active multiple times at the same time. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
object or null Only set a value for the underlying fields if you want to deviate from the values as defined by the selected Deviating is done on either all the fields or none. | |
object <metadata> This fields indicates how the age based minimum is applied | |
object <metadata> This fields indicates how the age based maximum is applied | |
object <metadata>
|
Responses
Request samples
- Payload
[- {
- "employmentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "deviations": {
- "percentage": 8,
- "reservationPercentage": 12.0007,
- "financialReservationPercentage": 10.000007
}, - "ageBasedMinimum": {
- "key": 2
}, - "ageBasedMaximum": {
- "key": 2
}, - "base": {
- "key": 545
}
}
]
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "collectiveActionId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "collectiveActionParentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollAdministrationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedByUserId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedOn": "2023-05-08T15:16:49+02:00",
- "status": "Completed",
- "type": "Werknemerloket",
- "itemCount": {
- "processedWithError": 10,
- "processed": 75,
- "processedWithWarning": 15,
- "total": 100
}
}
}
Set base for calculation enddate for multiple employments
Activity name : PatchCollectiveBasesForCalculationByEmployerId
Set the base for calculation enddate for multiple employments of an employer
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Stuff to change.
employmentId | string <uuid> ^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9... The unique identifier of an object (GUID/UUID) |
endDate | string <date> The end date of the entity. The date is up to and including. |
baseForCalculationId | string <uuid> ^[{(]?[0-9A-F]{8}[-]?([0-9A-F]{4}[-]?){3}[0-9... The unique identifier of an object (GUID/UUID) |
Responses
Request samples
- Payload
[- {
- "employmentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "endDate": "2018-10-23",
- "baseForCalculationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
]
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "collectiveActionId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "collectiveActionParentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollAdministrationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedByUserId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedOn": "2023-05-08T15:16:49+02:00",
- "status": "Completed",
- "type": "Werknemerloket",
- "itemCount": {
- "processedWithError": 10,
- "processed": 75,
- "processedWithWarning": 15,
- "total": 100
}
}
}
List benefit in kind types for an employer
Activity name : GetBenefitInKindTypesByEmployerId
Get a list of the benefit in kind types for an employer.
Note: The benefit in kind types defined at the employer level can be used as value for the field typeOfBenefitInKind in the BenefitInKind resource at the employment level.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Laptop"
}
]
}
Add an benefit in kind type for an employer
Activity name : PostBenefitInKindTypeByEmployerId
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Add an benefit in kind type
description | string [ 1 .. 50 ] characters ^[\s\S]*\S[\s\S]*$ The description of the benifit in kind type |
Responses
Request samples
- Payload
{- "description": "Laptop"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Laptop"
}
}
Details of an benefit in kind type
Activity name : GetBenefitInKindTypeByBenefitInKindTypeId
Get the details of an benefit in kind type
path Parameters
benefitInKindTypeId required | string <uuid> The unique identifier of the record |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Laptop"
}
]
}
Edit an benefit in kind type record
Activity name : PutBenefitInKindTypeByBenefitInKindTypeId
path Parameters
benefitInKindTypeId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
description | string [ 1 .. 50 ] characters ^[\s\S]*\S[\s\S]*$ The description of the benifit in kind type |
Responses
Request samples
- Payload
{- "description": "Laptop"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Laptop"
}
}
Delete an benefit in kind type record
Activity name : DeleteBenefitInKindTypeByBenefitInKindTypeId
Delete an existing benefit in kind type record
path Parameters
benefitInKindTypeId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
NL: Toeslagen. Payroll component data for part of, one or multiple payroll period(s). If the same payrollComponent.Key
is also present in the payroll period data
for a payroll period then, depending on the configuration in payroll period data
the two values will either be 1) added up; or 2) payroll period data will overwrite the BenefitsAndDeduction for the given payroll period. Only certain payroll components are usable as a Benefit and Deduction, the corresponding categories are listed in payrollComponent.category in this resource.
Per payroll component a so called 'broken chain' business logic applies. This means that the records for that payroll component may NOT overlap each other, based on startDate and endDate of each record. Also, if an existing record in the chain is not closed and a subsequent record is created than Loket will automatically set the endDate for the already existing record.
list of benefits and deductions
Activity name : GetBenefitsAndDeductionsByEmploymentId
Get a list of benefits and deductions for the employment
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "1995-05-21",
- "endDate": "2019-08-24",
- "payrollComponent": {
- "key": 1,
- "description": "Uren gewerkt",
- "category": {
- "key": 1,
- "value": "Uren"
}, - "deductionOrPayment": {
- "key": 2,
- "value": "Betaling"
}
}, - "value": 50.87
}
]
}
Add a benefit or deduction record for the employment
Activity name : PostBenefitsAndDeductionsByEmploymentId
Add a benefit or deduction for the employment
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding /defaults
to the POST URL.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
benefits and deductions record add to the employment.
startDate | string <date> The start date for the information in the record. A (linked chain)[./#section/Data/Date-chains] per payroll component is maintained with this resource. |
endDate | string or null <date> The end date for the information in the record. |
object <metadata> A payroll component is the link to the salary calculation. By setting the value of a component the salary calculation will take this value into account when calculating the wage of the employment.
| |
value | number [ 0.01 .. 99999.99 ] The value for the selected payroll component. |
Responses
Request samples
- Payload
{- "startDate": "1995-05-21",
- "endDate": "2019-08-24",
- "payrollComponent": {
- "key": 1
}, - "value": 50.87
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "1995-05-21",
- "endDate": "2019-08-24",
- "payrollComponent": {
- "key": 1,
- "description": "Uren gewerkt",
- "category": {
- "key": 1,
- "value": "Uren"
}, - "deductionOrPayment": {
- "key": 2,
- "value": "Betaling"
}
}, - "value": 50.87
}
}
Detail of a benefit or deduction record
Activity name : GetBenefitsAndDeductionsBybenefitsAndDeductionsId
Get a benefit or deduction for the employment
path Parameters
benefitsanddeductionsId required | string <uuid> The unique identifier of the benefits and deductions data |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "1995-05-21",
- "endDate": "2019-08-24",
- "payrollComponent": {
- "key": 1,
- "description": "Uren gewerkt",
- "category": {
- "key": 1,
- "value": "Uren"
}, - "deductionOrPayment": {
- "key": 2,
- "value": "Betaling"
}
}, - "value": 50.87
}
}
Edit the details of a benefit or deduction record
Activity name : PutBenefitsAndDeductionsByBenefitsAndDeductionsId
Update a benefit or deduction for the employment
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
path Parameters
benefitsanddeductionsId required | string <uuid> The unique identifier of the benefits and deductions data |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
data to edit.
startDate | string <date> The start date for the information in the record. A (linked chain)[./#section/Data/Date-chains] per payroll component is maintained within this resource. |
endDate | string or null <date> The end date for the information in the record. |
value | number [ 0.01 .. 99999.99 ] The value for the selected payroll component. |
Responses
Request samples
- Payload
{- "startDate": "1995-05-21",
- "endDate": "2019-08-24",
- "value": 50.87
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "1995-05-21",
- "endDate": "2019-08-24",
- "payrollComponent": {
- "key": 1,
- "description": "Uren gewerkt",
- "category": {
- "key": 1,
- "value": "Uren"
}, - "deductionOrPayment": {
- "key": 2,
- "value": "Betaling"
}
}, - "value": 50.87
}
}
Delete a specific benefit or deduction record
Activity name : DeleteBenefitsAndDeductionsByBenefitsAndDeductionsId
Delete a benefit or deduction for the employment
path Parameters
benefitsanddeductionsId required | string <uuid> The unique identifier of the benefits and deductions data |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Get data to create an importfile
Activity name : GetBenefitsAndDeductionsImportDataByPayrollAdministrationId
Returns, for the given payrolladministration, a set of data that can be used as a base for importing benefits and deductions through a csv file.
Note that on importing, the columnnames must be in Dutch. (Clientnr, PersnrVerl, Persnr, Naam, Ingangsdatum, Component, Omschrijving, Toeslag )
path Parameters
payrollAdministrationId required | string <uuid> The unique identifier of an administration |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "clientNumber": 20720,
- "payrollEmployeeNumber": 202,
- "employeeNumber": 156,
- "formattedName": "Jong, I",
- "startDate": "2023-11-01",
- "payrollComponentKey": 1,
- "payrollComponentDescription": "Uren gewerkt",
- "value": 3500
}
]
}
Import benefits and deductions via a csv file
Activity name : PostBenefitsAndDeductionsImportDataByPayrollAdministrationId
Imports a csv file containing benefits and deduction records.
path Parameters
payrollAdministrationId required | string <uuid> The unique identifier of an administration |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
csv file to be uploaded.
mimeType | string Value: "text/csv" The type of file to import. Currently only csv is supported |
data | string base64 encoded file. |
Responses
Request samples
- Payload
{- "mimeType": "text/csv",
- "data": "YQ=="
}
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "collectiveActionId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "collectiveActionParentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollAdministrationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedByUserId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedOn": "2023-05-08T15:16:49+02:00",
- "status": "Completed",
- "type": "Werknemerloket",
- "itemCount": {
- "processedWithError": 10,
- "processed": 75,
- "processedWithWarning": 15,
- "total": 100
}
}
}
NL: Sociale uitkering. The configuration of these social security benefits determines how these are handled in the payroll calculation processes for this employment. This is a deviation from what is configured at payroll administration level.
List of social security benefits records for an employment
Activity name: GetSocialSecurityBenefitsByEmploymentId
Get the list of social security benefits records for an employment
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "supplementation": {
- "type": {
- "key": 3,
- "value": "Suppleren (bruto)"
}, - "percentage": 35
}, - "benefit": {
- "type": {
- "key": 1,
- "value": "ZW eigen risico"
}, - "percentage": 35
}
}
]
}
Create a social security benefits record for an employment
Activity name: PostSocialSecurityBenefitByEmploymentId
Create a social security benefits record for an employment
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding `/defaults' to the POST URL.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Social security record to add to the employment.
startDate | string <date> The start date of the entity. Valide values are either the startDate of the employment or the firstday of a payrolling year. A (broken chain)[./#section/Data/Date-chains] is maintained within this resource. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
object | |
object (benefitPostGet) |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "supplementation": {
- "type": {
- "key": 3
}, - "percentage": 35
}, - "benefit": {
- "type": { },
- "percentage": 35
}
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "supplementation": {
- "type": {
- "key": 3,
- "value": "Suppleren (bruto)"
}, - "percentage": 35
}, - "benefit": {
- "type": {
- "key": 1,
- "value": "ZW eigen risico"
}, - "percentage": 35
}
}
}
Details of a social security benefits record
Activity name: GetSocialSecurityBenefitBySocialSecurityBenefitId
Get the details of a social security benefits record
path Parameters
socialSecurityBenefitId required | string <uuid> The unique identifier of the social security record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "supplementation": {
- "type": {
- "key": 3,
- "value": "Suppleren (bruto)"
}, - "percentage": 35
}, - "benefit": {
- "type": {
- "key": 1,
- "value": "ZW eigen risico"
}, - "percentage": 35
}
}
}
Edit the details of a social security benefits record
Activity name: PutSocialSecurityBenefitBySocialSecurityBenefitId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
Edit the details for a social security record
path Parameters
socialSecurityBenefitId required | string <uuid> The unique identifier of the social security record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Social security record to edit.
startDate | string <date> The start date of the entity. Valide values are either the startDate of the employment or the firstday of a payrolling year. A (broken chain)[./#section/Data/Date-chains] is maintained within this resource. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
object | |
object (benefitPut) |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "supplementation": {
- "type": {
- "key": 3
}, - "percentage": 35
}, - "benefit": {
- "percentage": 35
}
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "supplementation": {
- "type": {
- "key": 3,
- "value": "Suppleren (bruto)"
}, - "percentage": 35
}, - "benefit": {
- "type": {
- "key": 1,
- "value": "ZW eigen risico"
}, - "percentage": 35
}
}
}
Delete a specific social security benefits record
Activity name: DeleteSocialSecurityBenefitBySocialSecurityBenefitId
Delete a social security record for the employment
path Parameters
socialSecurityBenefitId required | string <uuid> The unique identifier of the social security record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List pension benefit
Activity name : GetPensionBenefitsByEmploymentId
Get a list of the pension benefits of the employment.
Note: Loket.nl has different ways to register pension benefit.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "payout": 2569
}
]
}
Add a pension benefit for an employment
Activity name : PostPensionBenefitByEmploymentId
Metadata : No metadata
Defaults : No default values
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Add a pension benefit
startDate | string <date> The date on which this pension benefit starts A (broken chain)[./#section/Data/Date-chains] is maintained within this resource. |
payout | number <double> [ 0 .. 100000 ] ^(\d{1,8})(\.\d{1,2})?$ The ammount of (gross) pension received |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "payout": 2569
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "payout": 2569
}
}
Details of an pension benefit
Activity name : GetPensionBenefitByPensionBenefitId
Get the details of a pension benefit
path Parameters
pensionBenefitId required | string <uuid> The unique identifier of the record |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "payout": 2569
}
]
}
Edit a pension benefit record
Activity name : PutPensionBenefitByPensionBenefitId
Metadata : No metadata
path Parameters
pensionBenefitId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
startDate | string <date> The date on which this pension benefit starts A (broken chain)[./#section/Data/Date-chains] is maintained within this resource. |
payout | number <double> [ 0 .. 100000 ] ^(\d{1,8})(\.\d{1,2})?$ The ammount of (gross) pension received |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "payout": 2569
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "payout": 2569
}
}
Delete a pension benefit record
Activity name : DeletePensionBenefitByPensionBenefitId
Delete an existing pension benefit record
path Parameters
pensionBenefitId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List Benefits in kind
Activity name: GetBenefitsInKindByEmploymentId Get a list of the Benefits in kind of the employment.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "benefitInKindType": {
- "id": "36530F13-59EB-4C15-B5F2-4F92B070A208",
- "description": "Mobiele telefoon"
}, - "brand": "Apple",
- "type": "Iphone 11",
- "value": 1100,
- "supplier": "Mediamarkt",
- "particularities": "geen bijzonderheden"
}
]
}
Add a Benefit in kind for an employment
Activity name : PostBenefitInKindByEmploymentId
Metadata: Possible options for fields of the type 'metadata' can be acquired(GET)by adding /metadata
to the POST URL.
Defaults: Default values for a new object can be acquired by adding `/defaults' to the POST URL.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Add a benefit in kind
startDate | string <date> The date on which this BenefitInKind starts. So multiple Benefits in kind can be active at the same time but one specific BenefitsInKind can never be active multiple times at the same time. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
object <metadata> The benefit in kind of the employment. | |
brand | string or null <= 30 characters The brand of the benefit in kind. |
type | string or null <= 30 characters The type of the benefit in kind. |
value | number >= 0 ^(\d{1,5})(\.\d{1,2})?$ The value for the selected benefit of kind. |
supplier | string or null <= 30 characters The supplier of the benefit in kind. |
particularities | string or null <= 4000 characters Extra information about the benefit in kind |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "benefitInKindType": {
- "id": "36530F13-59EB-4C15-B5F2-4F92B070A208"
}, - "brand": "Apple",
- "type": "Iphone 11",
- "value": 1100,
- "supplier": "Mediamarkt",
- "particularities": "geen bijzonderheden"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "benefitInKindType": {
- "id": "36530F13-59EB-4C15-B5F2-4F92B070A208",
- "description": "Mobiele telefoon"
}, - "brand": "Apple",
- "type": "Iphone 11",
- "value": 1100,
- "supplier": "Mediamarkt",
- "particularities": "geen bijzonderheden"
}
}
Details of an benefit in kind
Activity name : GetBenefitInKindByBenefitInKindId
Get the details of a benefit in kind
path Parameters
benefitInKindId required | string <uuid> The unique identifier of the record |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "benefitInKindType": {
- "id": "36530F13-59EB-4C15-B5F2-4F92B070A208",
- "description": "Mobiele telefoon"
}, - "brand": "Apple",
- "type": "Iphone 11",
- "value": 1100,
- "supplier": "Mediamarkt",
- "particularities": "geen bijzonderheden"
}
]
}
Edit a benefit in kind record
Activity name : PutBenefitInKindByBenefitInKindId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding / metadata
to the PUT URL.
path Parameters
benefitInKindId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
startDate | string <date> The date on which this BenefitInKind starts. So multiple Benefits in kind can be active at the same time but one specific BenefitsInKind can never be active multiple times at the same time. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
object <metadata> The benefit in kind of the employment. | |
brand | string or null <= 30 characters The brand of the benefit in kind. |
type | string or null <= 30 characters The type of the benefit in kind. |
value | number >= 0 ^(\d{1,5})(\.\d{1,2})?$ The value for the selected benefit of kind. |
supplier | string or null <= 30 characters The supplier of the benefit in kind. |
particularities | string or null <= 4000 characters Extra information about the benefit in kind |
Responses
Request samples
- Payload
{- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "benefitInKindType": {
- "id": "36530F13-59EB-4C15-B5F2-4F92B070A208"
}, - "brand": "Apple",
- "type": "Iphone 11",
- "value": 1100,
- "supplier": "Mediamarkt",
- "particularities": "geen bijzonderheden"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2018-01-01",
- "endDate": "2018-10-23",
- "benefitInKindType": {
- "id": "36530F13-59EB-4C15-B5F2-4F92B070A208",
- "description": "Mobiele telefoon"
}, - "brand": "Apple",
- "type": "Iphone 11",
- "value": 1100,
- "supplier": "Mediamarkt",
- "particularities": "geen bijzonderheden"
}
}
Delete a benefit in kind record
Activity name : DeleteBenefitInKindByBenefitInKindId
Delete an existing benefit in kind record
path Parameters
benefitInKindId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Create benefits and deductions for multiple employments
Activity name : PostCollectiveBenefitsAndDeductionsByEmployerId
Create new benefits and deduction records for multiple employments of an employer
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
BenefitsAndDeductions to add.
employmentId | string <uuid> ^[{(]?[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){... The unique identifier of an object (GUID/UUID) |
startDate | string <date> The start date for the information in the record. A (linked chain)[./#section/Data/Date-chains] is maintained within this resource. |
value | number or null <double> [ 0.01 .. 99999.99 ] The value for the component |
object <metadata> A payroll component is the link to the salary calculation. By setting the value of a component the salary calculation will take this value into account when calculating the wage of the employment.
|
Responses
Request samples
- Payload
[- {
- "employmentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "1995-05-21",
- "value": 80,
- "payrollComponent": {
- "key": 1
}
}
]
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "collectiveActionId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "collectiveActionParentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollAdministrationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedByUserId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedOn": "2023-05-08T15:16:49+02:00",
- "status": "Completed",
- "type": "Werknemerloket",
- "itemCount": {
- "processedWithError": 10,
- "processed": 75,
- "processedWithWarning": 15,
- "total": 100
}
}
}
Close benefits and deductions for multiple employments
Activity name : PutCollectiveBenefitsAndDeductionsByEmployerId
Set the endDate for benefits and deduction records for multiple employments of an employer
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
BenefitsAndDeductions to put.
employmentId | string <uuid> ^[{(]?[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){... The unique identifier of an object (GUID/UUID) |
benefitAndDeductionId | string <uuid> ^[{(]?[0-9a-fA-F]{8}[-]?([0-9a-fA-F]{4}[-]?){... The unique identifier of an object (GUID/UUID) |
endDate | string <date> The end date for the information in the record. |
Responses
Request samples
- Payload
[- {
- "employmentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "benefitAndDeductionId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "endDate": "1995-05-21"
}
]
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "collectiveActionId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "collectiveActionParentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollAdministrationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedByUserId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedOn": "2023-05-08T15:16:49+02:00",
- "status": "Completed",
- "type": "Werknemerloket",
- "itemCount": {
- "processedWithError": 10,
- "processed": 75,
- "processedWithWarning": 15,
- "total": 100
}
}
}
Overview of number of billable items per employer
Activity name : GetBillableItemsByProviderId
Get a list of all billable items for the provider.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
query Parameters
startDate required | stringdate Example: startDate=2020-08-01 The start date |
endDate required | stringdate Example: endDate=2020-08-31 The end date |
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "providerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employer": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "companyName": "Janssen B.V.",
- "employerNumber": 20720,
- "administrationNumber": "SR2"
}, - "itemType": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Preboarding traject"
}, - "numberOfBillableItems": 64
}
]
}
List of billable items for an employer
Activity name : GetBillableItemsByEmployerId
Get a list of all billable items for the employer.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "providerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employer": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "companyName": "Janssen B.V."
}, - "requestedDate": "2022-04-12",
- "requestedBy": {
- "user": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "firstName": "Susan",
- "initials": "S.L.",
- "prefix": "van",
- "lastName": "Bergen",
- "formattedName": "Wiel - van Bergen S.L. van de"
}, - "name": "B. Janssen"
}, - "issuedTo": {
- "person": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "firstName": "Susan",
- "lastName": "Bergen",
- "prefix": "van",
- "initials": "S.L.",
- "lastNamePartner": "Wiel",
- "prefixPartner": "van de",
- "formattedName": "Wiel - van Bergen S.L. van de"
}, - "name": "B. Janssen"
}, - "requestedItem": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "itemType": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Preboarding traject"
}, - "preboardingTrajectory": {
- "status": "open",
- "dateLastModification": "2022-04-12"
}
}
}
]
}
NL: Endpoints waarmee inzicht in de status van collective acties kan worden verkregen.
List of collective actions for a user
Activity name : GetCollectiveActionsByBearerToken
A list of collective actions for a user
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "collectiveActionId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedByUserId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedOn": "2023-05-08T15:16:49+02:00",
- "collectiveActionParentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollAdministrationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "status": "Completed",
- "type": "Werknemerloket",
- "itemCount": {
- "processedWithError": 10,
- "processed": 75,
- "processedWithWarning": 15,
- "total": 100
}
}
]
}
List of messages of a collective action
Activity name : GetCollectiveActionMessagesByCollectiveActionId
Get the messages of all collectiveActionItems of a single collective action
path Parameters
collectiveActionId required | string <uuid> Example: b14acd0d-75d7-4fc8-8b22-4a3924585cab The unique identifier of the collective action |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "collectiveActionItemId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "createdOn": "2023-05-08T15:16:49+02:00",
- "succes": true,
- "collectiveActionType": "Werknemerloket",
- "entityId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollAdministrationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employmentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
]
}
]
}
NL: Werknemer auto fiscaal. Registration of company car for fiscal (tax-related) purposes
List of fiscal company cars for an employment
Activity name: GetFiscalCompanyCarsByEmploymentId
Get the list of fiscal company cars for an employment.
Please note this resource is related for the registration of the company car for tax purposes. This is NOT directly related to the registration of the company car(s) related to the HRM-module 'Verstrekking'
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "licensePlateNumber": "GP586D",
- "dateOfFirstAdmission": "2018-01-01",
- "valueForTaxPurposes": 20000,
- "additionalTaxLiabilityGroup": {
- "key": 1,
- "value": "Standaard tarief (25% tot 2017)"
}, - "reasonForNoAdditionalTaxLiability": {
- "key": 1,
- "value": "(2) Werknemer heeft beschikking belastingdienst"
}, - "deviatingAdditionalTaxLiability": 20000,
- "taxableBenefitForPrivateUse": 2000
}
]
}
Create a fiscal company car record for an employment
Activity name: PostFiscalCompanyCarByEmploymentId
Create a fiscal company cars record for an employment.
Please note this resource is related for the registration of the company car for tax purposes and will be included in the salary calculations. This is NOT directly related to the registration of the company car(s) related to the HRM-module Verstrekking
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : Default values for a new object can be acquired by adding `/defaults' to the POST URL.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Fiscal Company Car record to add to the employment.
startDate | string <date> The start date of the entity. A (broken chain)[./#section/Data/Date-chains] is maintained within this resource. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
licensePlateNumber | string or null [ 0 .. 15 ] characters Vehicle registration number (license plate) of the fiscal company car. The number should be provided with or without any hyphens (-). |
dateOfFirstAdmission | string or null <date> First day of admission for the vehicle (datum eerste toelating). It is possible to acquire a value for this field based on the RDW-registration by calling that supplementary endpoint. |
valueForTaxPurposes | number or null <double> [ 0.01 .. 999999.99 ] ^(\d{1,6})(.\d{1,2})?$ The value of the car for tax purposes. This field may only be NULL if a reason for no additional tax liability (reden voor geen bijtelling) is provided. It is possible to acquire a value for this field based on the RDW-registration by calling that supplementary endpoint. |
object <metaData> Indication for what additional tax liability percentage (bijtelling) should be used for calculating the tax liabiltiy in the payroll process. It is possible to acquire a value for this field based on the RDW-registration of the vehicle registration number (license plate) by calling that supplementary endpoint. | |
object or null <metaData> In case the employment does have a fiscal company car but no additional tax liability should be applied, then the reason should be provided for the payroll tax return. | |
deviatingAdditionalTaxLiability | number or null <double> [ 0.01 .. 999999.99 ] ^(\d{1,6})(.\d{1,2})?$ Normally Loket will calculate the applicable tax liability based on the value and tax liability group of the car. However this field may OVERRIDE any other values, and in that case this amount will be applied as the applicable tax liability amount. |
taxableBenefitForPrivateUse | number or null <double> [ 0.01 .. 999999.99 ] ^(\d{1,6})(.\d{1,2})?$ Taxable benefit for private use (eigen bijdrage van de werknemer) may be entered here, this will lower the tax liability to be paid in the payrolling process. |
Responses
Request samples
- Payload
{- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "licensePlateNumber": "GP586D",
- "dateOfFirstAdmission": "2018-01-01",
- "valueForTaxPurposes": 20000,
- "additionalTaxLiabilityGroup": {
- "key": 1
}, - "reasonForNoAdditionalTaxLiability": {
- "key": 1
}, - "deviatingAdditionalTaxLiability": 20000,
- "taxableBenefitForPrivateUse": 2000
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "licensePlateNumber": "GP586D",
- "dateOfFirstAdmission": "2018-01-01",
- "valueForTaxPurposes": 20000,
- "additionalTaxLiabilityGroup": {
- "key": 1,
- "value": "Standaard tarief (25% tot 2017)"
}, - "reasonForNoAdditionalTaxLiability": {
- "key": 1,
- "value": "(2) Werknemer heeft beschikking belastingdienst"
}, - "deviatingAdditionalTaxLiability": 20000,
- "taxableBenefitForPrivateUse": 2000
}
}
Details of a fiscal company car record
Activity name: GetFiscalCompanyCarByFiscalCompanyCarId
Get the details of fiscal company car
Please note this resource is related for the registration of the company car for tax purposes. This is NOT directly related to the registration of the company car(s) related to the HRM-module Verstrekking
path Parameters
fiscalCompanyCarId required | string <uuid> The unique identifier of the fiscal company car |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "licensePlateNumber": "GP586D",
- "dateOfFirstAdmission": "2018-01-01",
- "valueForTaxPurposes": 20000,
- "additionalTaxLiabilityGroup": {
- "key": 1,
- "value": "Standaard tarief (25% tot 2017)"
}, - "reasonForNoAdditionalTaxLiability": {
- "key": 1,
- "value": "(2) Werknemer heeft beschikking belastingdienst"
}, - "deviatingAdditionalTaxLiability": 20000,
- "taxableBenefitForPrivateUse": 2000
}
}
Edit the details of a fiscal company car record
Activity name: PutFiscalCompanyCarByFiscalCompanyCarId
Edit the details for a fiscal company car record.
Please note this resource is related for the registration of the company car for tax purposes. This is NOT directly related to the registration of the company car(s) related to the HRM-module Verstrekking
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
path Parameters
fiscalCompanyCarId required | string <uuid> The unique identifier of the fiscal company car |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Company Car to edit.
startDate | string <date> The start date of the entity. A (broken chain)[./#section/Data/Date-chains] is maintained within this resource. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
licensePlateNumber | string or null [ 0 .. 15 ] characters Vehicle registration number (license plate) of the fiscal company car. The number should be provided with or without any hyphens (-). |
dateOfFirstAdmission | string or null <date> First day of admission for the vehicle (datum eerste toelating). It is possible to acquire a value for this field based on the RDW-registration by calling that supplementary endpoint. |
valueForTaxPurposes | number or null <double> [ 0.01 .. 999999.99 ] ^(\d{1,6})(.\d{1,2})?$ The value of the car for tax purposes. This field may only be NULL if a reason for no additional tax liability (reden voor geen bijtelling) is provided. It is possible to acquire a value for this field based on the RDW-registration by calling that supplementary endpoint. |
object <metaData> Indication for what additional tax liability percentage (bijtelling) should be used for calculating the tax liabiltiy in the payroll process. It is possible to acquire a value for this field based on the RDW-registration of the vehicle registration number (license plate) by calling that supplementary endpoint. | |
object or null <metaData> In case the employment does have a fiscal company car but no additional tax liability should be applied, then the reason should be provided for the payroll tax return. | |
deviatingAdditionalTaxLiability | number or null <double> [ 0.01 .. 999999.99 ] ^(\d{1,6})(.\d{1,2})?$ Normally Loket will calculate the applicable tax liability based on the value and tax liability group of the car. However this field may OVERRIDE any other values, and in that case this amount will be applied as the applicable tax liability amount. |
taxableBenefitForPrivateUse | number or null <double> [ 0.01 .. 999999.99 ] ^(\d{1,6})(.\d{1,2})?$ Taxable benefit for private use (eigen bijdrage van de werknemer) may be entered here, this will lower the tax liability to be paid in the payrolling process. |
Responses
Request samples
- Payload
{- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "licensePlateNumber": "GP586D",
- "dateOfFirstAdmission": "2018-01-01",
- "valueForTaxPurposes": 20000,
- "additionalTaxLiabilityGroup": {
- "key": 1
}, - "reasonForNoAdditionalTaxLiability": {
- "key": 1
}, - "deviatingAdditionalTaxLiability": 20000,
- "taxableBenefitForPrivateUse": 2000
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "licensePlateNumber": "GP586D",
- "dateOfFirstAdmission": "2018-01-01",
- "valueForTaxPurposes": 20000,
- "additionalTaxLiabilityGroup": {
- "key": 1,
- "value": "Standaard tarief (25% tot 2017)"
}, - "reasonForNoAdditionalTaxLiability": {
- "key": 1,
- "value": "(2) Werknemer heeft beschikking belastingdienst"
}, - "deviatingAdditionalTaxLiability": 20000,
- "taxableBenefitForPrivateUse": 2000
}
}
Delete a specific fiscal company car record
Activity name: DeleteFiscalCompanyCarByFiscalCompanyCarId
Delete a fiscal company car record for the employment
Please note this resource is related for the registration of the company car for tax purposes. This is NOT directly related to the registration of the company car(s) related to the HRM-module Verstrekking
path Parameters
fiscalCompanyCarId required | string <uuid> The unique identifier of the fiscal company car |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Acquire the additional tax liability by the license plate number (company car)
Activity name: GetAdditionalTaxliabilityByLicensePlateNumber
This endpoint allows the user to acquire values for specific properties in the company car resource. This endpoint will require a license plate number (vehicle registration number), and will return aggregated data based on its RDW-registration.
query Parameters
licensePlateNumber required | string Example: licensePlateNumber=52LRX4 A valid vehicle registration (license plate) number. |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "licensePlateNumber": "GP586D",
- "dateOfFirstAdmission": "2018-01-01",
- "valueForTaxPurposes": 20000,
- "additionalTaxLiabilityGroup": {
- "key": 1,
- "value": "Standaard tarief (25% tot 2017)"
}
}
}
Import fiscal company cars via a csv file
Activity name : PostFiscalCompanyCarImportDataByPayrollAdministrationId
Imports a csv file containing fiscal company car records.
path Parameters
payrollAdministrationId required | string <uuid> The unique identifier of an administration |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
csv file to be uploaded.
mimeType | string Value: "text/csv" The type of file to import. Currently only csv is supported |
data | string base64 encoded file. |
Responses
Request samples
- Payload
{- "mimeType": "text/csv",
- "data": "YQ=="
}
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "collectiveActionId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "collectiveActionParentId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "employerId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollAdministrationId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedByUserId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "submittedOn": "2023-05-08T15:16:49+02:00",
- "status": "Completed",
- "type": "Werknemerloket",
- "itemCount": {
- "processedWithError": 10,
- "processed": 75,
- "processedWithWarning": 15,
- "total": 100
}
}
}
List of company cars for an employment
Activity name: GetCompanyCarsByEmploymentId
Get the list of company cars for an employment.
Please note this resource is related for the registration of the company car for HRM purposes. This resource is NOT related to the registration of the fiscal company car(s) which is used in salary calculations.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "brand": "Volvo",
- "model": "V60",
- "licensePlateNumber": "GP586D",
- "fuelCardNumber": "B100.323.903",
- "leaseOrBuy": {
- "key": 1,
- "value": "Koop"
}, - "supplier": "Leasemaatschappij Tilburg",
- "lease": {
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "contractNumber": "2021.323.903"
}, - "catalogValue": 20000,
- "kilometersPrivateUse": 10000,
- "comments": "This car is very nice"
}
]
}
Create a company car record for an employment
Activity name: PostCompanyCarByEmploymentId
Create a company car record for an employment.
Please note this resource is related for the registration of the company car for HRM purposes. This resource is NOT related to the registration of the fiscal company car(s) which is used in salary calculations.
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
Defaults : There are no defaults available.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Company Car record to add to the employment.
startDate | string <date> The start date of the entity. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
brand | string or null <= 25 Brand of the vehicle. |
model | string or null <= 25 Model of the vehicle. |
licensePlateNumber | string [ 1 .. 8 ] characters Vehicle registration number (license plate) of the company car. The number should be provided with or without any hyphens (-). |
fuelCardNumber | string or null <= 20 Registration number of the fuel card. |
object <metaData> Indication of the ownership of the company car. | |
supplier | string or null <= 30 Name of the company the delivered the company car. |
object or null Details of the leasecontract | |
catalogValue | number or null <double> <= 999999.99 ^(\d{1,6})(.\d{1,2})?$ The catalog value of the car. |
kilometersPrivateUse | integer or null <int32> The number kilometers per year the employee can use the car for private purposes. |
comments | string or null <= 4000 Any comments on the car or the contract. |
Responses
Request samples
- Payload
{- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "brand": "Volvo",
- "model": "V60",
- "licensePlateNumber": "GP586D",
- "fuelCardNumber": "B100.323.903",
- "leaseOrBuy": {
- "key": 1
}, - "supplier": "Leasemaatschappij Tilburg",
- "lease": {
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "contractNumber": "2021.323.903"
}, - "catalogValue": 20000,
- "kilometersPrivateUse": 10000,
- "comments": "This car is very nice"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "brand": "Volvo",
- "model": "V60",
- "licensePlateNumber": "GP586D",
- "fuelCardNumber": "B100.323.903",
- "leaseOrBuy": {
- "key": 1,
- "value": "Koop"
}, - "supplier": "Leasemaatschappij Tilburg",
- "lease": {
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "contractNumber": "2021.323.903"
}, - "catalogValue": 20000,
- "kilometersPrivateUse": 10000,
- "comments": "This car is very nice"
}
}
Details of a company car record
Activity name: GetCompanyCarByCompanyCarId
Get the details of a company car
Please note this resource is related for the registration of the company car for HRM purposes. This resource is NOT related to the registration of the fiscal company car(s) which is used in salary calculations.
path Parameters
companyCarId required | string <uuid> The unique identifier of the company car |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "brand": "Volvo",
- "model": "V60",
- "licensePlateNumber": "GP586D",
- "fuelCardNumber": "B100.323.903",
- "leaseOrBuy": {
- "key": 1,
- "value": "Koop"
}, - "supplier": "Leasemaatschappij Tilburg",
- "lease": {
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "contractNumber": "2021.323.903"
}, - "catalogValue": 20000,
- "kilometersPrivateUse": 10000,
- "comments": "This car is very nice"
}
}
Edit the details of a company car record
Activity name: PutCompanyCarByCompanyCarId
Edit the details for a company car record.
Please note this resource is related for the registration of the company car for HRM purposes. This resource is NOT related to the registration of the fiscal company car(s) which is used in salary calculations.
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the PUT URL.
path Parameters
companyCarId required | string <uuid> The unique identifier of the company car |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Company Car to edit.
startDate | string <date> The start date of the entity. |
endDate | string or null <date> The end date of the entity. The date is up to and including. |
brand | string or null <= 25 Brand of the vehicle. |
model | string or null <= 25 Model of the vehicle. |
licensePlateNumber | string [ 1 .. 8 ] characters Vehicle registration number (license plate) of the company car. The number should be provided with or without any hyphens (-). |
fuelCardNumber | string or null <= 20 Registration number of the fuel card. |
object <metaData> Indication of the ownership of the company car. | |
supplier | string or null <= 30 Name of the company the delivered the company car. |
object or null Details of the leasecontract | |
catalogValue | number or null <double> <= 999999.99 ^(\d{1,6})(.\d{1,2})?$ The catalog value of the car. |
kilometersPrivateUse | integer or null <int32> The number kilometers per year the employee can use the car for private purposes. |
comments | string or null <= 4000 Any comments on the car or the contract. |
Responses
Request samples
- Payload
{- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "brand": "Volvo",
- "model": "V60",
- "licensePlateNumber": "GP586D",
- "fuelCardNumber": "B100.323.903",
- "leaseOrBuy": {
- "key": 1
}, - "supplier": "Leasemaatschappij Tilburg",
- "lease": {
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "contractNumber": "2021.323.903"
}, - "catalogValue": 20000,
- "kilometersPrivateUse": 10000,
- "comments": "This car is very nice"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "brand": "Volvo",
- "model": "V60",
- "licensePlateNumber": "GP586D",
- "fuelCardNumber": "B100.323.903",
- "leaseOrBuy": {
- "key": 1,
- "value": "Koop"
}, - "supplier": "Leasemaatschappij Tilburg",
- "lease": {
- "startDate": "2021-01-01",
- "endDate": "2023-10-23",
- "contractNumber": "2021.323.903"
}, - "catalogValue": 20000,
- "kilometersPrivateUse": 10000,
- "comments": "This car is very nice"
}
}
Delete a specific company car record
Activity name: DeleteCompanyCarByCompanyCarId
Delete a company car record for the employment
Please note this resource is related for the registration of the company car for HRM purposes. This resource is NOT related to the registration of the fiscal company car(s) which is used in salary calculations.
path Parameters
companyCarId required | string <uuid> The unique identifier of the company car |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List custom fields for an employer
Activity name : GetCustomFieldsByEmployerId
Get a list of the custom fields for an employer.
Note: The custom fields defined at the employer level can be used at the employee and employment level.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Shoe size"
}
]
}
Add a custom field for an employer
Activity name : PostCustomFieldByEmployerId
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Add a custom field
description | string <= 50 characters The description for the custom field which can be used at the employee and employment level |
Responses
Request samples
- Payload
{- "description": "Shoe size"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Shoe size"
}
}
Details of a custom field
Activity name : GetCustomFieldByCustomFieldId
Get the details of a custom field
path Parameters
customFieldId required | string <uuid> The unique identifier of the record |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Shoe size"
}
]
}
Edit a custom field record
Activity name : PutCustomFieldByCustomFieldId
path Parameters
customFieldId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
description | string <= 50 characters The description for the custom field which can be used at the employee and employment level |
Responses
Request samples
- Payload
{- "description": "Shoe size"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "description": "Shoe size"
}
}
Delete a custom field record
Activity name : DeleteCustomFieldByCustomFieldId
Delete an existing custom field record
path Parameters
customFieldId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List employment custom fields for an employment
Activity name : GetEmploymentCustomFieldsByEmploymentId
Get a list of the custom fields for an employment.
Note: custom fields are user defined at the employer level.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
]
}
Add an employment custom field for an employment
Activity name : PostEmploymentCustomFieldByEmploymentId
Metadata: Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Add a custom field
object <metadata> The custom field as defined at the employer-level. The value can only be set in the POST (it cannot be changed with a PUT). | |
value | string <= 255 characters The value for the custom field for the employment |
Responses
Request samples
- Payload
{- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08"
}, - "value": "41"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
}
Details of an employment custom field
Activity name : GetEmploymentCustomFieldByEmploymentCustomFieldId
Get the details of a custom field
path Parameters
employmentCustomFieldId required | string <uuid> The unique identifier of the record |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
]
}
Edit an employment custom field record
Activity name : PutEmploymentCustomFieldByEmploymentCustomFieldId
Metadata : Possible options for fields of the type 'metadata' can be acquired (GET) by adding / metadata
to the PUT URL.
path Parameters
employmentCustomFieldId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
value | string <= 255 characters The value for the custom field for the employment |
Responses
Request samples
- Payload
{- "value": "41"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
}
Delete an employment custom field record
Activity name : DeleteEmploymentCustomFieldByEmploymentCustomFieldId
Delete an existing custom field record
path Parameters
employmentCustomFieldId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
List employee custom fields for an employee
Activity name : GetEmployeeCustomFieldsByEmployeeId
Get a list of the custom fields for an employee.
Note: custom fields are user defined at the employer level.
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
]
}
Add an employee custom field for an employee
Activity name : PostEmployeeCustomFieldByEmployeeId
Metadata: Possible options for fields of the type 'metadata' can be acquired (GET) by adding /metadata
to the POST URL.
path Parameters
employeeId required | string <uuid> The unique identifier of the employee |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Add a custom field
object <metadata> The custom field as defined at the employer-level. The value can only be set in the POST (it cannot be changed with a PUT). | |
value | string <= 255 characters The value for the custom field for the employee |
Responses
Request samples
- Payload
{- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08"
}, - "value": "41"
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
}
Details of an employee custom field
Activity name : GetEmployeeCustomFieldByEmployeeCustomFieldId
Get the details of a custom field
path Parameters
employeeCustomFieldId required | string <uuid> The unique identifier of the record |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
]
}
Edit an employee custom field record
Activity name : PutEmployeeCustomFieldByEmployeeCustomFieldId
Metadata : No metadata available for this endpoint
path Parameters
employeeCustomFieldId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
value | string <= 255 characters The value for the custom field for the employee |
Responses
Request samples
- Payload
{- "value": "41"
}
Response samples
- 200
- 400
- 401
- 403
- 409
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "customField": {
- "id": "025ce09b-bff2-4b05-bcf0-711a89da7c08",
- "description": "Shoe size"
}, - "value": "41"
}
}
Delete an employee custom field record
Activity name : DeleteEmployeeCustomFieldByEmployeeCustomFieldId
Delete an existing custom field record
path Parameters
employeeCustomFieldId required | string <uuid> The unique identifier of the record |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Dashboard for a provider
Activity name : GetProviderDashboardByProviderId
Get the url for the PowerBI dashboard for this provider. Please note: the PowerBI dashboard is only accessible for users with an assigned dashboard license.
path Parameters
providerId required | string <uuid> The unique identifier of a provider |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "name": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "embedToken": {
- "token": "G4sJKSADFKJHF.........",
- "expiration": "2024-05-08T15:16:49+02:00"
}
}
}
Dashboard of an employer
Activity name : GetEmployerDashboardByEmployerId
Get the url for the Qlik dashboard for this employer. Please note: the Qlik dashboard is only accessible for users with an assigned Qlik dashboard licenses.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
],
}
Get the list dashboard licenses
Activity name : GetDashboardLicensesByEmployerId
Get the list dashboard licenses
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "license": {
- "user": {
- "userId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "personalDetails": {
- "firstName": "Susan",
- "initials": "S.L.",
- "prefix": "van",
- "lastName": "Bergen"
}
}
}
}
]
}
Edit the dashboard license
Activity name: PutDashboardLicensesByEmployerId
Edit the dashboard licenses
Metadata : There is no metadata endpoint for this resource.
path Parameters
employerId required | string <uuid> The unique identifier of the employer |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
Edit dashboard users
object or null |
Responses
Request samples
- Payload
[- {
- "license": {
- "user": {
- "userId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab"
}
}
}
]
Response samples
- 200
- 400
- 401
- 403
- 409
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "license": {
- "user": {
- "userId": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "personalDetails": {
- "firstName": "Susan",
- "initials": "S.L.",
- "prefix": "van",
- "lastName": "Bergen"
}
}
}
}
]
}
NL: Declaraties/werknemermutaties. Declarations can be created by the employee in Werknemerloket. After that the declarations will be subsequently reviewed and processed in the payrolling process. Please note that this ONLY includes the declarations via Werknemerloket, in general mutations are registered via payrollPeriodData
List of declarations for an employment
Activity name : GetDeclarationsByEmploymentId
Returns a list of declarations for the employments of the employer
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "_embedded": [
- {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollComponent": {
- "key": 11,
- "description": "UREN TVT 130%",
- "deviatingDescription": "Uren tijd voor tijd 130%",
- "deductionOrPayment": {
- "key": 2,
- "value": "Betaling"
}, - "routeType": {
- "key": 1,
- "value": "Snelste"
}
}, - "calculatedDistanceByRoutingService": 8,
- "numberOfUnits": 8,
- "declarationDate": "2017-11-01",
- "declarationComment": "Overwerk project X",
- "declarationStatus": {
- "key": 1,
- "value": "Open"
}, - "dateOfSubmissionByEmployee": "2018-05-08T15:16:49+02:00",
- "dateOfLastChangeByEmployee": "2018-05-08T15:16:49+02:00",
- "processedInPayrollPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "reasonForDeviatingFromCalculatedDistance": "There were some ongoing road works i had to get around",
- "route": [
- {
- "pointOfInterest": {
- "name": "Van Spaendonck Groep"
}, - "address": {
- "freeformAddress": "Reitseplein 1, 5037 AA Tilburg",
- "countryCode": "NL"
}, - "position": {
- "latitude": 51.585996,
- "longitude": 5.585996
}
}
]
}
]
}
Create a declaration for an employment
Activity name : PostDeclarationByEmploymentId
Add a declaration for an employment. This can be only be done by the employee.
path Parameters
employmentId required | string <uuid> The unique identifier of the employment |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
object <metadata> A payroll component is the link to the salary calculation. By setting the value of a component the salary calculation will take this value into account when calculating the wage of the employment for the given payroll period. | |
calculatedDistanceByRoutingService | number or null <double> [ 0.01 .. 99999999.99 ] ^(\d{1,8})(\.\d{1,2})?$ The value calulated by the routing service |
numberOfUnits | number <double> [ 0.01 .. 99999999.99 ] ^(\d{1,8})(\.\d{1,2})?$ The number of units requested |
declarationDate | string <date> The date to which the declaration is applicable. As requested by the employee. |
declarationComment | string or null <= 1000 characters The comment left by the employee |
reasonForDeviatingFromCalculatedDistance | string or null <= 1000 characters The reason why the employee deviated form the calculated distance. |
Array of objects or null If applicable contains the addresses of stops used to calculate the route. The order of the items in the array is equal to the order of the route taken. |
Responses
Request samples
- Payload
{- "payrollComponent": {
- "key": 11
}, - "calculatedDistanceByRoutingService": 8,
- "numberOfUnits": 8,
- "declarationDate": "2017-11-01",
- "declarationComment": "Overwerk project X",
- "reasonForDeviatingFromCalculatedDistance": "There were some ongoing road works i had to get around",
- "route": [
- {
- "pointOfInterest": {
- "name": "Van Spaendonck Groep"
}, - "address": {
- "freeformAddress": "Reitseplein 1, 5037 AA Tilburg",
- "countryCode": "NL"
}, - "position": {
- "latitude": 51.585996,
- "longitude": 5.585996
}
}
]
}
Response samples
- 201
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollComponent": {
- "key": 11,
- "description": "UREN TVT 130%",
- "deviatingDescription": "Uren tijd voor tijd 130%",
- "deductionOrPayment": {
- "key": 2,
- "value": "Betaling"
}, - "routeType": {
- "key": 1,
- "value": "Snelste"
}
}, - "calculatedDistanceByRoutingService": 8,
- "numberOfUnits": 8,
- "declarationDate": "2017-11-01",
- "declarationComment": "Overwerk project X",
- "declarationStatus": {
- "key": 1,
- "value": "Open"
}, - "dateOfSubmissionByEmployee": "2018-05-08T15:16:49+02:00",
- "dateOfLastChangeByEmployee": "2018-05-08T15:16:49+02:00",
- "processedInPayrollPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "reasonForDeviatingFromCalculatedDistance": "There were some ongoing road works i had to get around",
- "route": [
- {
- "pointOfInterest": {
- "name": "Van Spaendonck Groep"
}, - "address": {
- "freeformAddress": "Reitseplein 1, 5037 AA Tilburg",
- "countryCode": "NL"
}, - "position": {
- "latitude": 51.585996,
- "longitude": 5.585996
}
}
]
}
}
Details of a declaration
Activity name : GetDeclarationByDeclarationId
Get the details of a declaration
path Parameters
declarationId required | string <uuid> The unique identifier of the declaration |
query Parameters
filter | string Example: filter=cancellationPeriodTimeUnit.key eq 4 Filter the collection |
orderBy | string^-?\w+(,-?\w+)*$ Example: orderBy=-companyName,address.houseNumber Order the collection on one or more fields |
pageNumber | integer <int32> Default: 1 Example: pageNumber=2 Specifies which page should be returned |
pageSize | integer <int32> Default: 250 Example: pageSize=20 Specifies the number of objects per page |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "totalSize": 650,
- "pageSize": 250,
- "totalPages": 3,
- "currentPage": 2,
- "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollComponent": {
- "key": 11,
- "description": "UREN TVT 130%",
- "deviatingDescription": "Uren tijd voor tijd 130%",
- "deductionOrPayment": {
- "key": 2,
- "value": "Betaling"
}, - "routeType": {
- "key": 1,
- "value": "Snelste"
}
}, - "calculatedDistanceByRoutingService": 8,
- "numberOfUnits": 8,
- "declarationDate": "2017-11-01",
- "declarationComment": "Overwerk project X",
- "declarationStatus": {
- "key": 1,
- "value": "Open"
}, - "dateOfSubmissionByEmployee": "2018-05-08T15:16:49+02:00",
- "dateOfLastChangeByEmployee": "2018-05-08T15:16:49+02:00",
- "processedInPayrollPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "reasonForDeviatingFromCalculatedDistance": "There were some ongoing road works i had to get around",
- "route": [
- {
- "pointOfInterest": {
- "name": "Van Spaendonck Groep"
}, - "address": {
- "freeformAddress": "Reitseplein 1, 5037 AA Tilburg",
- "countryCode": "NL"
}, - "position": {
- "latitude": 51.585996,
- "longitude": 5.585996
}
}
]
}
}
Edit a declaration for an employment
Activity name : PutDeclarationByDeclarationId
Edit a declaration for an employment. This is usually done by the employee.
path Parameters
declarationId required | string <uuid> The unique identifier of the declaration |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 schema: application/json;version=2018-01-01required
object <metadata> A payroll component is the link to the salary calculation. By setting the value of a component the salary calculation will take this value into account when calculating the wage of the employment for the given payroll period. | |
calculatedDistanceByRoutingService | number or null <double> [ 0.01 .. 99999999.99 ] ^(\d{1,8})(\.\d{1,2})?$ The value calulated by the routing service |
numberOfUnits | number <double> [ 0.01 .. 99999999.99 ] ^(\d{1,8})(\.\d{1,2})?$ The number of units requested |
declarationDate | string <date> The date to which the declaration is applicable. As requested by the employee. |
declarationComment | string or null <= 1000 characters The comment left by the employee |
reasonForDeviatingFromCalculatedDistance | string or null <= 1000 characters The reason why the employee deviated form the calculated distance. |
Array of objects or null If applicable contains the addresses of stops used to calculate the route. The order of the items in the array is equal to the order of the route taken. |
Responses
Request samples
- Payload
{- "payrollComponent": {
- "key": 11
}, - "calculatedDistanceByRoutingService": 8,
- "numberOfUnits": 8,
- "declarationDate": "2017-11-01",
- "declarationComment": "Overwerk project X",
- "reasonForDeviatingFromCalculatedDistance": "There were some ongoing road works i had to get around",
- "route": [
- {
- "pointOfInterest": {
- "name": "Van Spaendonck Groep"
}, - "address": {
- "freeformAddress": "Reitseplein 1, 5037 AA Tilburg",
- "countryCode": "NL"
}, - "position": {
- "latitude": 51.585996,
- "longitude": 5.585996
}
}
]
}
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "Warning",
- "description": "<some warning>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": {
- "id": "b14acd0d-75d7-4fc8-8b22-4a3924585cab",
- "payrollComponent": {
- "key": 11,
- "description": "UREN TVT 130%",
- "deviatingDescription": "Uren tijd voor tijd 130%",
- "deductionOrPayment": {
- "key": 2,
- "value": "Betaling"
}, - "routeType": {
- "key": 1,
- "value": "Snelste"
}
}, - "calculatedDistanceByRoutingService": 8,
- "numberOfUnits": 8,
- "declarationDate": "2017-11-01",
- "declarationComment": "Overwerk project X",
- "declarationStatus": {
- "key": 1,
- "value": "Open"
}, - "dateOfSubmissionByEmployee": "2018-05-08T15:16:49+02:00",
- "dateOfLastChangeByEmployee": "2018-05-08T15:16:49+02:00",
- "processedInPayrollPeriod": {
- "year": 2017,
- "periodNumber": 1,
- "periodStartDate": "2018-01-01",
- "periodEndDate": "2018-01-31"
}, - "reasonForDeviatingFromCalculatedDistance": "There were some ongoing road works i had to get around",
- "route": [
- {
- "pointOfInterest": {
- "name": "Van Spaendonck Groep"
}, - "address": {
- "freeformAddress": "Reitseplein 1, 5037 AA Tilburg",
- "countryCode": "NL"
}, - "position": {
- "latitude": 51.585996,
- "longitude": 5.585996
}
}
]
}
}
Delete a declaration
Activity name : DeleteDeclarationByDeclarationId
Delete a declaration including attachment if applicable.
path Parameters
declarationId required | string <uuid> The unique identifier of the declaration |
header Parameters
Authorization required | string^Bearer\s[\w-]+$ Example: Bearer <TOKEN> A valid Bearer token for authorizing the request. |
Accept required | string 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 |
Responses
Response samples
- 200
- 400
- 401
- 403
{- "version": {
- "obsoleteDate": "2019-08-24",
- "resourceVersion": "2018-12-31"
}, - "messages": [
- {
- "type": "BrokenBusinessRule",
- "description": "Invalid value for <field>",
- "id": "904d6856-6034-4624-bcbc-886188c115c5",
- "code": 12,
- "properties": [
- "string"
]
}
], - "content": { }
}
Audit trail of a declaration
Activity name : GetDeclarationAuditTrailByDeclarationId
Get the audit trail of a declaration
path Parameters
declarationId required | string <uuid> The unique identifier of the declaration |