List of employers with fewer fields for performance reasons
Activity name : <a href="https://developer.loket.nl/Activities/GetEmployersMinimizedByUserId" target="_blank">GetEmployersMinimizedByUserId</a>
Get a list of all employers accessible to the current user. With this endpoint we introduced the "Minimized" resource which contains fewer fields then /v2/providers/employers. This version should increase performance when requesting employments for large employers.
Request
- Base URLhttps://api.loket.nl
- URLhttps://api.loket.nl/v2/providers/employers/minimized
- Authnone required
Query parameters
Filter the collection
Order the collection on one or more fields
Specifies which page should be returned
Specifies the number of objects per page
Headers
A valid Bearer token for authorizing the request.
The accept header is used to influence what type of output is returned and in most cases the version of the output
Response
OK
Example response
{
"totalSize": 650,
"pageSize": 250,
"totalPages": 3,
"currentPage": 2,
"version": {
"resourceVersion": "2018-12-31"
},
"messages": [
{
"type": "Warning",
"description": "<some warning>",
"id": "904d6856-6034-4624-bcbc-886188c115c5",
"code": 12
}
],
"_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"
},
"employerLogo": "https://api.loket.nl/v2/v2/providers/employers/{guid}/logo/{version}",
"providerLogo": "https://api.loket.nl/v2/v2/providers/employers/{guid}/deviatingproviderlogo",
"branch": {
"key": 2,
"value": "Landbouw en jacht"
},
"employerNumber": 20720
}
]
}Changes
No recorded changes to this operation across all 6 revisions of this API.