{"info":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","description":"<html><head></head><body><img src=\"https://content.pstmn.io/8c4d2f9f-cc39-4bab-acdc-b8588bcc66e7/ZG9pbnN0cnVjdF9CcmFuZGluZzIwMjEucG5n\" width=\"195\" height=\"58\">\n\n<h2 id=\"introduction--einführung\">Introduction / Einführung</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>English</strong></th>\n<th><strong>Deutsch</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>The doinstruct API is a JSON API that is used both for server-to-server communication and for the doinstruct content management system.</td>\n<td>Die doinstruct API ist eine JSON-API, die sowohl für die Server zu Server Kommunikation genutzt wird als auch für das doinstruct Content Management System.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"authentication--authentifizierung\">Authentication / Authentifizierung</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>English</strong></th>\n<th><strong>Deutsch</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>To get access to the API, you will receive an API key from doinstruct. The API key must be sent with every request as the \"X-API-KEY\" header. Furthermore, a user with an e-mail address and a password is required. You can use this access data to log in against the API. As a response to the login, you will receive a bearer token, which you must send as an \"authentication\" header for all further requests. The lifetime of the token is also included in the response.  <br>  <br>Please save all access data securely and access-protected. The access data should not be shared with third parties.</td>\n<td>Um Zugriff auf die API zu bekommen, erhalten Sie von doinstruct einen API Key. Dieser muss bei jeder Anfrage als Header \"X-API-KEY\" mitgesendet werden. Weiterhin ist ein Benutzer mit einer E-Mail-Adresse und einem Password nötig. Mit diesen Zugangsdaten kann man sich gegen die API einloggen. Als Antwort des Logins erhalten Sie einen Bearer-Token, den Sie bei allen weiteren Anfragen als \"authentication\"-Header mitsenden müssen. Die Gültigkeitsdauer des Tokens ist ebenfalls im Response enthalten.  <br>  <br>Bitte speichern Sie alle Zugangsdaten sicher und zugriffsgeschützt ab. Die Zugangsdaten sollen nicht mit dritten geteilt werden.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"domains\">Domains</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Environment</strong></th>\n<th><strong>Domain</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Live</td>\n<td>cms-api.doinstruct.com</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"headers\">Headers</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Value</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>Accept-Encoding</td>\n<td>gzip, deflate, br</td>\n<td>Optional, but recommended. For content compression.</td>\n</tr>\n<tr>\n<td>Authorization</td>\n<td>Token from the response of the /auth/sign-in call</td>\n<td>The \"Authorization\" header must be set on all requests. Except all endpoints of the Auth-API.</td>\n</tr>\n<tr>\n<td>Content-Type</td>\n<td>application/json</td>\n<td>The Content-Type header must be set for all POST, PATCH and PUT requests.</td>\n</tr>\n<tr>\n<td>X-API-Key</td>\n<td>A valide api key</td>\n<td>Required. The api key is issued by doinstruct</td>\n</tr>\n</tbody>\n</table>\n</div></body></html>","schema":"https://schema.getpostman.com/json/collection/v2.0.0/collection.json","toc":[],"owner":"23138434","collectionId":"9976722b-ff74-4fa9-b196-59cf63d85151","publishedId":"2s93CUGpmv","public":true,"customColor":{"top-bar":"FFFFFF","right-sidebar":"303030","highlight":"FFA748"},"publishDate":"2023-03-06T09:38:17.000Z"},"item":[{"name":"Auth API","item":[{"name":"/auth/sign-in","event":[{"listen":"test","script":{"id":"e1b8e359-7bd4-4806-a77d-8b73cf9b5329","exec":["const { clientId, token, refreshToken, username, accessToken, challengeName, session} = JSON.parse(responseBody);","if (clientId && token && refreshToken && accessToken && username) {","    pm.environment.set('username', username);","    pm.environment.set(\"token\", token);","    pm.environment.set('refreshToken', refreshToken);","    pm.environment.set(\"clientId\", clientId);","    pm.environment.set(\"accessToken\", accessToken);","}","if(challengeName && session) {","    pm.environment.set(\"session\", session);","    pm.environment.set(\"challengeName\", challengeName);","}"],"type":"text/javascript","packages":{}}}],"id":"45e842aa-a2d9-432b-b931-648ab3a8a6f9","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{email}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/sign-in","description":"<p>Sign in endpoint</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>true</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>true</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["auth","sign-in"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"418dc198-39ee-4615-8d3c-d4ddca3dc1f6","name":"/auth/sign-in","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"•••••••","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"•••••••\",\n    \"password\": \"•••••••\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/sign-in"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 15:02:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2464"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BG1YohR2liAEMlA="}],"cookie":[],"responseTime":null,"body":"{\n    \"clientId\": \"3f79c65f...\",\n    \"expiresIn\": 3600,\n    \"refreshToken\": \"eyJjdH...\",\n    \"token\": \"eyJraWQiOi...\",\n    \"tokenType\": \"Bearer\",\n    \"username\": \"262aa6ff-...\"\n}"},{"id":"86eaae58-9094-443a-a8f0-44e66fd48ad6","name":"/auth/sign-in (MFA)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"•••••••"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"•••••••\",\n    \"password\": \"•••••••\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/sign-in"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 15:02:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2464"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BG1YohR2liAEMlA="}],"cookie":[],"responseTime":null,"body":"{\n    \"authChallenge\": \"SMS_MFA\",\n    \"session\": \"3f79c65f...\"\n}"}],"_postman_id":"45e842aa-a2d9-432b-b931-648ab3a8a6f9"},{"name":"/auth/sign-in Copy","event":[{"listen":"test","script":{"id":"e1b8e359-7bd4-4806-a77d-8b73cf9b5329","exec":["const { clientId, token, refreshToken, username, accessToken, challengeName, session} = JSON.parse(responseBody);","if (clientId && token && refreshToken && accessToken && username) {","    pm.environment.set('username', username);","    pm.environment.set(\"token\", token);","    pm.environment.set('refreshToken', refreshToken);","    pm.environment.set(\"clientId\", clientId);","    pm.environment.set(\"accessToken\", accessToken);","}","if(challengeName && session) {","    pm.environment.set(\"session\", session);","    pm.environment.set(\"challengeName\", challengeName);","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"c7adba32-4000-4447-ae6f-709a8b262eb5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"YFIFpHK90-1mc1aQAPUD96YqYvUdrdv6V3kaJci9dBM","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"{{email}}\",\n    \"password\": \"{{password}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/sign-in","description":"<p>Sign in endpoint</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>string</td>\n<td>true</td>\n</tr>\n<tr>\n<td>password</td>\n<td>string</td>\n<td>true</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["auth","sign-in"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"835578d5-2a5e-4a1a-8825-cf01b34d0c97","name":"/auth/sign-in","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"•••••••","type":"text"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"•••••••\",\n    \"password\": \"•••••••\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/sign-in"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 15:02:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2464"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BG1YohR2liAEMlA="}],"cookie":[],"responseTime":null,"body":"{\n    \"clientId\": \"3f79c65f...\",\n    \"expiresIn\": 3600,\n    \"refreshToken\": \"eyJjdH...\",\n    \"token\": \"eyJraWQiOi...\",\n    \"tokenType\": \"Bearer\",\n    \"username\": \"262aa6ff-...\"\n}"},{"id":"2debda24-cc3c-4750-849d-15c9e60d65f9","name":"/auth/sign-in (MFA)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"•••••••"},{"key":"Content-Type","value":"application/json","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"email\": \"•••••••\",\n    \"password\": \"•••••••\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/sign-in"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 15:02:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2464"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BG1YohR2liAEMlA="}],"cookie":[],"responseTime":null,"body":"{\n    \"authChallenge\": \"SMS_MFA\",\n    \"session\": \"3f79c65f...\"\n}"}],"_postman_id":"c7adba32-4000-4447-ae6f-709a8b262eb5"},{"name":"/auth/challenge","event":[{"listen":"test","script":{"id":"e1b8e359-7bd4-4806-a77d-8b73cf9b5329","exec":["const { clientId, token, refreshToken, username, accessToken, challengeName, session} = JSON.parse(responseBody);","if (clientId && token && refreshToken && accessToken && username) {","    pm.environment.set('username', username);","    pm.environment.set(\"token\", token);","    pm.environment.set('refreshToken', refreshToken);","    pm.environment.set(\"clientId\", clientId);","    pm.environment.set(\"accessToken\", accessToken);","}","if(challengeName && session) {","    pm.environment.set(\"session\", session);","    pm.environment.set(\"challengeName\", challengeName);","}"],"type":"text/javascript","packages":{}}}],"id":"ff9b5bb3-ddc2-4ddf-9ff1-bd1ba7b33c22","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{apiKey}}"}],"body":{"mode":"raw","raw":"{\n    \"challengeName\": \"{{challengeName}}\",\n    \"email\": \"{{email}}\",\n    \"session\": \"{{session}}\",\n    \"parameters\": {\n        \"code\": \"123456\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/challenge","description":"<p>challenge endpoint to respond to a challenge after sign in for example 2factor</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>challengeName</td>\n<td>string</td>\n<td>true</td>\n</tr>\n<tr>\n<td>username</td>\n<td>string</td>\n<td>true</td>\n</tr>\n<tr>\n<td>session</td>\n<td>string</td>\n<td>true</td>\n</tr>\n<tr>\n<td>parameters</td>\n<td>object</td>\n<td>true</td>\n</tr>\n<tr>\n<td>parameters.sms_mfa_code</td>\n<td>string</td>\n<td>false</td>\n</tr>\n<tr>\n<td>parameters.software_token_mfa</td>\n<td>string</td>\n<td>false</td>\n</tr>\n<tr>\n<td>parameters.select_mfa_type</td>\n<td>string</td>\n<td>false</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["auth","challenge"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0a1ea9c5-f6ee-4684-ad40-dad8cbc2eb14","name":"/auth/challenge (TOTP)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"•••••••"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"challengeName\": \"SOFTWARE_TOKEN_MFA\",\n    \"email\": \"•••••••\",\n    \"session\": \"•••••••\",\n    \"parameters\": {\n        \"code\": \"123456\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/challenge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 15:02:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2464"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BG1YohR2liAEMlA="}],"cookie":[],"responseTime":null,"body":"{\n    \"clientId\": \"3f79c65f...\",\n    \"expiresIn\": 3600,\n    \"refreshToken\": \"eyJjdH...\",\n    \"accessToken\": \"eyJraWQiOi...\",\n    \"token\": \"eyJraWQiOi...\",\n    \"tokenType\": \"Bearer\",\n    \"username\": \"262aa6ff-...\"\n}"},{"id":"1e7bcbdd-2ea8-4cc2-8e1a-45ade9d21d3e","name":"/auth/challenge (SMS)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"•••••••"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"challengeName\": \"SMS_MFA\",\n    \"email\": \"•••••••\",\n    \"session\": \"•••••••\",\n    \"parameters\": {\n        \"code\": \"123456\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/challenge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 15:02:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2464"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BG1YohR2liAEMlA="}],"cookie":[],"responseTime":null,"body":"{\n    \"clientId\": \"3f79c65f...\",\n    \"expiresIn\": 3600,\n    \"refreshToken\": \"eyJjdH...\",\n    \"accessToken\": \"eyJraWQiOi...\",\n    \"token\": \"eyJraWQiOi...\",\n    \"tokenType\": \"Bearer\",\n    \"username\": \"262aa6ff-...\"\n}"},{"id":"2d169801-b63a-4ebb-bd9b-b1bd7f7039ff","name":"/auth/challenge (SELECT DEVICE)","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"•••••••"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"challengeName\": \"SELECT_MFA_TYPE\",\n    \"email\": \"•••••••\",\n    \"session\": \"•••••••\",\n    \"parameters\": {\n        \"answer\": \"sms\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/challenge"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 15:02:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2464"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BG1YohR2liAEMlA="}],"cookie":[],"responseTime":null,"body":"{\n    \"authChallenge\": \"SMS_MFA\",\n    \"session\": \"3f79c65f...\"\n}"}],"_postman_id":"ff9b5bb3-ddc2-4ddf-9ff1-bd1ba7b33c22"},{"name":"/auth/sign-out","id":"088f0f1b-7284-41be-a706-fa4fe1eb19cc","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"refreshToken\": \"{{refreshToken}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/sign-out","description":"<p>Sign out endpoint</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>refreshToken</td>\n<td>string</td>\n<td>true</td>\n<td>The refresh token is included in the response to the /auth/sign-in call</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["auth","sign-out"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"ccde6c48-9eb9-430a-ad61-3a1f8a2ef637","name":"/auth/sign-out","originalRequest":{"method":"POST","header":[{"key":"x-api-key","value":"•••••••"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"refreshToken\": \"•••••••\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/auth/sign-out"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 01 Mar 2023 15:04:57 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"36"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BG1v_jPFFiAEMog="}],"cookie":[],"responseTime":null,"body":""}],"_postman_id":"088f0f1b-7284-41be-a706-fa4fe1eb19cc"}],"id":"53d1ecfe-2a89-4510-ac17-64af5e06e230","description":"<p>The doinstruct API uses JSON Web Token (JWT) to authorize a user. To get a JWT, the sign-in endpoint is called with a username and password. As an answer you get a token, a refresh token and the lifetime (in seconds) of the token.<br />Please call the sign out endpoint after completing all other calls to safely end the session.</p>\n","_postman_id":"53d1ecfe-2a89-4510-ac17-64af5e06e230","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Employees API","item":[{"name":"Bulk API","item":[{"name":"/employees/bulk/import","event":[{"listen":"prerequest","script":{"id":"640ef01e-6100-4492-8994-2eb3f9bbda25","exec":["const newEmployees = []","","","const createEmployee = () => {","    return {","        \"active\": true,","        \"custom1\": null,","        \"custom2\": null,","        \"custom3\": null,","        \"email\": null,","        \"employeeKey\": \"{{random.employeeKey}}\",","        \"firstDay\": \"{{random.firstDay}}\",","        \"firstName\": \"{{$random.firstName}}\",","        \"language\": \"de\",","        \"lastName\": \"{{$random.firstName}}\",","        \"personalData\": {","        },","        \"phone\": null,","        \"privacyConfirmed\": false,","        \"visitor\": false,","        \"lessons\":[   ","","        ]","    }","}","","console.log(createEmployee())"],"type":"text/javascript","packages":{},"requests":{}}},{"listen":"test","script":{"id":"be2c602d-44c9-4291-98ab-e7d38a2f7e90","exec":["const { id } = JSON.parse(responseBody);","","if (id) {","    pm.environment.set(\"jobId\", id);","}"],"type":"text/javascript","packages":{},"requests":{}}}],"id":"f67cae11-5b14-421d-862b-3a108e5946b9","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"rows\":[\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/bulk/import","description":"<p>Endpoint to create or update multiple employee records at once. For updating a record use the \"employeeKey\" or the \"id\" field to identify the employee record.</p>\n<p>You can add one lessons array to each employee to mark lessons as completed. If you want to bring your own PDF certificate, there is the opion to use the /certificates/api/v1/signed-url Endpoint and link the clientCerficicateId in the lessons array.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>rows</td>\n<td>array</td>\n<td>true</td>\n<td>An array of employees</td>\n</tr>\n</tbody>\n</table>\n</div><p>Each row must contain the same fields as a single creation request</p>\n<h3 id=\"lessons-nested-array-optional\">Lessons (nested array, optional)</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Property</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>lessonId</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>Lesson UUID</td>\n</tr>\n<tr>\n<td><code>status</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>\"passed\"</td>\n</tr>\n<tr>\n<td><code>date</code></td>\n<td>string</td>\n<td>Yes</td>\n<td>ISO date</td>\n</tr>\n<tr>\n<td><code>clientCertificateId</code></td>\n<td>string</td>\n<td>No</td>\n<td>Certificate ID (only with <code>\"passed\"</code>)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","bulk","import"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"caabe1c6-2bba-4a0d-80b2-35d36afb9c7b","name":"/employees/bulk/import","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"rows\": [\n        {\n            \"active\": true,\n            \"custom1\": \"custom\",\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": \"134-567\",\n            \"firstDay\": \"2022-11-01\",\n            \"firstName\": \"Mathias\",\n            \"language\": \"de\",\n            \"lastName\": \"Hettinger\",\n            \"personalData\": {\n                \"gender\": \"male\",\n                \"pants\": \"xs\",\n                \"shoes\": 43,\n                \"shirt\": \"xl\",\n                \"vaccination\": \"vaccinated-recovered\"\n            },\n            \"phone\": null,\n            \"privacyConfirmed\": false,\n            \"visitor\": false,\n            \"lessons\":[\n                {\n                    \"lessonId\": \"7dabfb91-59fa-4d5b-be24-b87ecc033ea5\",\n                    \"status\": \"passed\",\n                    \"date\": \"2025-11-01\",\n                    \"clientCertificateId\": \"f96b14f1-8d0c-4900-8129-bf0ae3cce85b\" // optional - See /certificates/api/v1/signed-url for details how to generate/upload certificate\n                }\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/bulk/import"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 09:31:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BWjpThS7FiAEJuA="}],"cookie":[],"responseTime":null,"body":"{\n    \"href\": \"{{baseUrl}}/employees/bulk/8719a0b4-1267-4e47-8741-50098eb6e94f\",\n    \"id\": \"8719a0b4-1267-4e47-8741-50098eb6e94f\"\n}"}],"_postman_id":"f67cae11-5b14-421d-862b-3a108e5946b9"},{"name":"/employees/bulk","event":[{"listen":"prerequest","script":{"id":"640ef01e-6100-4492-8994-2eb3f9bbda25","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"be2c602d-44c9-4291-98ab-e7d38a2f7e90","exec":["const { id } = JSON.parse(responseBody);","","if (id) {","    pm.environment.set(\"jobId\", id);","}"],"type":"text/javascript"}}],"id":"9345759e-687c-4b64-910b-632172e4981a","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"rows\": [\n        {\n            \"active\": true,\n    \n            \"email\": null,\n            \"employeeKey\": \"134-33\",\n            \"firstDay\": \"2022-11-01\",\n            \"firstName\": \"Mathias\",\n            \"language\": \"de\",\n            \"lastName\": \"Hettinger\",\n            \"personalData\": {\n                \"gender\": \"male\",\n                \"pants\": \"xs\",\n                \"shoes\": 43,\n                \"shirt\": \"xl\",\n                \"vaccination\": \"vaccinated-recovered\"\n            },\n            \"phone\": null,\n            \"privacyConfirmed\": false,\n            \"visitor\": false,\n            \"customFields\": {\n                \"custom1\": \"TEST24\" // the value on the left is the Key of the custom field\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/bulk","description":"<p>Endpoint to create multiple employees at once.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>rows</td>\n<td>array</td>\n<td>true</td>\n<td>An array of employees</td>\n</tr>\n</tbody>\n</table>\n</div><p>Each row must contain the same fields as a single creation request</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","bulk"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"c3767fdf-db4c-4974-8d32-f7dd8c42308b","name":"/employees/bulk","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"rows\":[\n        {\n            \"active\": true,\n            \"custom1\": \"custom\",\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": \"134-567\",\n            \"firstDay\": \"2022-11-01\",\n            \"firstName\": \"Mathias\",\n            \"language\": \"de\",\n            \"lastName\": \"Hettinger\",\n            \"personalData\": {\n                \"gender\": \"male\",\n                \"pants\": \"xs\",\n                \"shoes\": 43,\n                \"shirt\": \"xl\",\n                \"vaccination\": \"vaccinated-recovered\"\n            },\n            \"phone\": null,\n            \"privacyConfirmed\": false,\n            \"visitor\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/bulk"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 09:31:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BWjpThS7FiAEJuA="}],"cookie":[],"responseTime":null,"body":"{\n    \"href\": \"{{baseUrl}}/employees/bulk/8719a0b4-1267-4e47-8741-50098eb6e94f\",\n    \"id\": \"8719a0b4-1267-4e47-8741-50098eb6e94f\"\n}"},{"id":"d4833a06-0f3b-4c7c-bc6f-4302d804c220","name":"Delete Custom Field","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"rows\": [\n        {\n            \"active\": true,\n            \"custom1\": \"custom\",\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": \"134-569\",\n            \"firstDay\": \"2022-11-01\",\n            \"firstName\": \"Mathias\",\n            \"language\": \"de\",\n            \"lastName\": \"Hettinger\",\n            \"personalData\": {\n                \"gender\": \"male\",\n                \"pants\": \"xs\",\n                \"shoes\": 43,\n                \"shirt\": \"xl\",\n                \"vaccination\": \"vaccinated-recovered\"\n            },\n            \"phone\": null,\n            \"privacyConfirmed\": false,\n            \"visitor\": false,\n            \"customFields\": {\n                \"custom1\": null\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/employees/bulk?clearCustomFieldNullValues=true","host":["{{baseUrl}}"],"path":["employees","bulk"],"query":[{"key":"clearCustomFieldNullValues","value":"true"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9345759e-687c-4b64-910b-632172e4981a"},{"name":"/employees/bulk","event":[{"listen":"prerequest","script":{"id":"640ef01e-6100-4492-8994-2eb3f9bbda25","exec":[""],"type":"text/javascript"}},{"listen":"test","script":{"id":"be2c602d-44c9-4291-98ab-e7d38a2f7e90","exec":["const { id } = JSON.parse(responseBody);","","if (id) {","    pm.environment.set(\"jobId\", id);","}"],"type":"text/javascript"}}],"id":"90cc3e92-fcde-457c-b8a3-f96d71820de6","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"rows\": [\n        {\n            \"active\": true,\n            \"email\": null,\n            \"id\": \"68059f17-93f0-41d6-9930-c402ba92dc03\",\n            \"firstDay\": \"2022-11-01\",\n            \"firstName\": \"Mathias\",\n            \"language\": \"de\",\n            \"lastName\": \"Hettinger\",\n            \"personalData\": {\n                \"gender\": \"male\",\n                \"pants\": \"xs\",\n                \"shoes\": 43,\n                \"shirt\": \"xl\",\n                \"vaccination\": \"vaccinated-recovered\"\n            },\n            \"phone\": null,\n            \"privacyConfirmed\": false,\n            \"visitor\": false,\n            \"customFields\": {\n                \"custom1\": \"TEST24\" // the value on the left is the Key of the custom field\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/bulk","description":"<p>Endpoint to update multiple employee records at once. Use the \"employeeKey\" or the \"id\" field to identify the employee record.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>rows</td>\n<td>array</td>\n<td>true</td>\n<td>An array of employees</td>\n</tr>\n</tbody>\n</table>\n</div><p>Each row must contain the same fields as a single patch request. In addition, the id or the employeeKey is required to identify the employee.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","bulk"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"1f86f670-e4f8-42e2-8797-1e7d51597bd9","name":"/employees/bulk","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"rows\": [\n        {\n            \"active\": true,\n            \"custom1\": \"custom\",\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": \"134-567\",\n            \"firstDay\": \"2022-11-01\",\n            \"firstName\": \"Mathias\",\n            \"language\": \"de\",\n            \"lastName\": \"Hettinger\",\n            \"personalData\": {\n                \"gender\": \"male\",\n                \"pants\": \"xs\",\n                \"shoes\": 43,\n                \"shirt\": \"xl\",\n                \"vaccination\": \"vaccinated-recovered\"\n            },\n            \"phone\": null,\n            \"privacyConfirmed\": false,\n            \"visitor\": false\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/bulk"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 09:31:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BWjpThS7FiAEJuA="}],"cookie":[],"responseTime":null,"body":"{\n    \"href\": \"{{baseUrl}}/employees/bulk/8719a0b4-1267-4e47-8741-50098eb6e94f\",\n    \"id\": \"8719a0b4-1267-4e47-8741-50098eb6e94f\"\n}"},{"id":"e7f2b336-53e0-4d9c-919d-5e1b72c483a6","name":"Delete Custom Field","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"rows\": [\n        {\n            \"active\": true,\n            \"email\": null,\n            \"id\": \"68059f17-93f0-41d6-9930-c402ba92dc03\",\n            \"firstDay\": \"2022-11-01\",\n            \"firstName\": \"Mathias\",\n            \"language\": \"de\",\n            \"lastName\": \"Hettinger\",\n            \"personalData\": {\n                \"gender\": \"male\",\n                \"pants\": \"xs\",\n                \"shoes\": 43,\n                \"shirt\": \"xl\",\n                \"vaccination\": \"vaccinated-recovered\"\n            },\n            \"phone\": null,\n            \"privacyConfirmed\": false,\n            \"visitor\": false,\n            \"customFields\": {\n                \"custom1\": null\n            }\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":{"raw":"{{baseUrl}}/employees/bulk?clearCustomFieldNullValues=true","host":["{{baseUrl}}"],"path":["employees","bulk"],"query":[{"key":"clearCustomFieldNullValues","value":"true"}]}},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"90cc3e92-fcde-457c-b8a3-f96d71820de6"},{"name":"/employees/bulk/{id}","id":"7e7e0ac3-b74c-46cc-ac02-0a2c2a292944","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/employees/bulk/{{jobId}}","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","bulk","{{jobId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"163c9cc6-6af5-4447-8fe5-aada1832b2c1","name":"/employees/bulk/{id}","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{baseUrl}}/employees/bulk/{{jobId}}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"Content-Length","value":"337","description":""},{"key":"content-encoding","value":"gzip","description":""},{"key":"Apigw-Requestid","value":"D7t3li2BFiAEJJQ=","description":""},{"key":"Connection","value":"keep-alive","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b8\",\n    \"created\": \"2023-04-25T12:11:12.555Z\",\n    \"failed\": 1,\n    \"id\": \"cab04e80-fe07-496b-8bd3-70220999ea98\",\n    \"method\": \"update\",\n    \"modified\": \"2023-04-25T12:11:12.937Z\",\n    \"status\": \"partly passed\",\n    \"succeeded\": 2,\n    \"total\": 3,\n    \"userId\": \"83446c6d-85ac-44f1-970f-6a48d2efd671\",\n    \"errors\": [\n        {\n            \"messages\": [\n                \"<employeeKey> does not match any record\"\n            ],\n            \"data\": {\n                \"active\": true,\n                \"firstName\": \"Jack\",\n                \"lastName\": \"Doe\",\n                \"employeeKey\": \"9999\",\n                \"language\": \"de\"\n            }\n        }\n    ]\n}"}],"_postman_id":"7e7e0ac3-b74c-46cc-ac02-0a2c2a292944"},{"name":"/employees/bulk","id":"1fb5c4ba-ed50-4845-bc99-b8b8e0e60e24","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/employees/bulk?source=integration&status=passed,partly passed&sortField=created&sortDirection=desc&createdFrom=2024-06-07T12:53:00.000Z&createdTo=2024-06-07T12:54:00.000Z","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","bulk"],"host":["{{baseUrl}}"],"query":[{"key":"source","value":"integration"},{"key":"status","value":"passed,partly passed"},{"key":"sortField","value":"created"},{"key":"sortDirection","value":"desc"},{"key":"createdFrom","value":"2024-06-07T12:53:00.000Z"},{"key":"createdTo","value":"2024-06-07T12:54:00.000Z"}],"variable":[]}},"response":[{"id":"aaae2e6e-b7c8-4136-ac74-e1664f9c7cae","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{baseUrl}}/employees/bulk?source=integration&status=passed,partly passed&sortField=created&sortDirection=desc&createdFrom=2024-06-07T12:53:00.000Z&createdTo=2024-06-07T12:54:00.000Z","host":["{{baseUrl}}"],"path":["employees","bulk"],"query":[{"key":"source","value":"integration"},{"key":"status","value":"passed,partly passed"},{"key":"sortField","value":"created"},{"key":"sortDirection","value":"desc"},{"key":"createdFrom","value":"2024-06-07T12:53:00.000Z"},{"key":"createdTo","value":"2024-06-07T12:54:00.000Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 14:41:33 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"275"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"Z4HQpgC8FiAEPRg="}],"cookie":[],"responseTime":null,"body":"{\n    \"rows\": [\n        {\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"created\": \"2024-06-07T12:53:25.000Z\",\n            \"failed\": 0,\n            \"id\": \"b8836156-3a1f-4d4b-8ec0-c3c9419d2955\",\n            \"method\": \"import\",\n            \"modified\": \"2024-06-07T12:53:26.000Z\",\n            \"source\": \"integration\",\n            \"sourceId\": \"d97ae6d6-acb6-414c-bfe6-820d43324fbc\",\n            \"status\": \"passed\",\n            \"succeeded\": 1,\n            \"total\": 1,\n            \"userId\": null,\n            \"rowsCreated\": 0,\n            \"rowsModified\": 1\n        }\n    ],\n    \"total\": 1,\n    \"limit\": 100,\n    \"offset\": 0\n}"}],"_postman_id":"1fb5c4ba-ed50-4845-bc99-b8b8e0e60e24"},{"name":"/employees/bulk/count","id":"fbed6645-1a94-4b84-b6a6-58ec3088802b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/employees/bulk/count?source=integration&status=passed,partly passed&createdFrom=2024-06-07T12:53:00.000Z&createdTo=2024-06-07T12:54:00.000Z","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","bulk","count"],"host":["{{baseUrl}}"],"query":[{"key":"source","value":"integration"},{"key":"status","value":"passed,partly passed"},{"key":"createdFrom","value":"2024-06-07T12:53:00.000Z"},{"key":"createdTo","value":"2024-06-07T12:54:00.000Z"}],"variable":[]}},"response":[{"id":"e48ce5a7-9dcc-4bfa-ba84-6c1be79893af","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{baseUrl}}/employees/bulk/count?source=integration&status=passed,partly passed&createdFrom=2024-06-07T12:53:00.000Z&createdTo=2024-06-07T12:54:00.000Z","host":["{{baseUrl}}"],"path":["employees","bulk","count"],"query":[{"key":"source","value":"integration"},{"key":"status","value":"passed,partly passed"},{"key":"createdFrom","value":"2024-06-07T12:53:00.000Z"},{"key":"createdTo","value":"2024-06-07T12:54:00.000Z"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 24 Jun 2024 14:42:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"31"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"Z4HZSjNQliAEPGQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"total\": 1\n}"}],"_postman_id":"fbed6645-1a94-4b84-b6a6-58ec3088802b"}],"id":"d83b019a-32ab-45dd-adbc-eda3a0eea5e3","description":"<p>The bulk API can be used to create or update up to 10,000 employees at once. Doinstruct offers three endpoints to realize the bulk import. All endpoints process the data asynchronously and respond with a status code 202.<br />There is an create-only endpoint and an update-only endpoint. There is also an endpoint that allows both creating and updating the records.</p>\n<p>If your employees have a unique identifier, please send it in the \"employeeKey\" field. If there is no employee ID or no unique identifier, the \"employeeKey\" field must be left empty, as it expects unique values. Alternatively, one of the three custom fields (custom1, custom2, custom3) can be used to store additional employee information.</p>\n<p><strong>Scenarios</strong>:</p>\n<ol>\n<li><p>Unique employee ID available<br /> If your employees have a unique identifier, you are free to choose which API endpoints you use. To identify the employee records when updating, use the \"employeeKey\" field.</p>\n</li>\n<li><p>There is no clear employee ID<br /> If there is no unique identifier for the employees, the doinstruct maintained field \"id\" must be used to identify the records during updates.</p>\n</li>\n</ol>\n<p><strong>Workflow Import-API</strong></p>\n<p>This worflow is recommended for scenario 1. The employee ID is used to update existing records. If the employee ID is not yet in the system, a new record is created.</p>\n<ol>\n<li><p>Send a POST-Request to /employees/bulk/import</p>\n</li>\n<li><p>If the request was successfully processed, the API responds with a status code 202 to indicate that the processing of the data is happening asynchronously. The API response contains an href that you can follow to get the current status of the asynchronous processing.</p>\n</li>\n</ol>\n<p><strong>Workflow Create-API and Update-API</strong></p>\n<p>With this workflow you can ensure which records are created and which are updated.</p>\n<ol>\n<li><p>Send a POST-Request to /employees/bulk for adding employee records or a PATCH-Request to /employees/bulk for updating employee records.</p>\n</li>\n<li><p>If the request was successfully processed, the API responds with a status code 202 to indicate that the processing of the data is happening asynchronously. The API response contains an href that you can follow to get the current status of the asynchronous processing.</p>\n</li>\n</ol>\n<p><strong>Bulk Status</strong></p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Status</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>open</td>\n<td>A bulk job was created.</td>\n</tr>\n<tr>\n<td>in progress</td>\n<td>The bulk job is processing.</td>\n</tr>\n<tr>\n<td>passed</td>\n<td>The bulk job is successfully completed</td>\n</tr>\n<tr>\n<td>partly passed</td>\n<td>The bulk job is completed, but with errors. Some records were added.</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>The bulk job has failed. No records were added.</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"d83b019a-32ab-45dd-adbc-eda3a0eea5e3","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Task Assignment API","item":[{"name":"/employees/{id}/tasks/assign","id":"4fb84990-3bf6-4c66-bc61-48711789427a","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"assignmentDate\": \"2024-03-01T12:00:00Z\",\n    \"sendMessage\": true,\n    \"taskIds\": [\n        \"597a6837-0542-42dd-9872-f5c2a11db50e\",\n        \"c4b24b8d-7c28-4cae-93a1-34156ed30645\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/{{employeeid}}/tasks/assign","description":"<h3 id=\"url-parameters\">URL Parameters</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Parameter</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>id</code></td>\n<td>The unique identifier of the employee to whom the tasks will be assigned.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"request-body\">Request Body</h3>\n<p>The request body must be a JSON object with the following fields:</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>assignmentDate</code></td>\n<td>ISO Date string or <code>null</code></td>\n<td>The date when the tasks are assigned to the employee. If <code>null</code>, the current date is used.</td>\n</tr>\n<tr>\n<td><code>sendMessage</code></td>\n<td>boolean</td>\n<td>Specifies whether a message should be sent to the employee regarding the task assignment. <code>true</code> to send a message; <code>false</code> otherwise.</td>\n</tr>\n<tr>\n<td><code>taskIds</code></td>\n<td>string array</td>\n<td>An array of task identifiers that are to be assigned to the employee.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"example-request-body\">Example Request Body</h4>\n<pre class=\"click-to-expand-wrapper is-snippet-wrapper\"><code class=\"language-json\">jsonCopy code{\n    \"assignmentDate\": \"2024-02-21T00:00:00Z\",\n    \"sendMessage\": true,\n    \"taskIds\": [\"task1\", \"task2\", \"task3\"]\n}\n\n</code></pre>\n<h3 id=\"response\">Response</h3>\n<p>The response is a JSON object that reflects the assignment date, whether a message was scheduled to be sent.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Field</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><code>assignmentDate</code></td>\n<td>ISO Date string</td>\n<td>The date when the tasks were assigned. This matches the <code>assignmentDate</code> in the request if provided, otherwise it will be the current date.</td>\n</tr>\n<tr>\n<td><code>scheduledMessageDate</code></td>\n<td>ISO Date string or <code>null</code></td>\n<td>The scheduled date and time for the message to be sent to the employee. If <code>sendMessage</code> in the request is <code>false</code>, this will be <code>null</code>. Otherwise, it will be an ISO date string indicating when the message is scheduled.</td>\n</tr>\n</tbody>\n</table>\n</div><h4 id=\"example-response\">Example Response</h4>\n<h3 id=\"status-codes\">Status Codes</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Status Code</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>200 OK</td>\n<td>The request was successful, and the tasks were assigned.</td>\n</tr>\n<tr>\n<td>400 Bad Request</td>\n<td>The request was invalid. This can occur if the request body is improperly formatted or missing required information.</td>\n</tr>\n<tr>\n<td>404 Not Found</td>\n<td>The specified employee <code>id</code> was not found.</td>\n</tr>\n<tr>\n<td>500 Internal Server Error</td>\n<td>An error occurred on the server while processing the request.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The <code>assignmentDate</code> in the request body is optional. If it is not provided or is <code>null</code>, the current date will be used for the task assignment.</p>\n</li>\n<li><p>The <code>scheduledMessageDate</code> is determined by the server based on the <code>sendMessage</code> flag and may be subject to server-defined scheduling policies.</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","{{employeeid}}","tasks","assign"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"337a7f54-1de3-47e5-bcac-72d2d8303df0","name":"Assignment without message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"taskIds\": [\n        \"597a6837-0542-42dd-9872-f5c2a11db50e\",\n        \"c4b24b8d-7c28-4cae-93a1-34156ed30645\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/{{employeeid}}/tasks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 09:31:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BWjpThS7FiAEJuA="}],"cookie":[],"responseTime":null,"body":"{\n    \"assignmentDate\": \"2024-02-01T12:00:30.000Z\",\n    \"scheduledMessageDate\": null\n}"},{"id":"ea41eeed-aa6d-47b0-8bc4-8bdee778fdb3","name":"Assignment with message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"sendMessage\": true,\n    \"taskIds\": [\n        \"597a6837-0542-42dd-9872-f5c2a11db50e\",\n        \"c4b24b8d-7c28-4cae-93a1-34156ed30645\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/{{employeeid}}/tasks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 09:31:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BWjpThS7FiAEJuA="}],"cookie":[],"responseTime":null,"body":"{\n    \"assignmentDate\": \"2024-02-01T12:00:30.000Z\",\n    \"scheduledMessageDate\": \"2024-02-01T13:00:00.000Z\"\n}"},{"id":"9439d4cc-e9bc-4a24-b0e2-ccdeaeaee607","name":"Delayed assignment without message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"assignmentDate\": \"2024-03-01T12:00:00Z\",\n    \"taskIds\": [\n        \"597a6837-0542-42dd-9872-f5c2a11db50e\",\n        \"c4b24b8d-7c28-4cae-93a1-34156ed30645\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/{{employeeid}}/tasks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 09:31:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BWjpThS7FiAEJuA="}],"cookie":[],"responseTime":null,"body":"{\n    \"assignmentDate\": \"2024-03-01T12:00:30.000Z\",\n    \"scheduledMessageDate\": null\n}"},{"id":"a2778fbb-f9db-4738-9fd1-891eec5bd4f7","name":"Delayed assignment with message","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"assignmentDate\": \"2024-03-01T12:00:00Z\",\n    \"sendMessage\": true,\n    \"taskIds\": [\n        \"597a6837-0542-42dd-9872-f5c2a11db50e\",\n        \"c4b24b8d-7c28-4cae-93a1-34156ed30645\"\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/{{employeeid}}/tasks"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Mon, 06 Mar 2023 09:31:53 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"120"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BWjpThS7FiAEJuA="}],"cookie":[],"responseTime":null,"body":"{\n    \"assignmentDate\": \"2024-03-01T12:00:30.000Z\",\n    \"scheduledMessageDate\": \"2024-03-01T13:00:00.000Z\"\n}"}],"_postman_id":"4fb84990-3bf6-4c66-bc61-48711789427a"}],"id":"2a0de467-9dee-4ca7-91fb-676ba41508b8","description":"<p>The Task Assignment API is designed to streamline the assignment of tasks to employees.</p>\n","_postman_id":"2a0de467-9dee-4ca7-91fb-676ba41508b8","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Export Jobs","item":[{"name":"/employees/api/lesson-export","id":"afec8131-227e-4a2b-8406-9680faa8173d","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"LessonExportFilters\": {\n        \"employeeFilters\": {\n            \"filterBy\": {\n                \"active\": true,\n                \"hasPhoneNumber\": true,\n                \"status\": [\n                    \"failed\",\n                    \"open\",\n                    \"passed\",\n                    \"inProgress\"\n                ]\n            },\n            \"searchTerm\": \"\"\n        },\n        \"dateCompletedStart\": \"2024-01-01T00:00:00Z\",\n        \"dateCompletedEnd\": \"2024-12-31T23:59:59Z\",\n    },\n            \"limit\":2,\n        \"offset\":1\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/api/lesson-export","description":"<h2 id=\"lesson-export-api\">Lesson Export API</h2>\n<p>This endpoint allows users to export lesson data based on specified filters. The request is made to the <code>/employee/api/lesson-export</code> endpoint using the HTTP POST method.</p>\n<h3 id=\"request-parameters\">Request Parameters</h3>\n<p>The request body must be in JSON format and includes the following parameters:</p>\n<ul>\n<li><p><strong>LessonExportFilters</strong>: An object containing filters for the lesson export.</p>\n<ul>\n<li><p><strong>employeeFilters</strong>: An object to filter employees.</p>\n<ul>\n<li><p><strong>filterBy</strong>: An object that specifies the criteria for filtering employees.</p>\n<ul>\n<li><p><strong>active</strong>: (boolean) Indicates whether to include active employees.</p>\n</li>\n<li><p><strong>hasPhoneNumber</strong>: (boolean) Indicates whether to include employees with a phone number.</p>\n</li>\n<li><p><strong>status</strong>: (array of strings) Specifies the statuses of employees to include in the export.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>searchTerm</strong>: (string) A term to search for within employee data.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>dateCompletedStart</strong>: (string) The start date for filtering completed lessons in ISO 8601 format.</p>\n</li>\n<li><p><strong>dateCompletedEnd</strong>: (string) The end date for filtering completed lessons in ISO 8601 format.</p>\n</li>\n</ul>\n</li>\n<li><p><strong>offset</strong>: (integer) The number of records to skip before starting to collect the result set.</p>\n</li>\n<li><p><strong>limit</strong>: (integer) The maximum number of records to return.</p>\n</li>\n<li><p><strong>exportDataType</strong>: (string) Specifies the format of the exported data, must be \"csv\" or \"json.</p>\n</li>\n</ul>\n<h3 id=\"notes\">Notes</h3>\n<ul>\n<li><p>The <code>limit</code> and <code>offset</code> parameters can be used for pagination of results.</p>\n</li>\n<li><p>Example responses in csv and json format are included</p>\n</li>\n</ul>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","api","lesson-export"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"fedb886f-28e9-44d4-ad38-321f1ff2255f","name":"/employee/api/lesson-export","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"content-encoding","value":"deflate","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"LessonExportFilters\": {\n        \"employeeFilters\": { //All of these paramaters under Employee Filters are optional, you must pass a employeeFilters though\n            \"filterBy\": {\n                \"active\": true,\n                \"hasPhoneNumber\": true,\n                \"status\": [\n                    \"failed\",\n                    \"open\",\n                    \"passed\",\n                    \"inProgress\"\n                ]\n            },\n            \"searchTerm\": \"\"\n        },\n        \"dateCompletedStart\": \"2024-01-01T00:00:00Z\",\n        \"dateCompletedEnd\": \"2024-12-31T23:59:59Z\"\n    },\n    \"offset\": 0,\n    \"limit\": 2,\n    \"exportDataType\": \"json\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employee/api/lesson-export"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Date","value":"Tue, 26 Aug 2025 19:34:56 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"229"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"P7beggDZFiAEPQQ="}],"cookie":[],"responseTime":null,"body":"[\n    {\n        \"employeeKey\": \"asdasdasdasd\",\n        \"firstName\": \"asd\",\n        \"lastName\": \"asdasd\",\n        \"lesson\": \"testVic\",\n        \"durationInMinutes\": null,\n        \"dateCompleted\": \"2024-02-22T12:00:00.000Z\",\n        \"result\": \"employeeExternalLessonPassed\",\n        \"dueDate\": null,\n        \"type\": \"Repeat training\",\n        \"lessonId\": \"8269f061-ee61-41bd-9cd4-adb4b5c984d7\"\n    },\n    {\n        \"employeeKey\": \"asdasdasdasd\",\n        \"firstName\": \"asd\",\n        \"lastName\": \"asdasd\",\n        \"lesson\": \"testVic\",\n        \"durationInMinutes\": null,\n        \"dateCompleted\": \"2024-02-22T12:00:00.000Z\",\n        \"result\": \"employeeExternalLessonPassed\",\n        \"dueDate\": null,\n        \"type\": \"Repeat training\",\n        \"lessonId\": \"8269f061-ee61-41bd-9cd4-adb4b5c984d7\"\n    }\n]"},{"id":"ac872af4-8e64-408a-bad9-6c6250bf25f0","name":"/employee/api/lesson-export","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"content-encoding","value":"deflate","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"LessonExportFilters\": {\n        \"employeeFilters\": { //All of these paramaters under Employee Filters are optional, you must pass a employeeFilters though\n            \"filterBy\": {\n                \"active\": true,\n                \"hasPhoneNumber\": true,\n                \"status\": [\n                    \"failed\",\n                    \"open\",\n                    \"passed\",\n                    \"inProgress\"\n                ]\n            },\n            \"searchTerm\": \"\"\n        },\n        \"dateCompletedStart\": \"2024-01-01T00:00:00Z\",\n        \"dateCompletedEnd\": \"2024-12-31T23:59:59Z\"\n    },\n    \"offset\": 0,\n    \"limit\": 2,\n    \"exportDataType\": \"csv\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employee/api/lesson-export"},"status":"OK","code":200,"_postman_previewlanguage":"","header":[{"key":"Date","value":"Tue, 26 Aug 2025 19:36:22 GMT"},{"key":"Content-Type","value":"text/csv"},{"key":"Content-Length","value":"210"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"P7bsIg81liAEMJg="}],"cookie":[],"responseTime":null,"body":"employeeKey,firstName,lastName,lesson,durationInMinutes,dateCompleted,result,dueDate,type,lessonId\n\"asdasdasdasd\",\"asd\",\"asdasd\",\"testVic\",,\"2024-02-22T12:00:00.000Z\",\"employeeExternalLessonPassed\",,\"Repeat training\",\"8269f061-ee61-41bd-9cd4-adb4b5c984d7\"\n\"asdasdasdasd\",\"asd\",\"asdasd\",\"testVic\",,\"2024-02-22T12:00:00.000Z\",\"employeeExternalLessonPassed\",,\"Repeat training\",\"8269f061-ee61-41bd-9cd4-adb4b5c984d7\""}],"_postman_id":"afec8131-227e-4a2b-8406-9680faa8173d"}],"id":"e87027d5-1b66-4c38-8131-7f5ffb560259","_postman_id":"e87027d5-1b66-4c38-8131-7f5ffb560259","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Task Matrix","item":[{"name":"/employee/api/task-matrix/search","id":"1931f740-76fd-4d36-856b-ba53d8a5a7a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"active\": true, // boolean\n        \"deactivated\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"draftGroupIds\": [\n            \"550e8400-e29b-41d4-a716-446655440000\",\n            \"550e8400-e29b-41d4-a716-446655440001\"\n        ], // array of UUIDs\n        \"draftGroupPaths\": [\n            \"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"\n        ], \n        \"checkinStatus\": \"checkedOut\", // \"checkedIn\"\n        //array of slash separated UUIDs\n        \"created\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"excludeCustom1\": [\n            \"CustomValue1\",\n            \"CustomValue2\"\n        ], // array of strings\n        \"excludeCustom2\": [\n            \"CustomValue3\"\n        ], // array of strings\n        \"excludeCustom3\": [\n            \"CustomValue4\"\n        ], // array of strings\n        \"excludeEmails\": [\n            \"example3@example.com\",\n            \"example4@example.com\"\n        ], // array of strings\n        \"excludeEmployeeKeys\": [\n            \"EMP003\",\n            \"EMP004\"\n        ], // array of strings\n        \"excludeFirstNames\": [\n            \"firstname1\"\n        ], // array of strings\n        \"excludeLastNames\": [\n            \"lastname1\"\n        ], // array of strings\n        \"excludeNames\": [\n            \"name\"\n        ], // array of strings\n        \"excludeLanguages\": [\n            \"fr\",\n            \"nl\"\n        ], // array of strings\n        \"excludePhoneNumbers\": [\n            \"1234567890\",\n            \"0987654321\"\n        ], // array of strings\n        \"excludeStatus\": [\n            \"inProgress\",\n            \"passed\"\n        ], // array of EmployeesStatus: open, failed, inProgress, passed\n        \"excludeIds\": [\n            \"550e8400-e29b-41d4-a716-446655440002\",\n            \"550e8400-e29b-41d4-a716-446655440003\"\n        ], // array of UUIDs\n        \"excludeGroupIds\": [\n            \"550e8400-e29b-41d4-a716-446655440004\",\n            \"550e8400-e29b-41d4-a716-446655440005\"\n        ], // array of UUIDs\n        \"excludeDraftGroupIds\": [\n            \"550e8400-e29b-41d4-a716-446655440006\",\n            \"550e8400-e29b-41d4-a716-446655440007\"\n        ], // array of UUIDs\n        \"excludeGroupPaths\": [\n            \"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"\n        ], //array of slash separated UUIDs\n        \"groupPaths\": [\n            \"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"\n        ], //array of slash separated UUIDs\n        \"excludeTaskIds\": [\n            \"550e8400-e29b-41d4-a716-446655440008\",\n            \"550e8400-e29b-41d4-a716-446655440009\"\n        ], // array of UUIDs\n        \"firstDay\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"groupIds\": [\n            \"550e8400-e29b-41d4-a716-446655440010\",\n            \"550e8400-e29b-41d4-a716-446655440011\"\n        ], // array of UUIDs\n        \"excludeDraftGroupPaths\": [\n            \"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"\n        ], //array of slash separated UUIDs\n        \"groupStatus\": [\n            {\n                \"groupId\": \"550e8400-e29b-41d4-a716-446655440012\", // UUID\n                \"groupPath\": \"550e8400-e29b-41d4-a716-446655440012/550e8400-e29b-41d4-a716-446655440012\",\n                \"due\": true, // boolean\n                \"soonDue\": false, // boolean\n                \"status\": \"inProgress\" // possible values: inProgress, passed, failed\n            }\n        ],\n        \"hasPhoneNumber\": true, // boolean\n        \"hasEmail\": true, // boolean\n        \"hasThirdPartyNotifications\": false, // boolean\n        \"hasNotificationChannel\": true, // boolean\n        \"ids\": [\n            \"550e8400-e29b-41d4-a716-446655440013\",\n            \"550e8400-e29b-41d4-a716-446655440014\"\n        ], // array of UUIDs\n        \"inPersonLessonSlotId\": \"22446215-24df-4836-b818-592d31e8e216\",\n        \"soonDue\": true, // boolean\n        \"due\": false, // boolean\n        \"languages\": [\n            \"en\",\n            \"es\"\n        ], // array of strings\n        \"licenseTypes\": [\n            \"light\",\n            \"essential\"\n        ], // array, possible values: essential, light, expert, visitor\n        \"modified\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"receivedMessageRecently\": true, // boolean\n        \"receivedReminderRecently\": false, // boolean\n        \"hasLessonsInProgress\": true, // boolean\n        \"requestedLicenseTypes\": [\n            \"essential\",\n            \"light\"\n        ], // array, possible values: essential, light, expert, visitor\n        \"rollout\": true, // boolean\n        \"status\": [\n            \"open\",\n            \"failed\"\n        ], // array of EmployeesStatus: open, failed, inProgress, passed\n        \"taskIds\": [\n            \"550e8400-e29b-41d4-a716-446655440015\",\n            \"550e8400-e29b-41d4-a716-446655440016\"\n        ], // array of UUIDs\n        \"taskStatus\": [\n            \"inProgress\",\n            \"failed\"\n        ], // array, possible values: inProgress, passed, failed\n        \"visitor\": true, // boolean\n        \"firstName\": [\n            \"firstname\"\n        ], // array of strings\n        \"lastName\": [\n            \"lastname\"\n        ], // array of strings\n        \"custom1\": [\n            \"CustomValue1\",\n            \"CustomValue2\"\n        ], // array of strings\n        \"custom2\": [\n            \"CustomValue3\"\n        ], // array of strings\n        \"custom3\": [\n            \"CustomValue4\"\n        ], // array of strings\n        \"dueDate\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"email\": [\n            \"example1@example.com\",\n            \"example2@example.com\"\n        ], // array of strings\n        \"phone\": [\n            \"1234567890\",\n            \"0987654321\"\n        ], // array of strings\n        \"employeeKey\": [\n            \"EMP001\",\n            \"EMP002\"\n        ], // array of strings\n        \"externalId\": [\n            \"EXT001\",\n            \"EXT002\"\n        ], // array of strings\n        \"name\": [\n            \"John Doe\",\n            \"Max Mustermann\"\n        ] // array of string\n    },\n  \"responseFields\": [\n    \"employees.*\", \n    \"groupStatus.*\", \n    \"groups.*\", \n    \"groupNames.*\",\n    \"inProgressTasksCount\", \n    \"notes.*\", \n    \"messages.*\", \n    \"slots.*\"\n    ], // array, possible values: employees.* (required if set), groupStatus.*, groups.*, \"groupNames.*\", inProgressTasksCount, notes.*, slots.*\n  \"limit\": 100, // number\n  \"offset\": 0, // number\n  \"searchTerm\": \"example search term\", // string\n  \"sortBy\": {\n    \"direction\": \"asc\", // SortDirection: \"asc\", \"desc\"\n    \"field\": \"created\" // string, possible values: active, created, custom1, custom2, custom3, email, employeeKey, firstDay, firstName, id, language, lastName, phone, status\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employee/api/task-matrix/search","description":"<h1 id=\"task-matrix-search\">Task Matrix Search</h1>\n<p>Endpoint to retrieve employee task matrix data with task completion status.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>filters</strong></td>\n<td>false</td>\n<td>object</td>\n<td>Filter criteria for employees and tasks</td>\n</tr>\n<tr>\n<td>filters.active</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter by active/inactive employees</td>\n</tr>\n<tr>\n<td>filters.ids</td>\n<td>false</td>\n<td>array</td>\n<td>Specific employee IDs to include</td>\n</tr>\n<tr>\n<td>filters.excludeIds</td>\n<td>false</td>\n<td>array</td>\n<td>Employee IDs to exclude</td>\n</tr>\n<tr>\n<td>filters.email</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by email addresses</td>\n</tr>\n<tr>\n<td>filters.excludeEmails</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific emails</td>\n</tr>\n<tr>\n<td>filters.employeeKey</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by employee keys</td>\n</tr>\n<tr>\n<td>filters.excludeEmployeeKeys</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific employee keys</td>\n</tr>\n<tr>\n<td>filters.firstName</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by first names</td>\n</tr>\n<tr>\n<td>filters.excludeFirstNames</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific first names</td>\n</tr>\n<tr>\n<td>filters.lastName</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by last names</td>\n</tr>\n<tr>\n<td>filters.excludeLastNames</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific last names</td>\n</tr>\n<tr>\n<td>filters.name</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by full names</td>\n</tr>\n<tr>\n<td>filters.excludeNames</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific names</td>\n</tr>\n<tr>\n<td>filters.federatedId</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by federated IDs</td>\n</tr>\n<tr>\n<td>filters.status</td>\n<td>false</td>\n<td>array</td>\n<td>Employee status (\"active\", \"inactive\", \"new\", etc.)</td>\n</tr>\n<tr>\n<td>filters.excludeStatus</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific statuses</td>\n</tr>\n<tr>\n<td>filters.languages</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by languages (e.g., \"en\", \"de\")</td>\n</tr>\n<tr>\n<td>filters.excludeLanguages</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific languages</td>\n</tr>\n<tr>\n<td>filters.visitor</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter visitor employees</td>\n</tr>\n<tr>\n<td>filters.custom1</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by custom field 1</td>\n</tr>\n<tr>\n<td>filters.excludeCustom1</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude custom field 1 values</td>\n</tr>\n<tr>\n<td>filters.custom2</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by custom field 2</td>\n</tr>\n<tr>\n<td>filters.excludeCustom2</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude custom field 2 values</td>\n</tr>\n<tr>\n<td>filters.custom3</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by custom field 3</td>\n</tr>\n<tr>\n<td>filters.excludeCustom3</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude custom field 3 values</td>\n</tr>\n<tr>\n<td>filters.customFields</td>\n<td>false</td>\n<td>array</td>\n<td>Complex custom field filters</td>\n</tr>\n<tr>\n<td>filters.excludeCustomFields</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude custom field filters</td>\n</tr>\n<tr>\n<td>filters.phone</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by phone numbers</td>\n</tr>\n<tr>\n<td>filters.excludePhoneNumbers</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific phone numbers</td>\n</tr>\n<tr>\n<td>filters.phoneCountryCode</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by phone country codes</td>\n</tr>\n<tr>\n<td>filters.hasPhoneNumber</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter employees with/without phone</td>\n</tr>\n<tr>\n<td>filters.hasEmail</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter employees with/without email</td>\n</tr>\n<tr>\n<td>filters.hasNotificationChannel</td>\n<td>false</td>\n<td>boolean</td>\n<td>Has notification channel configured</td>\n</tr>\n<tr>\n<td>filters.hasMessageSettings</td>\n<td>false</td>\n<td>boolean</td>\n<td>Has message settings configured</td>\n</tr>\n<tr>\n<td>filters.hasThirdPartyNotifications</td>\n<td>false</td>\n<td>boolean</td>\n<td>Has third party notifications enabled</td>\n</tr>\n<tr>\n<td>filters.hasLessonsInProgress</td>\n<td>false</td>\n<td>boolean</td>\n<td>Has lessons currently in progress</td>\n</tr>\n<tr>\n<td>filters.licenseTypes</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by license types</td>\n</tr>\n<tr>\n<td>filters.requestedLicenseTypes</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by requested license types</td>\n</tr>\n<tr>\n<td>filters.checkinStatus</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by check-in status</td>\n</tr>\n<tr>\n<td>filters.rollout</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter by rollout status</td>\n</tr>\n<tr>\n<td>filters.groupIds</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by specific group IDs</td>\n</tr>\n<tr>\n<td>filters.excludeGroupIds</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific group IDs</td>\n</tr>\n<tr>\n<td>filters.groupPaths</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by group hierarchy paths</td>\n</tr>\n<tr>\n<td>filters.excludeGroupPaths</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific group paths</td>\n</tr>\n<tr>\n<td>filters.draftGroupIds</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by draft group IDs</td>\n</tr>\n<tr>\n<td>filters.excludeDraftGroupIds</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude draft group IDs</td>\n</tr>\n<tr>\n<td>filters.draftGroupPaths</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by draft group paths</td>\n</tr>\n<tr>\n<td>filters.excludeDraftGroupPaths</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude draft group paths</td>\n</tr>\n<tr>\n<td>filters.groupStatus</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by group status</td>\n</tr>\n<tr>\n<td>filters.taskIds</td>\n<td>false</td>\n<td>array</td>\n<td>Specific task IDs to include</td>\n</tr>\n<tr>\n<td>filters.excludeTaskIds</td>\n<td>false</td>\n<td>array</td>\n<td>Task IDs to exclude</td>\n</tr>\n<tr>\n<td>filters.taskStatus</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by task status (\"assigned\", \"in_progress\", \"completed\", \"failed\")</td>\n</tr>\n<tr>\n<td>filters.due</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter employees with overdue tasks</td>\n</tr>\n<tr>\n<td>filters.soonDue</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter employees with soon due tasks</td>\n</tr>\n<tr>\n<td>filters.dueDate</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by due date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.created</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by creation date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.modified</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by modification date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.firstDay</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by first day date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.deactivated</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by deactivation date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.receivedMessageRecently</td>\n<td>false</td>\n<td>boolean</td>\n<td>Received message recently</td>\n</tr>\n<tr>\n<td>filters.receivedReminderRecently</td>\n<td>false</td>\n<td>boolean</td>\n<td>Received reminder recently</td>\n</tr>\n<tr>\n<td>filters.inPersonLessonSlotId</td>\n<td>false</td>\n<td>string</td>\n<td>Filter by in-person lesson slot ID</td>\n</tr>\n<tr>\n<td><strong>sortBy</strong></td>\n<td>false</td>\n<td>object</td>\n<td>Sort configuration</td>\n</tr>\n<tr>\n<td>sortBy.field</td>\n<td>false</td>\n<td>string</td>\n<td>Field to sort by (e.g., \"firstName\", \"lastName\", \"created\")</td>\n</tr>\n<tr>\n<td>sortBy.direction</td>\n<td>false</td>\n<td>string</td>\n<td>Sort direction: \"asc\" or \"desc\"</td>\n</tr>\n<tr>\n<td><strong>searchTerm</strong></td>\n<td>false</td>\n<td>string</td>\n<td>Search by name, email, or employee key (max 100 chars)</td>\n</tr>\n<tr>\n<td><strong>limit</strong></td>\n<td>false</td>\n<td>number</td>\n<td>Maximum results per page (default: 20, max: 1000)</td>\n</tr>\n<tr>\n<td><strong>offset</strong></td>\n<td>false</td>\n<td>number</td>\n<td>Pagination offset (default: 0)</td>\n</tr>\n<tr>\n<td><strong>responseFields</strong></td>\n<td>false</td>\n<td>array</td>\n<td>Specify which fields to include (\"employees.<em>\", \"groups.</em>\", \"customFields.*\", etc.)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employee","api","task-matrix","search"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"d61b59a9-0131-4f3d-b63f-6525ae63f941","name":"/employee/api/task-matrix/search","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"content-encoding","value":"deflate","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"active\": true,\n        \"created\": {\n            \"dateFrom\": \"2025-01-01T00:00:00Z\",\n            \"dateTo\": \"2026-01-31T23:59:59Z\"\n        },\n        \"firstDay\": {\n            \"dateFrom\": \"2025-01-01T00:00:00Z\",\n            \"dateTo\": \"2026-01-31T23:59:59Z\"\n        },\n        \"hasPhoneNumber\": true,\n        \"receivedMessageRecently\": false,\n        \"receivedReminderRecently\": false,\n        \"status\": [\"failed\", \"open\", \"passed\", \"inProgress\"]\n    },\n    \"limit\": 100,\n    \"offset\": 0,\n    \"sortBy\": {\n        \"direction\": \"asc\",\n        \"field\": \"created\" \n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employee/api/task-matrix/search"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"employees\": [\n        {\n            \"id\": \"a55622....\",\n            \"active\": true,\n            \"appCode\": \"q2P....\",\n            \"clientId\": \"123.....\",\n            \"created\": \"2025-09-22T15:28:17Z\",\n            \"custom1\": null,\n            \"custom2\": null,\n            \"custom3\": null,\n            \"checkinStatus\": \"checkedOut\",\n            \"deactivated\": null,\n            \"dueDate\": null,\n            \"email\": \"<mail>\",\n            \"employeeKey\": \"12345\",\n            \"federatedId\": null,\n            \"firstDay\": \"2025-09-01\",\n            \"firstName\": \"Tester\",\n            \"forceAuthChallenge\": null,\n            \"language\": \"de\",\n            \"lastName\": \"Tester\",\n            \"licenseType\": null,\n            \"latestMessage\": \"2025-10-14T15:29:59Z\",\n            \"latestReminder\": \"2025-10-14T11:19:48Z\",\n            \"rolloutDate\": \"2025-10-06T12:40:53Z\",\n            \"modified\": \"2025-11-19T12:35:14Z\",\n            \"personalData\": {},\n            \"personalDataModules\": null,\n            \"phone\": \"12345\",\n            \"phoneCountryCode\": \"DE\",\n            \"privacyConfirmed\": false,\n            \"progress\": {\n                \"total\": 2,\n                \"completed\": 0,\n                \"percentage\": 0\n            },\n            \"requestedLicenseType\": \"expert\",\n            \"rollout\": true,\n            \"status\": \"inProgress\",\n            \"soonDueDate\": null,\n            \"thirdPartyNotifications\": false,\n            \"visitor\": false,\n            \"messageSettings\": {\n                \"preferredChannels\": [\n                    {\n                        \"id\": \"whatsapp\",\n                        \"active\": false\n                    },\n                    {\n                        \"id\": \"sms\",\n                        \"active\": false\n                    },\n                    {\n                        \"id\": \"email\",\n                        \"active\": true\n                    }\n                ]\n            },\n            \"groupNames\": [],\n            \"inProgressTasksCount\": 2,\n            \"completedTasksCount\": 0,\n            \"totalTasksCount\": 2,\n            \"d395.....\": {\n                \"id\": \"d395f4....\",\n                \"status\": \"assigned\"\n            },\n            \"7763f9a....\": {\n                \"id\": \"7763f....\",\n                \"status\": \"assigned\"\n            }\n        }\n    ],\n    \"pagination\": {\n        \"employees\": {\n            \"total\": 1,\n            \"limit\": 100,\n            \"offset\": 0,\n            \"hasMore\": false\n        }\n    }\n}"}],"_postman_id":"1931f740-76fd-4d36-856b-ba53d8a5a7a6"},{"name":"/employee/api/task-matrix/statistics","id":"5f111378-9797-4ef1-bd34-8837a0a3d708","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"filters\": {\n        \"active\": true, // boolean\n        \"deactivated\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"draftGroupIds\": [\n            \"550e8400-e29b-41d4-a716-446655440000\",\n            \"550e8400-e29b-41d4-a716-446655440001\"\n        ], // array of UUIDs\n        \"draftGroupPaths\": [\n            \"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"\n        ], \n        \"checkinStatus\": \"checkedOut\", // \"checkedIn\"\n        //array of slash separated UUIDs\n        \"created\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"excludeCustom1\": [\n            \"CustomValue1\",\n            \"CustomValue2\"\n        ], // array of strings\n        \"excludeCustom2\": [\n            \"CustomValue3\"\n        ], // array of strings\n        \"excludeCustom3\": [\n            \"CustomValue4\"\n        ], // array of strings\n        \"excludeEmails\": [\n            \"example3@example.com\",\n            \"example4@example.com\"\n        ], // array of strings\n        \"excludeEmployeeKeys\": [\n            \"EMP003\",\n            \"EMP004\"\n        ], // array of strings\n        \"excludeFirstNames\": [\n            \"firstname1\"\n        ], // array of strings\n        \"excludeLastNames\": [\n            \"lastname1\"\n        ], // array of strings\n        \"excludeNames\": [\n            \"name\"\n        ], // array of strings\n        \"excludeLanguages\": [\n            \"fr\",\n            \"nl\"\n        ], // array of strings\n        \"excludePhoneNumbers\": [\n            \"1234567890\",\n            \"0987654321\"\n        ], // array of strings\n        \"excludeStatus\": [\n            \"inProgress\",\n            \"passed\"\n        ], // array of EmployeesStatus: open, failed, inProgress, passed\n        \"excludeIds\": [\n            \"550e8400-e29b-41d4-a716-446655440002\",\n            \"550e8400-e29b-41d4-a716-446655440003\"\n        ], // array of UUIDs\n        \"excludeGroupIds\": [\n            \"550e8400-e29b-41d4-a716-446655440004\",\n            \"550e8400-e29b-41d4-a716-446655440005\"\n        ], // array of UUIDs\n        \"excludeDraftGroupIds\": [\n            \"550e8400-e29b-41d4-a716-446655440006\",\n            \"550e8400-e29b-41d4-a716-446655440007\"\n        ], // array of UUIDs\n        \"excludeGroupPaths\": [\n            \"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"\n        ], //array of slash separated UUIDs\n        \"groupPaths\": [\n            \"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"\n        ], //array of slash separated UUIDs\n        \"excludeTaskIds\": [\n            \"550e8400-e29b-41d4-a716-446655440008\",\n            \"550e8400-e29b-41d4-a716-446655440009\"\n        ], // array of UUIDs\n        \"firstDay\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"groupIds\": [\n            \"550e8400-e29b-41d4-a716-446655440010\",\n            \"550e8400-e29b-41d4-a716-446655440011\"\n        ], // array of UUIDs\n        \"excludeDraftGroupPaths\": [\n            \"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"\n        ], //array of slash separated UUIDs\n        \"groupStatus\": [\n            {\n                \"groupId\": \"550e8400-e29b-41d4-a716-446655440012\", // UUID\n                \"groupPath\": \"550e8400-e29b-41d4-a716-446655440012/550e8400-e29b-41d4-a716-446655440012\",\n                \"due\": true, // boolean\n                \"soonDue\": false, // boolean\n                \"status\": \"inProgress\" // possible values: inProgress, passed, failed\n            }\n        ],\n        \"hasPhoneNumber\": true, // boolean\n        \"hasEmail\": true, // boolean\n        \"hasThirdPartyNotifications\": false, // boolean\n        \"hasNotificationChannel\": true, // boolean\n        \"ids\": [\n            \"550e8400-e29b-41d4-a716-446655440013\",\n            \"550e8400-e29b-41d4-a716-446655440014\"\n        ], // array of UUIDs\n        \"inPersonLessonSlotId\": \"22446215-24df-4836-b818-592d31e8e216\",\n        \"soonDue\": true, // boolean\n        \"due\": false, // boolean\n        \"languages\": [\n            \"en\",\n            \"es\"\n        ], // array of strings\n        \"licenseTypes\": [\n            \"light\",\n            \"essential\"\n        ], // array, possible values: essential, light, expert, visitor\n        \"modified\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"receivedMessageRecently\": true, // boolean\n        \"receivedReminderRecently\": false, // boolean\n        \"hasLessonsInProgress\": true, // boolean\n        \"requestedLicenseTypes\": [\n            \"essential\",\n            \"light\"\n        ], // array, possible values: essential, light, expert, visitor\n        \"rollout\": true, // boolean\n        \"status\": [\n            \"open\",\n            \"failed\"\n        ], // array of EmployeesStatus: open, failed, inProgress, passed\n        \"taskIds\": [\n            \"550e8400-e29b-41d4-a716-446655440015\",\n            \"550e8400-e29b-41d4-a716-446655440016\"\n        ], // array of UUIDs\n        \"taskStatus\": [\n            \"inProgress\",\n            \"failed\"\n        ], // array, possible values: inProgress, passed, failed\n        \"visitor\": true, // boolean\n        \"firstName\": [\n            \"firstname\"\n        ], // array of strings\n        \"lastName\": [\n            \"lastname\"\n        ], // array of strings\n        \"custom1\": [\n            \"CustomValue1\",\n            \"CustomValue2\"\n        ], // array of strings\n        \"custom2\": [\n            \"CustomValue3\"\n        ], // array of strings\n        \"custom3\": [\n            \"CustomValue4\"\n        ], // array of strings\n        \"dueDate\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n            \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n        },\n        \"email\": [\n            \"example1@example.com\",\n            \"example2@example.com\"\n        ], // array of strings\n        \"phone\": [\n            \"1234567890\",\n            \"0987654321\"\n        ], // array of strings\n        \"employeeKey\": [\n            \"EMP001\",\n            \"EMP002\"\n        ], // array of strings\n        \"externalId\": [\n            \"EXT001\",\n            \"EXT002\"\n        ], // array of strings\n        \"name\": [\n            \"John Doe\",\n            \"Max Mustermann\"\n        ] // array of string\n    },\n    \"draftGroupIds\": [\"550e8400-e29b-41d4-a716-446655440000\", \"550e8400-e29b-41d4-a716-446655440001\"], // array of UUIDs\n    \"draftGroupPaths\": [\"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"], //array of slash separated UUIDs\n    \"created\": {\n      \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n      \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n    },\n    \"excludeCustom1\": [\"CustomValue1\", \"CustomValue2\"], // array of strings\n    \"excludeCustom2\": [\"CustomValue3\"], // array of strings\n    \"excludeCustom3\": [\"CustomValue4\"], // array of strings\n    \"excludeEmails\": [\"example3@example.com\", \"example4@example.com\"], // array of strings\n    \"excludeEmployeeKeys\": [\"EMP003\", \"EMP004\"], // array of strings\n    \"excludeFirstNames\": [\"firstname1\"], // array of strings\n    \"excludeLastNames\": [\"lastname1\"], // array of strings\n    \"excludeNames\": [\"name\"], // array of strings\n    \"excludeLanguages\": [\"fr\", \"nl\"], // array of strings\n    \"excludePhoneNumbers\": [\"1234567890\", \"0987654321\"], // array of strings\n    \"excludeStatus\": [\"inProgress\", \"passed\"], // array of EmployeesStatus: open, failed, inProgress, passed\n\n    \"excludeIds\": [\"550e8400-e29b-41d4-a716-446655440002\", \"550e8400-e29b-41d4-a716-446655440003\"], // array of UUIDs\n    \"excludeGroupIds\": [\"550e8400-e29b-41d4-a716-446655440004\", \"550e8400-e29b-41d4-a716-446655440005\"], // array of UUIDs\n    \"excludeDraftGroupIds\": [\"550e8400-e29b-41d4-a716-446655440006\", \"550e8400-e29b-41d4-a716-446655440007\"], // array of UUIDs\n    \"excludeGroupPaths\": [\"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"], //array of slash separated UUIDs\n    \"groupPaths\": [\"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"], //array of slash separated UUIDs\n    \"excludeTaskIds\": [\"550e8400-e29b-41d4-a716-446655440008\", \"550e8400-e29b-41d4-a716-446655440009\"], // array of UUIDs\n    \"firstDay\": {\n      \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n      \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n    },\n    \"groupIds\": [\"550e8400-e29b-41d4-a716-446655440010\", \"550e8400-e29b-41d4-a716-446655440011\"], // array of UUIDs\n    \"excludeDraftGroupPaths\": [\"550e8400-e29b-41d4-a716-446655440000/0371a1ea-f27b-4c8f-9013-b87406047b44\"], //array of slash separated UUIDs\n    \"groupStatus\": [\n      {\n        \"groupId\": \"550e8400-e29b-41d4-a716-446655440012\", // UUID\n        \"groupPath\": \"550e8400-e29b-41d4-a716-446655440012/550e8400-e29b-41d4-a716-446655440012\",\n        \"due\": true, // boolean\n        \"soonDue\": false, // boolean\n        \"status\": \"inProgress\" // possible values: inProgress, passed, failed\n      }\n    ],\n    \"hasPhoneNumber\": true, // boolean\n    \"hasEmail\": true, // boolean\n    \"hasThirdPartyNotifications\": false, // boolean\n    \"hasNotificationChannel\": true, // boolean\n    \"ids\": [\"550e8400-e29b-41d4-a716-446655440013\", \"550e8400-e29b-41d4-a716-446655440014\"], // array of UUIDs\n    \"inPersonLessonSlotId\": \"22446215-24df-4836-b818-592d31e8e216\",\n    \"soonDue\": true, // boolean\n    \"due\": false, // boolean\n    \"languages\": [\"en\", \"es\"], // array of strings\n    \"licenseTypes\": [\"light\", \"essential\"],  // array, possible values: essential, light, expert, visitor\n    \"modified\": {\n      \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n      \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n    },\n    \"receivedMessageRecently\": true, // boolean\n    \"receivedReminderRecently\": false, // boolean\n    \"hasLessonsInProgress\": true, // boolean\n    \"requestedLicenseTypes\": [\"essential\", \"light\"], // array, possible values: essential, light, expert, visitor\n    \"rollout\": true, // boolean\n    \"status\": [\"open\", \"failed\"], // array of EmployeesStatus: open, failed, inProgress, passed\n    \"taskIds\": [\"550e8400-e29b-41d4-a716-446655440015\", \"550e8400-e29b-41d4-a716-446655440016\"], // array of UUIDs\n    \"taskStatus\": [\"inProgress\", \"failed\"], // array, possible values: inProgress, passed, failed\n    \"visitor\": true, // boolean\n    \"firstName\": [\"firstname\"], // array of strings\n    \"lastName\": [\"lastname\"], // array of strings\n    \"custom1\": [\"CustomValue1\", \"CustomValue2\"], // array of strings\n    \"custom2\": [\"CustomValue3\"], // array of strings\n    \"custom3\": [\"CustomValue4\"], // array of strings\n    \"dueDate\": {\n      \"dateFrom\": \"2023-01-01T00:00:00Z\", // ISO date string\n      \"dateTo\": \"2023-12-31T23:59:59Z\" // ISO date string\n    },\n    \"email\": [\"example1@example.com\", \"example2@example.com\"], // array of strings\n    \"phone\": [\"1234567890\", \"0987654321\"], // array of strings\n    \"employeeKey\": [\"EMP001\", \"EMP002\"], // array of strings\n    \"externalId\": [\"EXT001\", \"EXT002\"], // array of strings\n    \"name\": [\"John Doe\", \"Max Mustermann\"] // array of string\n  },\n  \"limit\": 100, // number\n  \"offset\": 0, // number\n  \"searchTerm\": \"example search term\", // string\n  \"sortBy\": {\n    \"direction\": \"asc\", // SortDirection: \"asc\", \"desc\"\n    \"field\": \"created\" // string, possible values: active, created, custom1, custom2, custom3, email, employeeKey, firstDay, firstName, id, language, lastName, phone, status\n  }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employee/api/task-matrix/search","description":"<h1 id=\"task-matrix-statistics\">Task Matrix Statistics</h1>\n<p>Endpoint to retrieve aggregated task completion statistics across filtered employees.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td><strong>filters</strong></td>\n<td>false</td>\n<td>object</td>\n<td>Filter criteria for employees and tasks</td>\n</tr>\n<tr>\n<td>filters.active</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter by active/inactive employees</td>\n</tr>\n<tr>\n<td>filters.ids</td>\n<td>false</td>\n<td>array</td>\n<td>Specific employee IDs to include</td>\n</tr>\n<tr>\n<td>filters.excludeIds</td>\n<td>false</td>\n<td>array</td>\n<td>Employee IDs to exclude</td>\n</tr>\n<tr>\n<td>filters.email</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by email addresses</td>\n</tr>\n<tr>\n<td>filters.excludeEmails</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific emails</td>\n</tr>\n<tr>\n<td>filters.employeeKey</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by employee keys</td>\n</tr>\n<tr>\n<td>filters.excludeEmployeeKeys</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific employee keys</td>\n</tr>\n<tr>\n<td>filters.firstName</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by first names</td>\n</tr>\n<tr>\n<td>filters.excludeFirstNames</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific first names</td>\n</tr>\n<tr>\n<td>filters.lastName</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by last names</td>\n</tr>\n<tr>\n<td>filters.excludeLastNames</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific last names</td>\n</tr>\n<tr>\n<td>filters.name</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by full names</td>\n</tr>\n<tr>\n<td>filters.excludeNames</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific names</td>\n</tr>\n<tr>\n<td>filters.federatedId</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by federated IDs</td>\n</tr>\n<tr>\n<td>filters.status</td>\n<td>false</td>\n<td>array</td>\n<td>Employee status (\"active\", \"inactive\", \"new\", etc.)</td>\n</tr>\n<tr>\n<td>filters.excludeStatus</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific statuses</td>\n</tr>\n<tr>\n<td>filters.languages</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by languages (e.g., \"en\", \"de\")</td>\n</tr>\n<tr>\n<td>filters.excludeLanguages</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific languages</td>\n</tr>\n<tr>\n<td>filters.visitor</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter visitor employees</td>\n</tr>\n<tr>\n<td>filters.custom1</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by custom field 1</td>\n</tr>\n<tr>\n<td>filters.excludeCustom1</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude custom field 1 values</td>\n</tr>\n<tr>\n<td>filters.custom2</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by custom field 2</td>\n</tr>\n<tr>\n<td>filters.excludeCustom2</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude custom field 2 values</td>\n</tr>\n<tr>\n<td>filters.custom3</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by custom field 3</td>\n</tr>\n<tr>\n<td>filters.excludeCustom3</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude custom field 3 values</td>\n</tr>\n<tr>\n<td>filters.customFields</td>\n<td>false</td>\n<td>array</td>\n<td>Complex custom field filters</td>\n</tr>\n<tr>\n<td>filters.excludeCustomFields</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude custom field filters</td>\n</tr>\n<tr>\n<td>filters.phone</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by phone numbers</td>\n</tr>\n<tr>\n<td>filters.excludePhoneNumbers</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific phone numbers</td>\n</tr>\n<tr>\n<td>filters.phoneCountryCode</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by phone country codes</td>\n</tr>\n<tr>\n<td>filters.hasPhoneNumber</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter employees with/without phone</td>\n</tr>\n<tr>\n<td>filters.hasEmail</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter employees with/without email</td>\n</tr>\n<tr>\n<td>filters.hasNotificationChannel</td>\n<td>false</td>\n<td>boolean</td>\n<td>Has notification channel configured</td>\n</tr>\n<tr>\n<td>filters.hasMessageSettings</td>\n<td>false</td>\n<td>boolean</td>\n<td>Has message settings configured</td>\n</tr>\n<tr>\n<td>filters.hasThirdPartyNotifications</td>\n<td>false</td>\n<td>boolean</td>\n<td>Has third party notifications enabled</td>\n</tr>\n<tr>\n<td>filters.hasLessonsInProgress</td>\n<td>false</td>\n<td>boolean</td>\n<td>Has lessons currently in progress</td>\n</tr>\n<tr>\n<td>filters.licenseTypes</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by license types</td>\n</tr>\n<tr>\n<td>filters.requestedLicenseTypes</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by requested license types</td>\n</tr>\n<tr>\n<td>filters.checkinStatus</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by check-in status</td>\n</tr>\n<tr>\n<td>filters.rollout</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter by rollout status</td>\n</tr>\n<tr>\n<td>filters.groupIds</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by specific group IDs</td>\n</tr>\n<tr>\n<td>filters.excludeGroupIds</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific group IDs</td>\n</tr>\n<tr>\n<td>filters.groupPaths</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by group hierarchy paths</td>\n</tr>\n<tr>\n<td>filters.excludeGroupPaths</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude specific group paths</td>\n</tr>\n<tr>\n<td>filters.draftGroupIds</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by draft group IDs</td>\n</tr>\n<tr>\n<td>filters.excludeDraftGroupIds</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude draft group IDs</td>\n</tr>\n<tr>\n<td>filters.draftGroupPaths</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by draft group paths</td>\n</tr>\n<tr>\n<td>filters.excludeDraftGroupPaths</td>\n<td>false</td>\n<td>array</td>\n<td>Exclude draft group paths</td>\n</tr>\n<tr>\n<td>filters.groupStatus</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by group status</td>\n</tr>\n<tr>\n<td>filters.taskIds</td>\n<td>false</td>\n<td>array</td>\n<td>Specific task IDs to include in statistics</td>\n</tr>\n<tr>\n<td>filters.excludeTaskIds</td>\n<td>false</td>\n<td>array</td>\n<td>Task IDs to exclude</td>\n</tr>\n<tr>\n<td>filters.taskStatus</td>\n<td>false</td>\n<td>array</td>\n<td>Filter by task status (\"assigned\", \"in_progress\", \"completed\", \"failed\")</td>\n</tr>\n<tr>\n<td>filters.due</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter employees with overdue tasks</td>\n</tr>\n<tr>\n<td>filters.soonDue</td>\n<td>false</td>\n<td>boolean</td>\n<td>Filter employees with soon due tasks</td>\n</tr>\n<tr>\n<td>filters.dueDate</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by due date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.created</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by creation date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.modified</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by modification date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.firstDay</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by first day date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.deactivated</td>\n<td>false</td>\n<td>object</td>\n<td>Filter by deactivation date range (start/end)</td>\n</tr>\n<tr>\n<td>filters.receivedMessageRecently</td>\n<td>false</td>\n<td>boolean</td>\n<td>Received message recently</td>\n</tr>\n<tr>\n<td>filters.receivedReminderRecently</td>\n<td>false</td>\n<td>boolean</td>\n<td>Received reminder recently</td>\n</tr>\n<tr>\n<td>filters.inPersonLessonSlotId</td>\n<td>false</td>\n<td>string</td>\n<td>Filter by in-person lesson slot ID</td>\n</tr>\n<tr>\n<td><strong>searchTerm</strong></td>\n<td>false</td>\n<td>string</td>\n<td>Search by name, email, or employee key (max 100 chars)</td>\n</tr>\n<tr>\n<td><strong>limit</strong></td>\n<td>false</td>\n<td>number</td>\n<td>Maximum task results per page (default: 20)</td>\n</tr>\n<tr>\n<td><strong>offset</strong></td>\n<td>false</td>\n<td>number</td>\n<td>Pagination offset (default: 0)</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employee","api","task-matrix","search"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"75f23eda-f58a-45f0-9e88-1442836c0683","name":"/employee/api/task-matrix/statistics","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"content-encoding","value":"deflate","disabled":true}],"body":{"mode":"raw","raw":"{\n    \"filterBy\": {\n        \"active\": true,\n        \"status\": [\"failed\", \"open\", \"passed\", \"inProgress\"]\n    },\n    \"limit\": 100,\n    \"offset\": 0,\n    \"sortBy\": {\n        \"direction\": \"asc\",\n        \"field\": \"created\" \n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employee/api/task-matrix/statistics"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":"{\n    \"statistics\": [\n        {\n            \"taskId\": \"0453....\",\n            \"totalAssigned\": 3,\n            \"totalPassed\": 3,\n            \"totalFailed\": 0,\n            \"passRate\": 100,\n            \"failRate\": 0,\n            \"translations\": [\n                {\n                    \"id\": \"7e740....\",\n                    \"language\": \"de\",\n                    \"title\": \"Test\",\n                    \"created\": \"2025-10-31 13:15:36\"\n                }\n            ]\n        },\n        {\n            \"taskId\": \"09eca....\",\n            \"totalAssigned\": 1,\n            \"totalPassed\": 1,\n            \"totalFailed\": 0,\n            \"passRate\": 100,\n            \"failRate\": 0,\n            \"translations\": [\n                {\n                    \"id\": \"1cbc9f....\",\n                    \"language\": \"de\",\n                    \"title\": \"Neue Lektion\",\n                    \"created\": \"2025-10-08 21:16:15\"\n                }\n            ]\n        },\n        {\n            \"taskId\": \"3e2e7d....\",\n            \"totalAssigned\": 8,\n            \"totalPassed\": 1,\n            \"totalFailed\": 0,\n            \"passRate\": 13,\n            \"failRate\": 0,\n            \"translations\": [\n                {\n                    \"id\": \"b1cb....\",\n                    \"language\": \"de\",\n                    \"title\": \"Test 2\",\n                    \"created\": \"2025-09-26 07:25:03\"\n                }\n            ]\n        },\n        {\n            \"taskId\": \"75f5....\",\n            \"totalAssigned\": 1,\n            \"totalPassed\": 1,\n            \"totalFailed\": 0,\n            \"passRate\": 100,\n            \"failRate\": 0,\n            \"translations\": [\n                {\n                    \"id\": \"523ed58....\",\n                    \"language\": \"de\",\n                    \"title\": \"Test\",\n                    \"created\": \"2025-10-31 13:41:34\"\n                }\n            ]\n        },\n        {\n            \"taskId\": \"7763f9....\",\n            \"totalAssigned\": 3,\n            \"totalPassed\": 0,\n            \"totalFailed\": 0,\n            \"passRate\": 0,\n            \"failRate\": 0,\n            \"translations\": [\n                {\n                    \"id\": \"52892....\",\n                    \"language\": \"de\",\n                    \"title\": \"Test\",\n                    \"created\": \"2025-10-06 12:28:16\"\n                }\n            ]\n        },\n        {\n            \"taskId\": \"a12ab....\",\n            \"totalAssigned\": 3,\n            \"totalPassed\": 0,\n            \"totalFailed\": 0,\n            \"passRate\": 0,\n            \"failRate\": 0,\n            \"translations\": [\n                {\n                    \"id\": \"9e....\",\n                    \"language\": \"de\",\n                    \"title\": \"Test\",\n                    \"created\": \"2025-10-31 11:39:11\"\n                }\n            ]\n        },\n        {\n            \"taskId\": \"d395f....\",\n            \"totalAssigned\": 9,\n            \"totalPassed\": 3,\n            \"totalFailed\": 0,\n            \"passRate\": 33,\n            \"failRate\": 0,\n            \"translations\": [\n                {\n                    \"id\": \"667....\",\n                    \"language\": \"de\",\n                    \"title\": \"test\",\n                    \"created\": \"2025-09-22 15:29:23\"\n                }\n            ]\n        }\n    ],\n    \"pagination\": {\n        \"total\": 7,\n        \"limit\": 100,\n        \"offset\": 0,\n        \"hasMore\": false\n    },\n    \"totalEmployees\": 16,\n    \"generatedAt\": \"2025-12-03T21:08:19.066Z\"\n}"}],"_postman_id":"5f111378-9797-4ef1-bd34-8837a0a3d708"}],"id":"a92015c1-9d20-41f6-8dff-5e1f56a0e0e3","_postman_id":"a92015c1-9d20-41f6-8dff-5e1f56a0e0e3","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"/employees","id":"f5e5d8fd-5902-4c25-ab13-e1ebe0f98596","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"url":"{{baseUrl}}/employees?limit=5&offset=0","description":"<p>Endpoint to fetch a list of employees. The response contains up to 100 employees.</p>\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>string</td>\n<td>false</td>\n<td>Valid values: true, false</td>\n</tr>\n<tr>\n<td>limit</td>\n<td>number</td>\n<td>false</td>\n<td>Must be a number between 1 and 100</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"5"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"100560ae-83bd-40bf-ac2e-05d71d57a02a","name":"/employees","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"•••••••"},{"key":"x-api-key","value":"•••••••"}],"url":{"raw":"{{baseUrl}}/employees?limit=5&offset=0","host":["{{baseUrl}}"],"path":["employees"],"query":[{"key":"limit","value":"5"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 08:17:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"841"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BJM8ajEEliAEMVg="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 5,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"id\": \"000a1d24...\",\n            \"active\": false,\n            \"appCode\": \"iH9a9psuoTTnqABsNEPuUx\",\n            \"clientId\": \"3f79c65f...\",\n            \"created\": \"2022-12-23T15:38:46Z\",\n            \"custom1\": null,\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": null,\n            \"firstDay\": \"2021-11-22\",\n            \"firstName\": \"Julieta\",\n            \"language\": \"LI\",\n            \"lastName\": \"Ricki\",\n            \"latestMessage\": null,\n            \"latestReminder\": null,\n            \"modified\": \"2022-12-23T15:38:46Z\",\n            \"personalData\": null,\n            \"phone\": \"+903205619128611\",\n            \"privacyConfirmed\": false,\n            \"rollout\": true,\n            \"status\": \"open\",\n            \"visitor\": false\n        },\n        {\n            \"id\": \"000c3299...\",\n            \"active\": true,\n            \"appCode\": \"45vDY3iBViiTH1mQ1KqnTW\",\n            \"clientId\": \"3f79c65f...\",\n            \"created\": \"2022-12-23T15:36:55Z\",\n            \"custom1\": \"hi\",\n            \"custom2\": \"flo\",\n            \"custom3\": \":)\",\n            \"email\": null,\n            \"employeeKey\": \"1234567\",\n            \"firstDay\": \"2021-11-15\",\n            \"firstName\": \"Brenan\",\n            \"language\": \"de\",\n            \"lastName\": \"Reiner\",\n            \"latestMessage\": null,\n            \"latestReminder\": null,\n            \"modified\": \"2023-02-23T15:24:25Z\",\n            \"personalData\": {\n                \"pants\": \"m\",\n                \"shirt\": \"xs\",\n                \"shoes\": \"37\",\n                \"vaccination\": \"vaccinated-recovered\"\n            },\n            \"phone\": \"+393993805473\",\n            \"privacyConfirmed\": false,\n            \"rollout\": true,\n            \"status\": \"open\",\n            \"visitor\": false\n        },\n        {\n            \"id\": \"001defb8...\",\n            \"active\": false,\n            \"appCode\": \"6AQc7RiQMWy9d83C6nwYmc\",\n            \"clientId\": \"3f79c65f...\",\n            \"created\": \"2022-12-23T15:39:36Z\",\n            \"custom1\": null,\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": null,\n            \"firstDay\": \"2021-12-22\",\n            \"firstName\": \"Oralee\",\n            \"language\": \"CH\",\n            \"lastName\": \"Ammann\",\n            \"latestMessage\": null,\n            \"latestReminder\": null,\n            \"modified\": \"2022-12-23T15:39:36Z\",\n            \"personalData\": null,\n            \"phone\": \"+492362378052980\",\n            \"privacyConfirmed\": false,\n            \"rollout\": true,\n            \"status\": \"open\",\n            \"visitor\": false\n        },\n        {\n            \"id\": \"001f69de...\",\n            \"active\": true,\n            \"appCode\": \"ui49LamoiB1JrpPrReJ5qF\",\n            \"clientId\": \"3f79c65f...\",\n            \"created\": \"2022-12-23T15:38:27Z\",\n            \"custom1\": null,\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": \"FL0R15N\",\n            \"firstDay\": \"2020-08-29\",\n            \"firstName\": \"Terian\",\n            \"language\": \"de\",\n            \"lastName\": \"Heinn\",\n            \"latestMessage\": null,\n            \"latestReminder\": null,\n            \"modified\": \"2023-02-21T18:23:48Z\",\n            \"personalData\": {\n                \"pants\": \"m\",\n                \"shoes\": \"37\"\n            },\n            \"phone\": \"+462313645807884\",\n            \"privacyConfirmed\": false,\n            \"rollout\": true,\n            \"status\": \"open\",\n            \"visitor\": false\n        },\n        {\n            \"id\": \"0021402b...\",\n            \"active\": false,\n            \"appCode\": \"aSRLWLf78exVnjAJ5MLByq\",\n            \"clientId\": \"3f79c65f...\",\n            \"created\": \"2022-12-23T15:36:56Z\",\n            \"custom1\": null,\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": null,\n            \"firstDay\": \"2021-05-03\",\n            \"firstName\": \"Jasmina\",\n            \"language\": \"IR\",\n            \"lastName\": \"Ackerley\",\n            \"latestMessage\": null,\n            \"latestReminder\": null,\n            \"modified\": \"2022-12-23T15:36:56Z\",\n            \"personalData\": null,\n            \"phone\": \"+684401978082032\",\n            \"privacyConfirmed\": false,\n            \"rollout\": true,\n            \"status\": \"open\",\n            \"visitor\": false\n        }\n    ],\n    \"total\": 12719\n}"}],"_postman_id":"f5e5d8fd-5902-4c25-ab13-e1ebe0f98596"},{"name":"/employees/search","id":"615393a5-42e6-476c-932b-71910ea38833","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"filterBy\": {\n        \"active\": true,\n        \"created\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\",\n            \"dateTo\": \"2023-01-31T23:59:59Z\"\n        },\n        \"firstDay\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\",\n            \"dateTo\": \"2023-01-31T23:59:59Z\"\n        },\n        \"hasPhoneNumber\": true,\n        \"languages\": [\"de\", \"en\", \"ro\", \"tr\"],\n        \"modified\": {\n            \"dateFrom\": \"2023-03-01T00:00:00Z\",\n            \"dateTo\": \"2023-03-31T23:59:59Z\"\n        },\n        \"receivedMessageRecently\": false,\n        \"receivedReminderRecently\": false,\n        \"status\": [\"failed\", \"open\", \"passed\", \"inProgress\"]\n    },\n    \"limit\": 100,\n    \"offset\": 0,\n    \"searchTerm\": \"doe\",\n    \"sortBy\": {\n        \"direction\": \"asc\",\n        \"field\": \"created\" \n    },\n    \"visitor\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/search","description":"<p>Endpoint to search for employees</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filterBy</td>\n<td>object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>limit</td>\n<td>number</td>\n<td>false</td>\n<td>Must be a number between 1 and 100; Default 100</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>searchTerm</td>\n<td>string</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>sortBy</td>\n<td>object</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"filterby-parameters\"><strong>FilterBy Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>created</td>\n<td>DateRange object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>firstDay</td>\n<td>DateRange object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>hasPhoneNumber</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>ids</td>\n<td>array</td>\n<td>false</td>\n<td>Am array of employee ids</td>\n</tr>\n<tr>\n<td>languages</td>\n<td>array</td>\n<td>false</td>\n<td>Must include valid language codes</td>\n</tr>\n<tr>\n<td>modified</td>\n<td>DateRange object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>receivedReminderRecently</td>\n<td>boolean</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>status</td>\n<td>array</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"daterange-object\"><strong>DateRange Object</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>dateFrom</td>\n<td>dateTime</td>\n<td>true</td>\n<td>Valid ISO-8601</td>\n</tr>\n<tr>\n<td>dateTo</td>\n<td>dateTime</td>\n<td>true</td>\n<td>Valid ISO-8601</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sortby-parameters\"><strong>SortBy Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>direction</td>\n<td>string</td>\n<td>true</td>\n<td>Valid values: asc, desc</td>\n</tr>\n<tr>\n<td>field</td>\n<td>string</td>\n<td>true</td>\n<td>Valid values: active, created, custom1, custom2, custom3, employeeKey, firstDay, firstName, id. language, lastName, phone, status</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","search"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"38447104-4adf-4571-b050-a1f25ff3cdd8","name":"/employees/search","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"•••••••"},{"key":"x-api-key","value":"•••••••"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"filterBy\": {\n        \"active\": true,\n        \"created\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\",\n            \"dateTo\": \"2023-01-31T23:59:59Z\"\n        },\n        \"firstDay\": {\n            \"dateFrom\": \"2023-01-01T00:00:00Z\",\n            \"dateTo\": \"2023-01-31T23:59:59Z\"\n        },\n        \"hasPhoneNumber\": true,\n        \"languages\": [\"de\", \"en\", \"ro\", \"tr\"],\n        \"modified\": {\n            \"dateFrom\": \"2023-03-01T00:00:00Z\",\n            \"dateTo\": \"2023-03-31T23:59:59Z\"\n        },\n        \"receivedMessageRecently\": false,\n        \"receivedReminderRecently\": false,\n        \"status\": [\"failed\", \"open\", \"passed\", \"inProgress\"]\n    },\n    \"limit\": 100,\n    \"offset\": 0,\n    \"searchTerm\": \"doe\",\n    \"sortBy\": {\n        \"direction\": \"asc\",\n        \"field\": \"created\" \n    },\n    \"visitor\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 10:42:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"352"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BJiMbixwFiAEP4w="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"id\": \"25i3j6eh...\",\n            \"active\": true,\n            \"appCode\": \"8ad3i360\",\n            \"clientId\": \"3f79c65f...\",\n            \"created\": \"2022-11-07T09:00:28Z\",\n            \"custom1\": null,\n            \"custom2\": null,\n            \"custom3\": null,\n            \"email\": null,\n            \"employeeKey\": \"4ba37h81-f\",\n            \"firstDay\": \"2023-01-01\",\n            \"firstName\": \"Jörn\",\n            \"language\": \"tr\",\n            \"lastName\": \"Nowakowski\",\n            \"latestMessage\": null,\n            \"latestReminder\": null,\n            \"modified\": \"2023-02-09T09:21:00Z\",\n            \"nextReminder\": null,\n            \"personalData\": null,\n            \"phone\": null,\n            \"privacyConfirmed\": true,\n            \"status\": \"passed\",\n            \"visitor\": false\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"615393a5-42e6-476c-932b-71910ea38833"},{"name":"/employees/{id}","id":"2f42db27-bcef-4528-9fa2-aa5e81cf8213","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"url":"{{baseUrl}}/employees/{{employeeId}}","description":"<p>Endpoint to get a single employee.</p>\n<h2 id=\"path-parameters\">Path Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>A valid employee id of the client</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","{{employeeId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"4dd93e41-be3c-4332-aacd-87c79e5e42fe","name":"/employees/{id}","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"}],"url":"{{baseUrl}}/employees/{{employeeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 10:42:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"344"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BJiSogn4liAEPOQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"active\": true,\n    \"appCode\": \"8ad3i360\",\n    \"created\": \"2022-11-07T09:00:28.000Z\",\n    \"clientId\": \"3f79c65f...\",\n    \"custom1\": null,\n    \"custom2\": null,\n    \"custom3\": null,\n    \"email\": null,\n    \"employeeKey\": \"4ba37h81-f\",\n    \"firstDay\": \"2023-01-01T00:00:00.000Z\",\n    \"firstName\": \"Jörn\",\n    \"id\": \"25i3j6e...\",\n    \"language\": \"tr\",\n    \"lastName\": \"Nowakowski\",\n    \"latestMessage\": null,\n    \"latestReminder\": null,\n    \"modified\": \"2023-02-09T09:21:00.000Z\",\n    \"personalData\": null,\n    \"phone\": null,\n    \"privacyConfirmed\": true,\n    \"rollout\": false,\n    \"status\": \"passed\",\n    \"visitor\": false\n}"}],"_postman_id":"2f42db27-bcef-4528-9fa2-aa5e81cf8213"},{"name":"/employees","id":"790b7ffe-ea3d-46d4-a355-48348d9c3bb4","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"custom1\": null,\n    \"custom2\": null,\n    \"custom3\": null,\n    \"email\": null,\n    \"employeeKey\": null,\n    \"firstDay\": \"2022-09-01\",\n    \"firstName\": \"John\",\n    \"language\": \"de\",\n    \"lastName\": \"Doe\",\n    \"personalData\": {\n        \"shirt\": \"xl\",\n        \"shoes\": \"47\"\n    },\n    \"phone\": null,\n    \"privacyConfirmed\": true,\n    \"thirdFactor\": null,\n    \"visitor\": false,\n    \"customFields\": [\n        {\n            \"customFieldId\": \"8bc053cd-939b-4f5e-bc43-2a47c405a8b8\",\n            \"value\": \"TEST\"\n        },\n        {\n            \"customFieldId\": \"26c8c435-47f0-4e40-90dd-115e288199e0\",\n            \"selectedOptions\": [\n                \"2d476699-9f6a-45ad-8b49-e2ab9ad46d5c\",\n                \"2fef6711-851b-4d0c-92fa-ddd81b6d0d96\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees","description":"<p>Endpoint to create a single employee.</p>\n<h2 id=\"request-parameters\">Request parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>true</td>\n</tr>\n<tr>\n<td>custom1</td>\n<td>false</td>\n</tr>\n<tr>\n<td>custom2</td>\n<td>false</td>\n</tr>\n<tr>\n<td>custom3</td>\n<td>false</td>\n</tr>\n<tr>\n<td>email</td>\n<td>false</td>\n</tr>\n<tr>\n<td>employeeKey</td>\n<td>false</td>\n</tr>\n<tr>\n<td>firstDay</td>\n<td>false</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td>true</td>\n</tr>\n<tr>\n<td>language</td>\n<td>true</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>true</td>\n</tr>\n<tr>\n<td>personalData</td>\n<td>false</td>\n</tr>\n<tr>\n<td>personalDataModules</td>\n<td>false</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>false</td>\n</tr>\n<tr>\n<td>privacyConfirmed</td>\n<td>false</td>\n</tr>\n<tr>\n<td>thirdFactor</td>\n<td>false</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"fa5a4aa7-e5df-463a-804d-3b56ea0924b0","name":"/employees","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"custom1\": null,\n    \"custom2\": null,\n    \"custom3\": null,\n    \"email\": null,\n    \"employeeKey\": null,\n    \"firstDay\": \"2023-05-01\",\n    \"firstName\": \"John\",\n    \"language\": \"de\",\n    \"lastName\": \"Doe\",\n    \"personalData\": {\n        \"shirt\": \"s\",\n        \"shoes\": \"42\"\n    },\n    \"personalDataModules\": [\"shoes\", \"shirt\"],\n    \"phone\": null,\n    \"privacyConfirmed\": true,\n    \"thirdFactor\": null,\n    \"visitor\": false\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees"},"status":"Created","code":201,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 12:49:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"346"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BJ05Lj4iliAEMKQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"active\": true,\n    \"appCode\": \"naERfT8vg25LzBDo1JUYPE\",\n    \"created\": \"2023-03-02T12:49:50.871Z\",\n    \"clientId\": \"3f79c65f...\",\n    \"custom1\": null,\n    \"custom2\": null,\n    \"custom3\": null,\n    \"email\": null,\n    \"employeeKey\": null,\n    \"firstDay\": \"2023-05-01\",\n    \"firstName\": \"John\",\n    \"id\": \"2d35ebab...\",\n    \"language\": \"de\",\n    \"lastName\": \"Doe\",\n    \"latestMessage\": null,\n    \"latestReminder\": null,\n    \"modified\": \"2023-03-02T12:49:50.871Z\",\n    \"personalData\": {\n        \"shirt\": \"s\",\n        \"shoes\": \"42\"\n    },\n    \"phone\": null,\n    \"privacyConfirmed\": true,\n    \"status\": \"open\",\n    \"thirdFactor\": null,\n    \"visitor\": false\n}"}],"_postman_id":"790b7ffe-ea3d-46d4-a355-48348d9c3bb4"},{"name":"/employees/{id}","event":[{"listen":"prerequest","script":{"id":"c181f7cb-ae6c-471c-a2d9-3729438517c8","exec":["let randomPhoneNumber = '+'","","for (let i = 0; i < 12; i++) {","    randomPhoneNumber += Math.round(Math.random() * 10)","}","","pm.globals.set('randomPhoneNumber', randomPhoneNumber)"],"type":"text/javascript"}}],"id":"1f4ba9d2-9e69-4a87-a372-0661f02d1097","protocolProfileBehavior":{"disabledSystemHeaders":{},"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}","type":"text"},{"key":"x-api-key","value":"{{apiKey}}","type":"text"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"custom1\": null,\n    \"custom2\": null,\n    \"custom3\": null,\n    \"employeeKey\": null,\n    \"firstDay\": \"2022-09-01\",\n    \"firstName\": \"John\",\n    \"language\": \"de\",\n    \"lastName\": \"Doe\",\n    \"personalData\": {\n        \"shirt\": \"m\",\n        \"shoes\": \"43\"\n    },\n    \"phone\": null,\n    \"privacyConfirmed\": true,\n    \"thirdFactor\": null,\n    \"visitor\": false,\n    \"customFields\": [\n        {\n            \"customFieldId\": \"8bc053cd-939b-4f5e-bc43-2a47c405a8b8\",\n            \"value\": \"TEST\"\n        },\n        {\n            \"customFieldId\": \"26c8c435-47f0-4e40-90dd-115e288199e0\",\n            \"selectedOptions\": [\n                \"2d476699-9f6a-45ad-8b49-e2ab9ad46d5c\",\n                \"2fef6711-851b-4d0c-92fa-ddd81b6d0d96\"\n            ]\n        }\n    ]\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/{{employeeId}}","description":"<p>Endpoint to update a single employee</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Required</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>false</td>\n</tr>\n<tr>\n<td>custom1</td>\n<td>false</td>\n</tr>\n<tr>\n<td>custom2</td>\n<td>false</td>\n</tr>\n<tr>\n<td>custom3</td>\n<td>false</td>\n</tr>\n<tr>\n<td>email</td>\n<td>false</td>\n</tr>\n<tr>\n<td>employeeKey</td>\n<td>false</td>\n</tr>\n<tr>\n<td>firstDay</td>\n<td>false</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td>false</td>\n</tr>\n<tr>\n<td>language</td>\n<td>false</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>false</td>\n</tr>\n<tr>\n<td>personalData</td>\n<td>false</td>\n</tr>\n<tr>\n<td>personalDataModules</td>\n<td>false</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>false</td>\n</tr>\n<tr>\n<td>privacyConfirmed</td>\n<td>false</td>\n</tr>\n<tr>\n<td>thirdFactor</td>\n<td>false</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["employees","{{employeeId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"dc4fae2e-40fc-4c05-851b-a8d1611d6344","name":"/employees","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"x-api-key","value":"{{apiKey}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"active\": true,\n    \"custom1\": null,\n    \"custom2\": null,\n    \"custom3\": null,\n    \"email\": null,\n    \"employeeKey\": null,\n    \"firstDay\": \"2022-09-01\",\n    \"firstName\": \"John\",\n    \"language\": \"de\",\n    \"lastName\": \"Doe\",\n    \"personalData\": {\n        \"shirt\": \"m\",\n        \"shoes\": \"43\"\n    },\n    \"personalDataModules\": [\"shoes\", \"shirt\"],\n    \"phone\": null,\n    \"privacyConfirmed\": true,\n    \"thirdFactor\": null\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/employees/{{employeeId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 12:50:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"348"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BJ1AYjguFiAEMRg="}],"cookie":[],"responseTime":null,"body":"{\n    \"active\": true,\n    \"appCode\": \"naERfT8vg25LzBDo1JUYPE\",\n    \"created\": \"2023-03-02T12:49:51.000Z\",\n    \"clientId\": \"3f79c65f...\",\n    \"custom1\": null,\n    \"custom2\": null,\n    \"custom3\": null,\n    \"email\": null,\n    \"employeeKey\": null,\n    \"firstDay\": \"2022-09-01\",\n    \"firstName\": \"John\",\n    \"id\": \"2d35ebab...\",\n    \"language\": \"de\",\n    \"lastName\": \"Doe\",\n    \"latestMessage\": null,\n    \"latestReminder\": null,\n    \"modified\": \"2023-03-02T12:49:51.000Z\",\n    \"personalData\": {\n        \"shirt\": \"m\",\n        \"shoes\": \"43\"\n    },\n    \"phone\": null,\n    \"privacyConfirmed\": true,\n    \"status\": \"open\",\n    \"visitor\": false\n}"}],"_postman_id":"1f4ba9d2-9e69-4a87-a372-0661f02d1097"}],"id":"8bd35bbe-a3ab-4d43-b4dd-4118fa897bb8","description":"<p>In order for your employees to be able to use the doinstruct app, the data of the employees must be stored in the doinstruct system. You can create and change employee data via this API.</p>\n<p>You can use the \"employeeKey\" field to save a reference to an employee data record from your system. Normally the employee number is stored in this field. The field expects unique values.</p>\n<p>There are also three fields available for storing further information about the respective employee in the doinstruct system (custom1, custom2, custom3).</p>\n<p><strong>Phone</strong><br />The field \"phone\" accepts null or a valid mobile phone number in E.164 format. The format must be a string up to fifteen digits in length starting with a \"+\". Please use this regular expression for validation:<br /><code>^+[1-9]\\d{10,14}$</code></p>\n<h2 id=\"data-fields\">Data Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Is this employee active / enabled?</td>\n</tr>\n<tr>\n<td>appCode</td>\n<td>string</td>\n<td>An auto-generated short hash that is unique among all employees.  <br />  <br />Is used as part of the invite link to identify the employee.</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>string</td>\n<td>UUID of the respective client.</td>\n</tr>\n<tr>\n<td>created</td>\n<td>dateTime</td>\n<td>UTC date and time of when this employee was created  <br />  <br /><em>Example: 2021-04-30T08:58:33Z</em></td>\n</tr>\n<tr>\n<td>custom1</td>\n<td>string or null</td>\n<td>An optional custom field to store informations about the employee.  <br />  <br />Validation rule: 1-500 characters OR null</td>\n</tr>\n<tr>\n<td>custom2</td>\n<td>string or null</td>\n<td>An optional custom field to store informations about the employee.  <br />  <br />Validation rule: 1-500 characters OR null</td>\n</tr>\n<tr>\n<td>custom3</td>\n<td>string or null</td>\n<td>An optional custom field to store informations about the employee.  <br />  <br />Validation rule: 1-500 characters OR null</td>\n</tr>\n<tr>\n<td>employeeKey</td>\n<td>string or null</td>\n<td>A string set by the client that should be unique among all his employees.  <br />  <br />Validation rule: 1-100 characters OR null</td>\n</tr>\n<tr>\n<td>firstDay</td>\n<td>date or null</td>\n<td>The employee's first day of work  <br />  <br />Validation rule: Date string (YYYY-MM-DD) or null</td>\n</tr>\n<tr>\n<td>firstName</td>\n<td>string</td>\n<td>The firstName of the employee  <br />  <br />Validation rule: 1-100 characters</td>\n</tr>\n<tr>\n<td>language</td>\n<td>string</td>\n<td>Default language for this employee. If invalid or unsupported the clients default language is used instead.  <br />  <br />Validation rule: 2 characters</td>\n</tr>\n<tr>\n<td>lastName</td>\n<td>string</td>\n<td>The lastName of the employee  <br />  <br />Validation rule: 1-100 characters</td>\n</tr>\n<tr>\n<td>latestMessage</td>\n<td>dateTime or null</td>\n<td>Date and time of the latest message</td>\n</tr>\n<tr>\n<td>latestReminder</td>\n<td>dateTime or null</td>\n<td>Date and time of the latest reminder sms</td>\n</tr>\n<tr>\n<td>modified</td>\n<td>dateTime</td>\n<td>UTC date and time of when this employee was last modified.  <br />  <br /><em>Example: 2021-04-30T08:58:33Z</em></td>\n</tr>\n<tr>\n<td>nextReminder</td>\n<td>dateTime or null</td>\n<td>Date and time of the next reminder sms</td>\n</tr>\n<tr>\n<td>personalData</td>\n<td>object or null</td>\n<td>The personal data this employee entered via app (or somebody added via API).</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>string</td>\n<td>Unique per client. Must be a complete and valid mobile phone number in E.164 format.</td>\n</tr>\n<tr>\n<td>privacyConfirmed</td>\n<td>boolean</td>\n<td>Has this employee confirmed / accepted his company’s privacy policy yet?</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Summarized status over all lessons of the employee</td>\n</tr>\n<tr>\n<td>thirdFactor</td>\n<td>string or null</td>\n<td>String of characters added by the client. If enabled in the client and filled in, this factor will be requested by the app after the 2FA authentication.  <br />  <br />Validation rule: 0-50 characters OR null</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"status\">Status</h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>open</td>\n<td>The employee has not yet started a lesson</td>\n</tr>\n<tr>\n<td>inProgress</td>\n<td>The employee has started a lesson</td>\n</tr>\n<tr>\n<td>passed</td>\n<td>The employee passed all the lessons</td>\n</tr>\n<tr>\n<td>failed</td>\n<td>The employee failed lessons</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"8bd35bbe-a3ab-4d43-b4dd-4118fa897bb8","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Certificates","item":[{"name":"/certificates","id":"0b8f0c8c-10f0-4390-8c3d-67bc6337e489","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/certificates?limit=5&offset=0","description":"<p>Endpoint to fetch a list of certificates. The response contains up to 100 certificates.</p>\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>number</td>\n<td>false</td>\n<td>Must be a number between 1 and 100</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["certificates"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"5"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"07b386e1-fd57-4e02-b257-6754579b8050","name":"/certificates","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"•••••••"},{"key":"x-api-key","value":"•••••••"}],"url":{"raw":"{{baseUrl}}/employees?limit=5&offset=0","host":["{{baseUrl}}"],"path":["employees"],"query":[{"key":"limit","value":"5"},{"key":"offset","value":"0"}]}},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 08:17:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"841"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BJM8ajEEliAEMVg="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 1,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"created\": \"2023-06-19T11:52:28.000Z\",\n            \"employee\": {\n                \"custom1\": \"custom1\",\n                \"custom2\": \"custom2\",\n                \"custom3\": \"custom3\",\n                \"employeeKey\": \"9998\",\n                \"firstName\": \"John\",\n                \"id\": \"004eaf61-c6aa-4318-9547-fb4977e5a11a\",\n                \"lastName\": \"Doe\"\n            },\n            \"lesson\": {\n                \"clientRef\": \"Arbeitsschutz_doinstruct_Master\",\n                \"id\": \"597a6837-0542-42dd-9872-f5c2a11db50e\",\n                \"title\": \"Arbeitsschutz\"\n            }\n        }\n    ],\n    \"total\": 2\n}"}],"_postman_id":"0b8f0c8c-10f0-4390-8c3d-67bc6337e489"},{"name":"/certificates/search","id":"a3b28a8e-cea6-433b-b18a-df5487a7960a","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"filterBy\": {\n        \"created\": {\n            \"dateFrom\": \"2023-06-19T00:00:00\",\n            \"dateTo\": \"2023-06-19T23:59:59\"\n        },\n        \"employeeId\": \"string\",\n        \"employeeKey\": \"string\",\n        \"lessonId\": \"string\",\n        \"id\": \"string\"\n    },\n    \"searchTerm\": \"searchTerm\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/certificates/search","description":"<p>Endpoint to search for certificates.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filterBy</td>\n<td>object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>limit</td>\n<td>number</td>\n<td>false</td>\n<td>Must be a number between 1 and 100; Default 100</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>searchTerm</td>\n<td>string</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>sortBy</td>\n<td>object</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"filterby-parameters\"><strong>FilterBy Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>created</td>\n<td>DateRange object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>false</td>\n<td>A valid certificate id</td>\n</tr>\n<tr>\n<td>employeeId</td>\n<td>string</td>\n<td>false</td>\n<td>A valid id of an employee</td>\n</tr>\n<tr>\n<td>employeeKey</td>\n<td>string</td>\n<td>false</td>\n<td>A valid employeeKey</td>\n</tr>\n<tr>\n<td>lessonId</td>\n<td>string</td>\n<td>false</td>\n<td>A valid lessonId</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"daterange-object\"><strong>DateRange Object</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>dateFrom</td>\n<td>dateTime</td>\n<td>true</td>\n<td>Valid ISO-8601</td>\n</tr>\n<tr>\n<td>dateTo</td>\n<td>dateTime</td>\n<td>true</td>\n<td>Valid ISO-8601</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sortby-parameters\"><strong>SortBy Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>direction</td>\n<td>string</td>\n<td>true</td>\n<td>Valid values: asc, desc</td>\n</tr>\n<tr>\n<td>field</td>\n<td>string</td>\n<td>true</td>\n<td>Valid values: created</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["certificates","search"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"312bee1f-4394-48df-8a93-6e98c28d096e","name":"/certificates","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"•••••••"},{"key":"x-api-key","value":"•••••••"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"filterBy\": {\n        \"created\": {\n            \"dateFrom\": \"2023-06-19T00:00:00\",\n            \"dateTo\": \"2023-06-19T23:59:59\"\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/certificates/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 02 Mar 2023 08:17:06 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"841"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"BJM8ajEEliAEMVg="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 1,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"created\": \"2023-06-19T11:52:28.000Z\",\n            \"employee\": {\n                \"custom1\": \"custom1\",\n                \"custom2\": \"custom2\",\n                \"custom3\": \"custom3\",\n                \"employeeKey\": \"9998\",\n                \"firstName\": \"John\",\n                \"id\": \"004eaf61-c6aa-4318-9547-fb4977e5a11a\",\n                \"lastName\": \"Doe\"\n            },\n            \"lesson\": {\n                \"clientRef\": \"Arbeitsschutz_doinstruct_Master\",\n                \"id\": \"597a6837-0542-42dd-9872-f5c2a11db50e\",\n                \"title\": \"Arbeitsschutz\"\n            }\n        }\n    ],\n    \"total\": 2\n}"}],"_postman_id":"a3b28a8e-cea6-433b-b18a-df5487a7960a"},{"name":"/certificates/{id}/signed-url","id":"08df3338-7954-482d-b15b-b02688d5ca52","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{baseUrl}}/certificates/{{certificateId}}/signed-url","description":"<p>Endpoint to request a signed url for external lesson certificate upload</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["certificates","{{certificateId}}","signed-url"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"08df3338-7954-482d-b15b-b02688d5ca52"},{"name":"/certificates/{id}/signed-url","id":"061317f5-adce-437e-8ec8-a15bb35d04a6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/certificates/{{certificateId}}/signed-url","description":"<p>Endpoint to request a signed url for a certificate file.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["certificates","{{certificateId}}","signed-url"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"061317f5-adce-437e-8ec8-a15bb35d04a6"},{"name":"/certificates/{id}","id":"63e9193d-0265-4884-ae5e-4c62c45c88ee","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/certificates/{{certificateId}}","description":"<p>Endpoint to delete a certificate for external lessons</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["certificates","{{certificateId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[],"_postman_id":"63e9193d-0265-4884-ae5e-4c62c45c88ee"},{"name":"/certificates/api/v1/signed-url","id":"15e61fe0-9dd0-4116-bb67-78910463ed67","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/certificates/api/v1/signed-url","description":"<p>Endpoint to upload a custom certificate for the client (up to 10mb) which can then be used in<code>/employees/bulk/import</code>. The <code>clientCertificateId</code> can only be used for 1 day.</p>\n<p>Steps to import:</p>\n<ol>\n<li><p>Call <code>/certificates/api/v1/signed-url</code> to generate a signed url and get a new <code>clientCertificateId</code></p>\n</li>\n<li><p>Use the upload url (PUT ) to upload the pdf (Media API Folder / Upload file)</p>\n</li>\n<li><p>Use the <code>clientCertificateId</code> in /employees/bulk/import</p>\n</li>\n</ol>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["certificates","api","v1","signed-url"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"dab4e5ca-6991-4f55-9259-68de22415068","name":"/certificates/api/v1/signed-url","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/certificates/api/v1/signed-url"},"_postman_previewlanguage":null,"header":null,"cookie":[],"responseTime":null,"body":null}],"_postman_id":"15e61fe0-9dd0-4116-bb67-78910463ed67"}],"id":"d218aa81-88a3-409c-956f-760290f7da3d","description":"<p>Your employees' certificates can be retrieved via this API.</p>\n","_postman_id":"d218aa81-88a3-409c-956f-760290f7da3d","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Groups API (Beta)","item":[{"name":"Group Employee Assignment","item":[{"name":"/groups/{id}/employees","id":"6141068c-d35e-4e6e-8b83-accde90886ef","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees?limit=100&offset=0","description":"<p>Retrieve all employees assigned to the provided <code>groupId</code> in a paginated manner.</p>\n<p>You will get a list of assigned employee ids.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups","{{groupId}}","employees"],"host":["{{baseUrl}}"],"query":[{"key":"limit","value":"100"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"89db7d99-c054-46fc-b4c1-11f6eb065c14","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Aug 2024 10:59:29 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"2283"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"cfsingvlliAEM7g="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"employeeId\": \"00053f1e-4a5b-4604-a22b-433f15e809ff\",\n            \"created\": \"2024-08-12T10:26:11.000Z\"\n        },\n        {\n            \"employeeId\": \"00059c37-f8b0-4476-b10f-f772f8f854ae\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"000c7060-fe56-4a2a-8bdc-09d51238c49f\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"001527ef-8b60-43f5-add1-f42aad17cb56\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0015cda2-43d6-43a9-ab15-5581185b4e7a\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"001ab3d6-eb8d-4b57-8d3c-4d97aa80d4a5\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"001ca827-1da0-43cd-bfec-b744d77adf06\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0020ffaa-9146-404c-b2f4-064c670f9684\",\n            \"created\": \"2024-08-12T10:26:32.000Z\"\n        },\n        {\n            \"employeeId\": \"00210beb-ffb6-4dd8-a2ef-95c2571e9c74\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0021f234-c27f-4fba-ac21-a5af7085ec0a\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"002825d5-1949-47cf-b33a-43887dd07d4a\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"002a5bc6-a6ac-4363-9a1c-82b6dec04bfb\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0032ac05-a6ab-4a33-a904-52a203d0d52f\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"003550a7-6b19-415e-b075-2c26bed80c37\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"003f12e4-30ef-4344-ae8e-761ce25dd8b1\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00435c5c-42fe-4271-9623-b91eb6baae5e\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0045b8bc-d647-4de0-ab30-b1f2f726100f\",\n            \"created\": \"2024-08-12T10:27:44.000Z\"\n        },\n        {\n            \"employeeId\": \"004c61bf-1d9f-444c-93b6-754335ae25fa\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00525620-2bbe-406c-9ca5-70a0bbe1a312\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"005c4e7d-da79-49e2-a033-3e454099cbd9\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0065f6cd-4b2c-43da-be4a-eec6663bad49\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00694eb6-2002-4d7d-bc8c-ad1d80e4881b\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"006e32dd-6fce-41b5-ba68-3f24fd49c77e\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"006f84d2-f027-4525-bf11-01db7d923fdc\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"007228b6-f347-4ce4-9f3d-6fd962ef9d46\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0073eb8d-93c4-4160-a8d4-3d0ad7615e8c\",\n            \"created\": \"2024-08-12T10:26:27.000Z\"\n        },\n        {\n            \"employeeId\": \"007448b5-a196-42b9-a755-0e5a61ff9d58\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"007626c7-cd74-4809-8fc2-f12175ccdee1\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"007a8047-b58b-43ef-a8e6-06b8a9755bce\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0087511b-0215-48f2-a887-97c24f5a3610\",\n            \"created\": \"2024-08-12T10:26:31.000Z\"\n        },\n        {\n            \"employeeId\": \"0097ad44-f227-4c70-a9b2-c839a8a64274\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00a0ac64-6f25-4264-b4a4-90547185ce79\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00aa4ce0-24f2-41cc-a63b-406f402f3dc8\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00b787ed-6c10-4890-992d-35435a6de090\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00c089f4-f033-4a56-b8dc-629263d262b5\",\n            \"created\": \"2024-08-12T10:26:24.000Z\"\n        },\n        {\n            \"employeeId\": \"00c46571-97c4-4747-8e36-983fe2cb8829\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00c6c07c-05af-4094-a64e-d98fe63c9aaf\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00c952de-79ba-4ff3-89ab-2ccce0c906a3\",\n            \"created\": \"2024-08-12T10:27:04.000Z\"\n        },\n        {\n            \"employeeId\": \"00d02372-9890-4198-a7e6-c64deb06ffea\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00d13175-2c09-4ab2-bbc1-abfa5834186a\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00d20f86-6353-4018-99cf-c9952dc79867\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00d41830-cfa5-48a0-bb26-c30a1c4decad\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00d8baed-21d0-4184-bf41-b74fea271e62\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00db89e9-b2ea-4c32-b3f8-2bd05f27d438\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00e24ec6-4158-496a-8a38-8817f2f95ed0\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00e2f026-9cab-4af8-bdf8-73d3e0f4ad44\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00e985f9-04d5-4745-bcfa-8acba65f57f9\",\n            \"created\": \"2024-08-12T10:26:12.000Z\"\n        },\n        {\n            \"employeeId\": \"00ecbded-3350-4c59-862d-e1099f751c37\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00edfe94-665d-4622-99ce-bae43de700ba\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"00f30271-494d-4be8-8189-87f6dbd11ecd\",\n            \"created\": \"2024-08-12T10:26:21.000Z\"\n        },\n        {\n            \"employeeId\": \"00f53898-e442-485e-9bd7-fe54ef7ae180\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"010026a7-8ace-401e-96eb-509cf126d242\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01046086-61ea-49ca-b891-1a9bf7990157\",\n            \"created\": \"2024-08-12T10:29:56.000Z\"\n        },\n        {\n            \"employeeId\": \"0105110d-8598-49e4-bbce-07e69f806e0c\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"011373da-1224-40ed-8d2f-a228048a0923\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0127ce56-0f76-4db0-9e40-4c424f62d88a\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"012d674d-ce23-42fc-a27c-72a2b7cfa125\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"012ddccf-1f2a-4afa-9b6c-ecbb8a8de03e\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0136a453-1b30-4134-b4a0-57e27496c827\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0139c4ce-508c-4e55-a15c-2d3a40bc9801\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"014507c6-2617-4f4e-884e-beab24d022aa\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01487b42-ebe8-486f-8f62-9f9035516fbd\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"014897ee-0c6b-4794-b57e-6983a56377f0\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"014af6b4-1071-4085-a7a2-7d7f444352f5\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01556031-6eaf-427b-871b-b38e35e0114a\",\n            \"created\": \"2024-08-12T10:30:31.000Z\"\n        },\n        {\n            \"employeeId\": \"01598681-5754-4337-892e-d6261a8e05e9\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0159980b-ab03-41bd-a770-9e4c2db80bca\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"015cf99c-9f6b-4718-88f0-957787f67021\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01818a09-acfd-4c42-b65e-a407474003ab\",\n            \"created\": \"2024-08-12T10:26:31.000Z\"\n        },\n        {\n            \"employeeId\": \"0197829a-66b0-4eb9-86b3-546673ddc46c\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01a48d35-b382-4762-bc6f-7f066dc56530\",\n            \"created\": \"2024-08-12T10:26:29.000Z\"\n        },\n        {\n            \"employeeId\": \"01a6971e-8647-46f3-9ee3-c3030705a87c\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01a8947d-2038-4e27-9a93-987072c6dda8\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01ac49c8-e42d-4a85-8217-2b9116d9d46d\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01b63a04-4223-40d2-a269-9862cdb4b245\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01b66ac5-72bb-4142-808f-13bb65f1a5c7\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01ba5453-32be-42b7-9dea-9f9b9b431f00\",\n            \"created\": \"2024-08-12T10:27:52.000Z\"\n        },\n        {\n            \"employeeId\": \"01c2386c-a04c-4d00-8e86-267322478220\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01d221bf-f166-47fc-b453-70b8869e793c\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01e02b3a-f533-4526-b131-0ad9cea625f3\",\n            \"created\": \"2024-08-12T10:26:21.000Z\"\n        },\n        {\n            \"employeeId\": \"01f57fd3-dbe6-4f84-b39b-d47f50339d67\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"01ff1881-a1d2-4d20-83f6-152324bb4139\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"020b9655-0f13-405b-a455-0babe5094aab\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0222cca9-218a-4a11-965c-5af9bceca3c4\",\n            \"created\": \"2024-08-12T10:31:09.000Z\"\n        },\n        {\n            \"employeeId\": \"02295620-0df0-4909-bc34-20f0c0988fdd\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"02300ed7-fd87-418b-90dc-b1c935bf29f3\",\n            \"created\": \"2024-08-12T10:26:46.000Z\"\n        },\n        {\n            \"employeeId\": \"023e18e1-3cd5-4a1e-8d1e-290fa69f1d0a\",\n            \"created\": \"2024-08-12T10:26:49.000Z\"\n        },\n        {\n            \"employeeId\": \"0241a7a7-730f-4e1e-b2c6-0845acc4004f\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"024ee3a4-071b-4423-b8ce-7f6f0b4bbdaf\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"024fd984-6c3f-4497-b6d9-328ac780b0ce\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"02506d1d-5326-4d6b-bb5e-31c3700e8c2a\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0250ae79-740c-4c39-8109-73aafc2cc617\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"02512bcb-44c6-4849-8d3e-b56fbee6e7bc\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"025b0ced-9fbe-412c-97b8-637ed8070a8d\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"02601244-1591-474c-9cc4-9c226c1b161a\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"02735dcf-4d40-437e-abf9-270b94fcf65a\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0275e2b3-9585-4d49-9782-4ecba42aa787\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"02779944-8b03-4dd4-8cd8-54715d1ffc89\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"0277c0f7-d5f5-47b6-b91f-440194543c52\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        },\n        {\n            \"employeeId\": \"027ca1a4-09b7-44cd-954b-31ce85fd79e6\",\n            \"created\": \"2024-08-12T10:35:33.000Z\"\n        }\n    ],\n    \"total\": 9999\n}"}],"_postman_id":"6141068c-d35e-4e6e-8b83-accde90886ef"},{"name":"/groups/{id}/employees","id":"16f66572-0b83-4e14-99f5-a4c386af82b5","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"employeeId\": \"{{employeeId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees","description":"<p>Add an employee to a <code>groupId.</code> This will run employee branch assignment optimizations.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups","{{groupId}}","employees"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e03cc48e-0a0b-49e2-be5f-ab01fd29d4a1","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"employeeId\": \"{{employeeId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Aug 2024 11:07:38 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"103"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"cftvNjnMliAEMgw="}],"cookie":[],"responseTime":null,"body":"{\n    \"employeeId\": \"00053f1e-4a5b-4604-a22b-433f15e809ff\",\n    \"created\": \"2024-08-14T11:07:38.893Z\"\n}"},{"id":"e6b0f12a-7b1a-4235-86ad-9632d8124395","name":"Bad Request (Invalid Employee Id)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"employeeId\": \"{{employeeId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Aug 2024 11:02:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"68"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"cfs79hVJFiAEM4Q="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-108\",\n    \"message\": \"<employeeId> has an invalid value: fbb9ad82-b664-4011-98bd-fd85117ee80d\"\n}"},{"id":"06f1164e-9f20-4307-a681-f2574baa48f8","name":"Bad Request (Already exists)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"employeeId\": \"{{employeeId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Aug 2024 11:07:04 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"cftplhvAliAEM8g="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-179\",\n    \"message\": \"<group-employee> already exists\"\n}"},{"id":"1368d6e2-8a89-436b-bfd1-ce3af5a3bc89","name":"Bad request (Invalid Group Id)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"employeeId\": \"{{employeeId}}\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees"},"status":"Bad Request","code":400,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Aug 2024 11:08:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"105"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"cft0JiTtliAEMCw="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-108\",\n    \"message\": \"<groupId> has an invalid value: fbb9ad82-b664-4011-98bd-fd85117ee80d\"\n}"}],"_postman_id":"16f66572-0b83-4e14-99f5-a4c386af82b5"},{"name":"/groups/{id}/employees/{employeeId}","id":"9165fa8b-39d1-4ae7-bc3a-12f9afd1478e","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees/{{employeeId}}","description":"<p>Remove an employee from a group by providing the <code>groupId</code> and <code>employeeId</code> as path parameters. This will run employee branch assignment optimizations.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups","{{groupId}}","employees","{{employeeId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"e27ab48d-2bc2-43da-ac3c-791fae5bd21f","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}/employees/{{employeeId}}"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Wed, 14 Aug 2024 11:03:37 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"cftJeiAdFiAEMkw="}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"9165fa8b-39d1-4ae7-bc3a-12f9afd1478e"}],"id":"db412a5d-19ed-44a4-ae33-6bd2b8451329","description":"<p>You can use the Group Employee Assignment API to assign employees directly to a group.</p>\n<p>Groups are organized in a tree structure. An employee can be assigned to multiple groups at a time. Though, each employee can only be assigned to each branch of the tree once. This optimization will be handled automatically within our backend to put the employee into the deepest possible group per branch.</p>\n<p>This means, if you have the following structure:</p>\n<blockquote>\n<p>Root -&gt; Intermediate -&gt; Child </p>\n</blockquote>\n<p>if employee A is assigned to group Intermediate and you assign A to Child, the employee will then be only assigned to Child afterwards.</p>\n<p>This also goes if Intermediate is a group with dynamic assignment: The dynamic assignment will be overruled by your direct assignment.</p>\n","_postman_id":"db412a5d-19ed-44a4-ae33-6bd2b8451329","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Group Tasks","item":[{"name":"/group-tasks","id":"3a8ef791-bd3b-444b-98db-d99926384826","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups-tasks?groupIds={{groupId}}&optionalTraining={{optionalTraining}}&visitor={{visitor}}&limit=100&offset=0","description":"<p>Endpoint to fetch a list group tasks.</p>\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>limit</td>\n<td>number</td>\n<td>false</td>\n<td>Must be a number between 1 and 100</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>optionalTraining</td>\n<td>boolean</td>\n<td>false</td>\n<td>Whether to return the optional training tasks. Can't be true if visitor=true.  <br />Default: false</td>\n</tr>\n<tr>\n<td>visitor</td>\n<td>boolean</td>\n<td>false</td>\n<td>Whether to return visitor or employees lessons.  <br />Default: false</td>\n</tr>\n<tr>\n<td>current</td>\n<td>0/1</td>\n<td>false</td>\n<td>Wheter to receive draft or current tasks.</td>\n</tr>\n<tr>\n<td>groupIds</td>\n<td>string array</td>\n<td>false</td>\n<td>Comma separated list of groupIds to filter by</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups-tasks"],"host":["{{baseUrl}}"],"query":[{"key":"groupIds","value":"{{groupId}}"},{"description":{"content":"<p>Optional (default=false)</p>\n","type":"text/plain"},"key":"optionalTraining","value":"{{optionalTraining}}"},{"description":{"content":"<p>Optional (default=false)</p>\n","type":"text/plain"},"key":"visitor","value":"{{visitor}}"},{"key":"limit","value":"100"},{"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"50c9d0f6-599e-4c84-81b3-f90f89e3b3d9","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{baseUrl}}/groups-tasks?groupIds={{groupId}}","host":["{{baseUrl}}"],"path":["groups-tasks"],"query":[{"key":"groupIds","value":"{{groupId}}"}]}},"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 15:38:13 GMT","description":""},{"key":"Content-Type","value":"application/json","description":""},{"key":"Content-Length","value":"285","description":""},{"key":"Connection","value":"keep-alive","description":""},{"key":"content-encoding","value":"gzip","description":""},{"key":"Apigw-Requestid","value":"awRf5hu6liAEJKw=","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"created\": \"2024-07-11T15:35:42.000Z\",\n            \"groupId\": \"c6974a8c-e4da-4bc7-bab5-d4e360bf03bb\",\n            \"id\": \"efb9ef30-4321-4791-a486-12b200323f2d\",\n            \"modified\": \"2024-07-11T15:35:42.000Z\",\n            \"optionalTraining\": false,\n            \"priority\": false,\n            \"settings\": {\n                \"due\": {\n                    \"unit\": \"month\",\n                    \"value\": 2\n                },\n                \"soonDue\": null,\n                \"taskAssignmentOffset\": {\n                    \"unit\": \"day\",\n                    \"value\": 14\n                },\n                \"employeeTaskAssignmentPolicy\": \"initialAndOnTrainingPeriod\"\n            },\n            \"sortIndex\": 0,\n            \"taskId\": \"e4b68d6d-129b-4676-92a6-308485a0e574\",\n            \"visitor\": false\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"3a8ef791-bd3b-444b-98db-d99926384826"},{"name":"/group-tasks/{id}","id":"3e3118c7-e247-4790-8e4b-a92ed59a9420","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups-tasks/{{groupTaskId}}","description":"<p>Endpoint to get a single group task.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups-tasks","{{groupTaskId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"41a10f5e-2a46-47cb-aaab-9e732a559f03","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups-tasks/{{groupTaskId}}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"Date","value":"Thu, 11 Jul 2024 11:40:04 GMT","description":""},{"key":"Content-Length","value":"234","description":""},{"key":"Connection","value":"keep-alive","description":""},{"key":"content-encoding","value":"gzip","description":""},{"key":"Apigw-Requestid","value":"avunKjc-liAEMVw=","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n    \"created\": \"2024-07-11T11:39:24.000Z\",\n    \"groupId\": \"c6974a8c-e4da-4bc7-bab5-d4e360bf03bb\",\n    \"id\": \"d84ce638-f402-4745-8486-dae92a380c93\",\n    \"modified\": \"2024-07-11T11:39:24.000Z\",\n    \"optionalTraining\": false,\n    \"priority\": false,\n    \"settings\": {\n        \"due\": null,\n        \"soonDue\": null,\n        \"taskAssignmentOffset\": {\n            \"unit\": \"day\",\n            \"value\": 14\n        },\n        \"employeeTaskAssignmentPolicy\": \"initialAndOnTrainingPeriod\"\n    },\n    \"sortIndex\": 0,\n    \"taskId\": \"e4b68d6d-129b-4676-92a6-308485a0e574\",\n    \"visitor\": false\n}"},{"id":"9e61a44c-0a0a-4c21-9e06-8437ba639e60","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups-tasks/{{groupTaskId}}"},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""},{"key":"Apigw-Requestid","value":"avuzJiYcFiAEMWw=","description":""},{"key":"Connection","value":"keep-alive","description":""},{"key":"Content-Length","value":"44","description":""},{"key":"Date","value":"Thu, 11 Jul 2024 11:41:21 GMT","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-404\",\n    \"message\": \"Not found\"\n}"}],"_postman_id":"3e3118c7-e247-4790-8e4b-a92ed59a9420"},{"name":"/groups/{id}/tasks","id":"6891d133-cb1f-41ce-a2a2-19f74d343e16","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups/{{groupId}}/tasks?current=false&optionalTraining=false&visitor=false","description":"<p>Endpoint to fetch a groups tasks. Returns all own and inherited tasks.</p>\n<h2 id=\"query-parameters\">Query Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>true</td>\n<td>id of the group</td>\n</tr>\n<tr>\n<td>optionalTraining</td>\n<td>boolean</td>\n<td>false</td>\n<td>Whether to return the optional training tasks. Can't be true if visitor=true.  <br />Default: false</td>\n</tr>\n<tr>\n<td>visitor</td>\n<td>boolean</td>\n<td>false</td>\n<td>Whether to return visitor or employees lessons.  <br />Default: false</td>\n</tr>\n<tr>\n<td>current</td>\n<td>boolean</td>\n<td>false</td>\n<td>Wheter to receive draft or current tasks.</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups","{{groupId}}","tasks"],"host":["{{baseUrl}}"],"query":[{"key":"current","value":"false"},{"description":{"content":"<p>Optional (default=false)</p>\n","type":"text/plain"},"key":"optionalTraining","value":"false"},{"description":{"content":"<p>Optional (default=false)</p>\n","type":"text/plain"},"key":"visitor","value":"false"}],"variable":[]}},"response":[{"id":"4461e14c-62dc-42c3-8a17-2664662a1a5b","name":"Success (loading own draft group tasks)","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{baseUrl}}/groups/{{groupId}}/tasks?current=false&optionalTraining=false&visitor=false","host":["{{baseUrl}}"],"path":["groups","{{groupId}}","tasks"],"query":[{"key":"current","value":"false"},{"key":"optionalTraining","value":"false"},{"key":"visitor","value":"false"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"isInheritedOrderOverridden\": false,\n    \"groupTasks\": [\n        {\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"created\": \"2024-07-11T11:39:24.000Z\",\n            \"groupId\": \"c6974a8c-e4da-4bc7-bab5-d4e360bf03bb\",\n            \"id\": \"d84ce638-f402-4745-8486-dae92a380c93\",\n            \"modified\": \"2024-07-11T11:39:24.000Z\",\n            \"optionalTraining\": false,\n            \"priority\": false,\n            \"settings\": {\n                \"due\": null,\n                \"soonDue\": null,\n                \"taskAssignmentOffset\": {\n                    \"unit\": \"day\",\n                    \"value\": 14\n                },\n                \"employeeTaskAssignmentPolicy\": \"initialAndOnTrainingPeriod\"\n            },\n            \"sortIndex\": 0,\n            \"taskId\": \"e4b68d6d-129b-4676-92a6-308485a0e574\",\n            \"visitor\": false\n        }\n    ],\n    \"inheritedTasks\": []\n}"},{"id":"db1f18ce-58df-4e9d-935c-a915312519fe","name":"Success (loading inherited current group tasks)","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":{"raw":"{{baseUrl}}/groups/{{groupId}}/tasks?current=false&optionalTraining=false&visitor=false","host":["{{baseUrl}}"],"path":["groups","{{groupId}}","tasks"],"query":[{"key":"current","value":"false"},{"key":"optionalTraining","value":"false"},{"key":"visitor","value":"false"}]}},"_postman_previewlanguage":"json","header":[{"key":"Content-Type","value":"application/json","description":""}],"cookie":[],"responseTime":null,"body":"{\n    \"isInheritedOrderOverridden\": false,\n    \"groupTasks\": [],\n    \"inheritedTasks\": [\n        {\n            \"clientId\": \"0780ee88-f802-4a14-8123-099fc0285b29\",\n            \"created\": \"2025-09-19T00:06:25.000Z\",\n            \"groupId\": \"947435fc-6935-460a-af7d-63e523d65872\",\n            \"id\": \"68914195-b8a7-4423-bff2-7ea58382194c\",\n            \"modified\": \"2025-09-19T00:06:25.000Z\",\n            \"optionalTraining\": false,\n            \"priority\": false,\n            \"settings\": {\n                \"due\": {\n                    \"unit\": \"month\",\n                    \"value\": 12\n                },\n                \"soonDue\": {\n                    \"unit\": \"day\",\n                    \"value\": 14\n                },\n                \"taskAssignmentOffset\": {\n                    \"unit\": \"month\",\n                    \"value\": 1\n                },\n                \"employeeTaskAssignmentPolicy\": \"initialAndOnTrainingPeriod\"\n            },\n            \"sortIndex\": 0,\n            \"taskId\": \"6c47e685-4dd0-46b9-b669-9ca40c76da9f\",\n            \"visitor\": false\n        }\n    ]\n}"}],"_postman_id":"6891d133-cb1f-41ce-a2a2-19f74d343e16"}],"id":"0ed4011d-846e-45cc-b28e-1e5a948f63b1","description":"<p>Use this API to retrieve information about the lesson curriculum of a group. A group can have directly assigned group tasks, but it will also inherit lessons from ancestor groups.</p>\n<p>A group task is the assignment of a lesson to a group. Groups have to be published for any changes to take effect.</p>\n<p>By utilizing the parameter <code>current</code> you can decide if you want to retrieve the currently published data set (by passing <code>true</code>) or if you want to retrieve draft changes (by passing <code>false</code>).</p>\n<p>By utilizing the parameter <code>optionalTraining</code> you can decide if you want to retrieve optional tasks (by passing <code>true</code>) or if you want to retrieve mandatory tasks (by passing <code>false</code>). The default is <code>false</code>.</p>\n<p>By utilizing the parameter <code>visitor</code> you can decide if you want to retrieve visitor tasks (by passing <code>true</code>) or if you want to retrieve employee tasks (by passing <code>false</code>). The default is <code>false</code>.</p>\n","_postman_id":"0ed4011d-846e-45cc-b28e-1e5a948f63b1","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Group Versions","item":[{"name":"/group-version/draft","id":"cf283f1a-a753-4447-ada7-9e5227a4716f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/group-version/draft","description":"<p>Fetches the current <strong>draft</strong> version of the group plan.<br />The <code>processStatus</code> describes the state of the last publishing. Only if in status <code>completed</code> a new publishing may be started.</p>\n<h1 id=\"validation-errors\">Validation errors</h1>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>name</strong></th>\n<th><strong>description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>visitorLessonCount</td>\n<td>A visitor may not have more than x lessons (default 3)</td>\n</tr>\n<tr>\n<td>groupVisitorLessonCount</td>\n<td>A visitor group may not have more than x lessons (default 3)</td>\n</tr>\n<tr>\n<td>delay</td>\n<td>Consecutive delays may not be longer than a total of 180 days</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["group-version","draft"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"0caca43a-d310-4665-8222-9823dd4835dc","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/group-version/draft"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 08 Aug 2024 14:21:10 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"218"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"cMYdCiO1liAEJfA="}],"cookie":[],"responseTime":null,"body":"{\n    \"id\": \"3c4d7cd4-85c3-42bf-9ec3-443ca4f9d468\",\n    \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n    \"current\": false,\n    \"published\": \"2024-08-08 13:37:33\",\n    \"draftModified\": \"2024-08-08 14:22:34\",\n    \"processStatus\": \"completed\",\n    \"employeesProcessed\": 0,\n    \"employeesTotal\": 0,\n    \"created\": \"2024-08-05 13:25:00\",\n    \"modified\": \"2024-08-08 14:22:34\",\n    \"lastValidatedAt\": \"2025-12-12T10:15:09.000Z\",\n    \"validationErrors\": [\n       {\n            \"type\": \"visitorLessonCount\",\n            \"employeeId\": \"432a8a91-e9fd-4298-a20e-d6aa08acc51d\",\n            \"groupIds\": [\"259abd4a-33cb-4f8c-b76a-c418678487f1\"],\n            \"lessonCount\": 4\n        },\n        {\n            \"type\": \"groupVisitorLessonCount\",\n            \"lessonCount\": 4\n        },\n        {\n            \"type\": \"delay\",\n            \"groupId\": \"172a8a91-e9fd-4298-a20e-d6aa08acc54e\",\n            \"groupTasks\": [\n                {\n                    \"groupTaskId\": \"259abd4a-33cb-4f8c-b76a-c418678487f1\",\n                    \"delaySeconds\": 7776000,\n                    \"groupTaskGroupId\": \"172a8a91-e9fd-4298-a20e-d6aa08acc54e\"\n                },\n                {\n                    \"groupTaskId\": \"bc8733cd-9433-47d5-ada8-e557168d8982\",\n                    \"delaySeconds\": 7776001,\n                    \"groupTaskGroupId\": \"172a8a91-e9fd-4298-a20e-d6aa08acc54e\"\n                }\n            ],\n            \"visitor\": false,\n            \"totalDelaySeconds\": 15552001\n        }\n    ]\n}"},{"id":"11970308-7b63-4e48-baff-0130b7bab06d","name":"Not found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/group-version/draft"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 08 Aug 2024 14:23:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"cMY1UgTtliAEJJg="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-404\",\n    \"message\": \"Not found\"\n}"}],"_postman_id":"cf283f1a-a753-4447-ada7-9e5227a4716f"},{"name":"/group-version/draft/publish","id":"c918ad7a-6eb1-4f76-9e96-efc4a6bf107f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/group-version/draft/publish","description":"<p>Starts the publishing of all changes made to the draft.<br />Validation errors and publsih status can be fetched by calling <code>GET /group-version/draft</code><br />Most of the processing is done asynchronously, so i.e. assignments might take a while until visible.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["group-version","draft","publish"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"aeba1401-0bf0-4596-80df-e8a24ee56431","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{baseUrl}}/group-version/draft/publish"},"status":"Accepted","code":202,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 08 Aug 2024 14:26:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"20"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"cMZSugx1FiAEJFQ="}],"cookie":[],"responseTime":null,"body":null},{"id":"dd27cb06-3de7-41c1-b1a6-61d2b6b40932","name":"Not modified","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{baseUrl}}/group-version/draft/publish"},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 08 Aug 2024 14:24:16 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"55"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"cMY6jg7UFiAEJhQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-176\",\n    \"message\": \"version not modified\"\n}"},{"id":"6e74bfaa-92d7-4720-aa55-5ba3acdad0c4","name":"Still in Progress","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"url":"{{baseUrl}}/group-version/draft/publish"},"status":"Precondition Failed","code":412,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 08 Aug 2024 14:27:23 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"66"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"cMZXyg_RliAEJaA="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-177\",\n    \"message\": \"publishing is still in progress\"\n}"}],"_postman_id":"c918ad7a-6eb1-4f76-9e96-efc4a6bf107f"}],"id":"14b70b06-985f-420d-95e3-8f0d5acd80a5","description":"<h2 id=\"purpose\">Purpose</h2>\n<p>All changes made to groups (i.e. adding a task) are only applied to the draft. For them to take affect a new version must be published.</p>\n<h2 id=\"workflow\">Workflow</h2>\n<ol>\n<li><p><strong>Make changes</strong> → ...</p>\n</li>\n<li><p><strong>Get current draft</strong> to check for validation errors and process status → <code>GET /group-version/draft</code></p>\n</li>\n<li><p><strong>Publish draft</strong> → <code>POST /group-version/draft/publish</code></p>\n</li>\n</ol>\n","_postman_id":"14b70b06-985f-420d-95e3-8f0d5acd80a5","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"/groups","id":"8994bc07-d856-4a1d-801d-785d945cc731","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups?limit=100&offset=0","description":"<p>Retrieve a paginated list of groups.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups"],"host":["{{baseUrl}}"],"query":[{"description":{"content":"<p>Maximum of groups to load per page. Hard limit: 100</p>\n","type":"text/plain"},"key":"limit","value":"100"},{"description":{"content":"<p>Offset to load further pages</p>\n","type":"text/plain"},"key":"offset","value":"0"}],"variable":[]}},"response":[{"id":"f00b1f96-7135-471b-8cdd-d5b3108ef709","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 07:55:43 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"434"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"avNvmiTbFiAEMjQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"childGroupCount\": 1,\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"created\": \"2024-07-10T13:52:49.000Z\",\n            \"employeeCountInPath\": 1,\n            \"id\": \"194f76d0-25d2-45b6-8b43-955727959c3b\",\n            \"level\": 1,\n            \"mediaHref\": \"{{baseUrl}}/files/3f79c65f-cb82-4182-b5fe-fca5f98d30b7/cef4de77-126c-4e41-9cb2-fef34166ea9c/Bildschirmfoto_2024-07-24_um_14.44.15.webp\",\n            \"mediaId\": \"cef4de77-126c-4e41-9cb2-fef34166ea9c\",\n            \"modified\": \"2024-07-10T14:05:30.000Z\",\n            \"name\": \"main 2\",\n            \"parentId\": null,\n            \"path\": \"194f76d0-25d2-45b6-8b43-955727959c3b\",\n            \"settings\": {\n                \"period\": null,\n                \"dynamicAssignment\": null,\n                \"dynamicUserAssignment\": null,\n                \"employeeMatchingRules\": null,\n                \"userMatchingRules\": null,\n                \"visitorPeriod\": null,\n                \"visitorQrCodeSettings\": null\n             },\n            \"sortIndex\": 0,\n            \"taskCountInPath\": 2,\n            \"userIds\": []\n        },\n        {\n            \"childGroupCount\": 1,\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"created\": \"2024-07-10T13:53:43.000Z\",\n            \"employeeCountInPath\": 1,\n            \"id\": \"4de54b2d-eeef-488f-a650-83c0d50353a4\",\n            \"level\": 2,\n            \"mediaHref\": \"{{baseUrl}}/files/3f79c65f-cb82-4182-b5fe-fca5f98d30b7/cef4de77-126c-4e41-9cb2-fef34166ea9c/Bildschirmfoto_2024-07-24_um_14.44.15.webp\",\n            \"mediaId\": \"cef4de77-126c-4e41-9cb2-fef34166ea9c\",\n            \"modified\": \"2024-07-10T14:07:33.000Z\",\n            \"name\": \"second\",\n            \"parentId\": \"9dd71620-3317-4c93-ad9c-eb1168f62ec2\",\n            \"path\": \"9dd71620-3317-4c93-ad9c-eb1168f62ec2/4de54b2d-eeef-488f-a650-83c0d50353a4\",\n            \"settings\": {\n                \"period\": null,\n                \"dynamicAssignment\": null,\n                \"dynamicUserAssignment\": null,\n                \"employeeMatchingRules\": null,\n                \"userMatchingRules\": null,                \n                \"visitorPeriod\": null,\n                \"visitorQrCodeSettings\": null\n            },\n            \"sortIndex\": 0,\n            \"taskCountInPath\": 2,\n            \"userIds\": []\n        },\n        {\n            \"childGroupCount\": 0,\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"created\": \"2024-07-10T13:54:24.000Z\",\n            \"employeeCountInPath\": 1,\n            \"id\": \"6b143ee8-aba1-4f01-86f7-7a84bc424a8d\",\n            \"level\": 3,\n            \"mediaHref\": null,\n            \"mediaId\": null,\n            \"modified\": \"2024-07-10T14:07:33.000Z\",\n            \"name\": \"third\",\n            \"parentId\": \"4de54b2d-eeef-488f-a650-83c0d50353a4\",\n            \"path\": \"9dd71620-3317-4c93-ad9c-eb1168f62ec2/4de54b2d-eeef-488f-a650-83c0d50353a4/6b143ee8-aba1-4f01-86f7-7a84bc424a8d\",\n            \"settings\": {\n                \"period\": null,\n                \"dynamicAssignment\": null,\n                \"dynamicUserAssignment\": null,\n                \"employeeMatchingRules\": null,\n                \"userMatchingRules\": null,\n                \"visitorPeriod\": null,\n                \"visitorQrCodeSettings\": {\n                    \"active\": false,\n                    \"fields\": {\n                        \"email\": false\n                    },\n                    \"removeVisitorsOnScan\": true\n                }\n            },\n            \"sortIndex\": 0,\n            \"taskCountInPath\": 2,\n            \"userIds\": []\n        },\n        {\n            \"childGroupCount\": 0,\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"created\": \"2024-07-10T13:52:32.000Z\",\n            \"employeeCountInPath\": 1,\n            \"id\": \"9dd71620-3317-4c93-ad9c-eb1168f62ec2\",\n            \"level\": 1,\n            \"mediaHref\": null,\n            \"mediaId\": null,\n            \"modified\": \"2024-07-10T14:05:46.000Z\",\n            \"name\": \"main 1\",\n            \"parentId\": null,\n            \"path\": \"9dd71620-3317-4c93-ad9c-eb1168f62ec2\",\n            \"settings\": {\n                \"period\": null,\n                \"dynamicAssignment\": null,\n                \"dynamicUserAssignment\": null,\n                \"employeeMatchingRules\": null,\n                \"userMatchingRules\": null,\n                \"visitorPeriod\": null,\n                \"visitorQrCodeSettings\": {\n                    \"active\": false,\n                    \"fields\": {\n                        \"email\": false\n                    },\n                    \"removeVisitorsOnScan\": true\n                }\n            },\n            \"sortIndex\": 1,\n            \"taskCountInPath\": 2,\n            \"userIds\": []\n        }\n    ],\n    \"total\": 4\n}"}],"_postman_id":"8994bc07-d856-4a1d-801d-785d945cc731"},{"name":"/groups/{id}","id":"83b45722-8579-415e-b699-3c29e33efde6","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups/{{groupId}}","description":"<p>Retrieve a specific group by providing a <code>groupId</code> as primary key.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups","{{groupId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"214ff05c-52f8-4a50-876b-c70dcc771a0c","name":"Success","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups/{{groupId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 11:41:32 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"228"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"avu0-j70FiAEM0g="}],"cookie":[],"responseTime":null,"body":"{\n    \"childGroupCount\": 1,\n    \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n    \"created\": \"2024-07-11T11:39:20.000Z\",\n    \"employeeCountInPath\": 1,\n    \"id\": \"c6974a8c-e4da-4bc7-bab5-d4e360bf03bb\",\n    \"level\": 1,\n    \"mediaHref\": null,\n    \"mediaId\": null,\n    \"modified\": \"2024-07-11T11:39:20.000Z\",\n    \"name\": \"Tools\",\n    \"parentId\": null,\n    \"path\": \"c6974a8c-e4da-4bc7-bab5-d4e360bf03bb\",\n    \"settings\": {\n        \"period\": null,\n        \"dynamicAssignment\": null,\n        \"dynamicUserAssignment\": null,\n        \"employeeMatchingRules\": null,\n        \"userMatchingRules\": null,\n        \"visitorPeriod\": null,\n        \"visitorQrCodeSettings\": {\n            \"active\": false,\n            \"fields\": {\n                \"email\": false\n            },\n            \"removeVisitorsOnScan\": true\n        }\n     },\n    \"sortIndex\": 0,\n    \"taskCountInPath\": 2,\n    \"userIds\": []\n}"},{"id":"8b091b69-950b-40bb-83ae-4e4a1f12a4a7","name":"Not Found","originalRequest":{"method":"GET","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups/{{groupId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 07:56:51 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"avN6cjdoliAEMEw="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-404\",\n    \"message\": \"Not found\"\n}"}],"_postman_id":"83b45722-8579-415e-b699-3c29e33efde6"},{"name":"/groups","event":[{"listen":"test","script":{"id":"383351cf-38f6-4fb0-9aca-2d8ce2d68c88","exec":["const { id } = pm.response.json();","","if (id) {","    pm.environment.set(\"groupId\", id);","}"],"type":"text/javascript","packages":{}}}],"id":"09905fa4-2b26-4a73-93a0-dc03f7c141b1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Baby\",\n    \"mediaId\": \"{{mediaId}}\",\n    \"parentId\": \"\",\n    \"settings\": {\n        \"period\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"dynamicAssignment\": {\n            \"custom1\": \"123\",\n            \"custom2\": \"abc\",\n            \"custom3\": \"xyz\"\n        }, // or null\n        \"dynamicUserAssignment\": {\n            \"custom1\": \"123\",\n            \"custom2\": \"abc\",\n            \"custom3\": \"xyz\"\n        }, // or null,\n        \"employeeMatchingRules\": [\n            {\n                \"conditions\": [\n                    {\n                        \"field\": \"custom1\",\n                        \"operator\": \"eq\",\n                        \"value\": \"new-auto1\"\n                    },\n                    {\n                        \"field\": \"custom2\",\n                        \"operator\": \"eq\",\n                        \"value\": \"new-auto2\"\n                    }\n                ]\n            },\n            {\n                \"conditions\": [\n                    {\n                        \"field\": \"custom3\",\n                        \"operator\": \"in\",\n                        \"value\": [\"new-auto3\", \"old-auto3\"]\n                    }\n                ]\n            }\n        ],\n        \"userMatchingRules\": null,\n        \"visitorPeriod\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"visitorQrCodeSettings\": {\n            \"active\": false,\n            \"fields\": {\n                \"email\": false,\n                \"phone\": true\n            },\n            \"removeVisitorsOnScan\": false\n        }\n    },\n    \"sortIndex\": 0,\n    \"userIds\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups","description":"<p>Create a new group. The group created is returned including its <code>id</code> field to identify it for further processing.</p>\n<p>Use fields <code>sortIndex</code> and <code>parentId</code> to place the new group in the group structure.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"a2eedbe3-87c4-4689-b8d3-f20e1e42cd37","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Industrial\",\n    \"mediaId\": null,\n    \"settings\": {\n        \"period\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"dynamicAssignment\": null,\n        \"dynamicUserAssignment\": null,\n        \"employeeMatchingRules\": null,\n        \"userMatchingRules\": null,\n        \"visitorQrCodeSettings\": null\n    },\n    \"sortIndex\": 0,\n    \"userIds\": []\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 15:36:47 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"242"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"awRSOgoIliAEJyA="}],"cookie":[],"responseTime":null,"body":"{\n    \"childGroupCount\": 1,\n    \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n    \"created\": \"2024-07-11T15:36:46.065Z\",\n    \"employeeCountInPath\": 1,\n    \"id\": \"08b1b0df-8445-40f8-8478-ae73ef61acbb\",\n    \"level\": 1,\n    \"mediaId\": null,\n    \"mediaHref\": null,\n    \"modified\": \"2024-07-11T15:36:46.883Z\",\n    \"name\": \"Sales\",\n    \"path\": \"08b1b0df-8445-40f8-8478-ae73ef61acbb\",\n    \"settings\": {\n        \"period\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"dynamicAssignment\": null,\n        \"dynamicUserAssignment\": null,\n        \"employeeMatchingRules\": null,\n        \"userMatchingRules\": null,\n        \"visitorPeriod\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"visitorQrCodeSettings\": null\n    },\n    \"sortIndex\": 0,\n    \"taskCountInPath\": 2,\n    \"userIds\": []\n}"}],"_postman_id":"09905fa4-2b26-4a73-93a0-dc03f7c141b1"},{"name":"/groups/{id}","id":"c8db1407-dde9-4d0d-8386-d787ff03ee7f","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Automotive\",\n    \"mediaId\": \"{{mediaId}}\",\n    \"settings\": {\n        \"period\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"dynamicAssignment\": null,\n        \"dynamicUserAssignment\": null,\n        \"employeeMatchingRules\": null,\n        \"userMatchingRules\": null,\n        \"visitorPeriod\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"visitorQrCodeSettings\": {\n            \"active\": false,\n            \"fields\": {\n                \"email\": false\n            },\n            \"removeVisitorsOnScan\": true\n        }\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}","description":"<p>Update an existing group, referecing it by <code>groupId</code> as path parameter. You do not have to provide all fields; only fields you provide will be updated.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups","{{groupId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"9d5b11f0-5498-43e0-b69f-ef333d1b7c05","name":"Success","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Health\",\n    \"mediaId\": \"{{mediaId}}\",\n    \"settings\": {\n        \"period\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"dynamicAssignment\": null,\n        \"dynamicUserAssignment\": null,\n        \"employeeMatchingRules\": null,\n        \"userMatchingRules\": null\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 11:31:09 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"235"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"avtTfiBAliAEMJQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"childGroupCount\": 1,\n    \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n    \"created\": \"2024-07-11T11:30:51.000Z\",\n    \"employeeCountInPath\": 1,\n    \"id\": \"82631bd3-534a-4f42-a940-83f486ce2cfb\",\n    \"level\": 1,\n    \"mediaHref\": \"{{baseUrl}}/files/3f79c65f-cb82-4182-b5fe-fca5f98d30b7/cef4de77-126c-4e41-9cb2-fef34166ea9c/Bildschirmfoto_2024-07-24_um_14.44.15.webp\",\n    \"mediaId\": \"cef4de77-126c-4e41-9cb2-fef34166ea9c\",\n    \"modified\": \"2024-07-11T11:31:07.000Z\",\n    \"name\": \"Beauty\",\n    \"parentId\": null,\n    \"path\": \"82631bd3-534a-4f42-a940-83f486ce2cfb\",\n    \"settings\": {\n        \"period\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"dynamicAssignment\": null,\n        \"dynamicUserAssignment\": null,\n        \"employeeMatchingRules\": null,\n        \"visitorPeriod\": {\n            \"start\": \"31-01\",\n            \"end\": \"13-04\"\n        },\n        \"userMatchingRules\": null\n    },\n    \"sortIndex\": 0,\n    \"taskCountInPath\": 2,\n    \"userIds\": []\n}"},{"id":"123ddde8-50d2-4497-88c0-7d29e2de0caf","name":"Not Found","originalRequest":{"method":"PATCH","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"name\": \"Sports\"\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/{{groupId}}"},"status":"Not Found","code":404,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 11:41:46 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"44"},{"key":"Connection","value":"keep-alive"},{"key":"Apigw-Requestid","value":"avu3KgCFFiAEMxQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"errorCode\": \"E4-404\",\n    \"message\": \"Not found\"\n}"}],"_postman_id":"c8db1407-dde9-4d0d-8386-d787ff03ee7f"},{"name":"/groups/{id}","id":"7a1af021-375b-4013-85ec-05a35b4daa09","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups/{{groupId}}","description":"<p>Delete an existing group referenced by <code>groupId</code> path parameter.</p>\n<p>The group must be empty (no employees assigned) and it may not have child groups referencing it as <code>parentId</code>.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups","{{groupId}}"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"441ffb14-d481-414a-9950-fddc2ae359e5","name":"Success","originalRequest":{"method":"DELETE","header":[{"key":"Authorization","value":"{{token}}"}],"url":"{{baseUrl}}/groups/{{groupId}}"},"status":"No Content","code":204,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 11:32:28 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"avtf-gUtliAEMUA="}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"7a1af021-375b-4013-85ec-05a35b4daa09"},{"name":"/groups/search","id":"dcd51729-ed01-4bb8-8dac-4ace1cdd22c1","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"current\": true, \n    \"filterBy\": {\n        \"name\": \"second\",\n        \"levels\": [1,2,3],\n        \"parentIds\": [\"9dd71620-3317-4c93-ad9c-eb1168f62ec2\"]\n    },\n    \"searchTerm\": \"My group\",\n    \"responseFields\": [\"groups.*\"],\n    \"sortBy\": {\n        \"direction\": \"asc\",\n        \"field\": \"name\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/search","description":"<p>Searches for groups based on provided filters and search criteria.</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filterBy</td>\n<td>object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>limit</td>\n<td>number</td>\n<td>false</td>\n<td>Must be a number between 1 and 100; Default 100</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>searchTerm</td>\n<td>string</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>sortBy</td>\n<td>object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>responseFields</td>\n<td>array</td>\n<td>false</td>\n<td>\"groups.*\" (required)  <br />\"employees\" (assigned employeeIds)  <br />\"groupCounts.*\" (due and soon due counts)</td>\n</tr>\n<tr>\n<td>current</td>\n<td>boolean</td>\n<td>false</td>\n<td>false = draft version  <br />true = published version</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"filterby-parameters\"><strong>FilterBy Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>custom1</td>\n<td>string</td>\n<td>false</td>\n<td>Custom field 1 for group filtering</td>\n</tr>\n<tr>\n<td>custom2</td>\n<td>string</td>\n<td>false</td>\n<td>Custom field 2 for group filtering</td>\n</tr>\n<tr>\n<td>custom3</td>\n<td>string</td>\n<td>false</td>\n<td>Custom field 3 for group filtering</td>\n</tr>\n<tr>\n<td>dynamicAssignment</td>\n<td>boolean</td>\n<td>false</td>\n<td>SOON DEPRECATED: Filter groups with dynamic assignment status</td>\n</tr>\n<tr>\n<td>dynamicUserAssignment</td>\n<td>boolean</td>\n<td>false</td>\n<td>SOON DEPRECATED: Filter groups with dynamic user assignment status</td>\n</tr>\n<tr>\n<td>employeeMatchingRules</td>\n<td>boolean</td>\n<td>false</td>\n<td>Filter groups with employee matching rules</td>\n</tr>\n<tr>\n<td>ids</td>\n<td>array</td>\n<td>false</td>\n<td>An array of group ids</td>\n</tr>\n<tr>\n<td>levels</td>\n<td>array</td>\n<td>false</td>\n<td>An array of group hierarchy levels</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>false</td>\n<td>Filter groups by name</td>\n</tr>\n<tr>\n<td>parentIds</td>\n<td>array</td>\n<td>false</td>\n<td>An array of parent group ids</td>\n</tr>\n<tr>\n<td>paths</td>\n<td>array</td>\n<td>false</td>\n<td>An array of group hierarchy paths</td>\n</tr>\n<tr>\n<td>userIds</td>\n<td>array</td>\n<td>false</td>\n<td>An array of user ids</td>\n</tr>\n<tr>\n<td>userMatchingRules</td>\n<td>boolean</td>\n<td>false</td>\n<td>Filter groups with user matching rules</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sortby-parameters\"><strong>SortBy Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>direction</td>\n<td>string</td>\n<td>true</td>\n<td>Valid values: asc, desc</td>\n</tr>\n<tr>\n<td>field</td>\n<td>string</td>\n<td>true</td>\n<td>Valid values: \"level\"</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["groups","search"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"f1f8c181-ba4d-48c9-baff-2ef95ce7aaad","name":"Success","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"filterBy\": {\n        \"name\": \"second\",\n        \"levels\": [1,2,3],\n        \"parentIds\": [\"9dd71620-3317-4c93-ad9c-eb1168f62ec2\"]\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/groups/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 11 Jul 2024 15:32:31 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"292"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"awQqLik3liAEJxQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"childGroupCount\": 0,\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"created\": \"2024-07-10T13:53:43.000Z\",\n            \"employeeCountInPath\": 1,\n            \"id\": \"4de54b2d-eeef-488f-a650-83c0d50353a4\",\n            \"level\": 2,\n            \"mediaHref\": \"{{baseUrl}}/files/3f79c65f-cb82-4182-b5fe-fca5f98d30b7/cef4de77-126c-4e41-9cb2-fef34166ea9c/Bildschirmfoto_2024-07-24_um_14.44.15.webp\",\n            \"mediaId\": \"cef4de77-126c-4e41-9cb2-fef34166ea9c\",\n            \"modified\": \"2024-07-11T11:39:21.000Z\",\n            \"name\": \"second\",\n            \"parentId\": \"9dd71620-3317-4c93-ad9c-eb1168f62ec2\",\n            \"path\": \"9dd71620-3317-4c93-ad9c-eb1168f62ec2/4de54b2d-eeef-488f-a650-83c0d50353a4\",\n            \"settings\": {\n                \"period\": null,\n                \"dynamicAssignment\": null,\n                \"dynamicUserAssignment\": null,\n                \"employeeMatchingRules\": null,\n                \"userMatchingRules\": null,\n                \"visitorPeriod\": null,\n                \"visitorQrCodeSettings\": {\n                    \"active\": false,\n                    \"fields\": {\n                        \"email\": false\n                    },\n                    \"removeVisitorsOnScan\": true\n                }\n            },\n            \"sortIndex\": 4,\n            \"taskCountInPath\": 2,\n            \"userIds\": []\n        }\n    ],\n    \"total\": 1\n}"}],"_postman_id":"dcd51729-ed01-4bb8-8dac-4ace1cdd22c1"}],"id":"9df56376-9f1d-412f-82a0-21db476c2a8b","description":"<p>If you want to break down large structures of trainings for your employees you can use groups.</p>\n<p>A group is a collection of employees that share the same training settings, be it the list of trainings to do, the duration until a certificate becomes due or the training period to do any trainings.</p>\n<p>Via this API you are able to create groups and update a group's settings. You can retrieve groups and you can also delete groups (restrictions apply).</p>\n<p>Use the Group Employee Assignment API to assign employees to managed groups that do not utilize the dynamic assignment feature.</p>\n<h3 id=\"attention-publishing-groups-needed\">Attention: Publishing groups needed</h3>\n<p>Any change you make is a change in draft. A set of changes can be reviewed and published together in the manager application. Changes will take effect only when published!</p>\n<h2 id=\"data-fields\">Data Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>id</td>\n<td>GUID</td>\n<td>The primary key to identify and reference any group in our API</td>\n</tr>\n<tr>\n<td>name</td>\n<td>string</td>\n<td>Display name of the group (not localized)</td>\n</tr>\n<tr>\n<td>parentId</td>\n<td>GUID</td>\n<td>The id of the parent group. Using this field we are able to create a tree structure with inheritence. A parentId of <code>null</code> means this is a root group.  <br />  <br />Attention: There can only ever be a single root group!</td>\n</tr>\n<tr>\n<td>sortIndex</td>\n<td>integer (max: 32767)</td>\n<td>The position within a list of siblings of groups. Used to display the tree of groups in our manager application</td>\n</tr>\n<tr>\n<td>userIds</td>\n<td>string[]</td>\n<td>List of ids of manager user ids that are assigned to this group. Manager users assigned to a group may only see employees in their assigned groups or child groups</td>\n</tr>\n<tr>\n<td>mediaId</td>\n<td>GUID</td>\n<td>Media id of the image displayed in the group tree in our manager application. Media must be uploaded separately.</td>\n</tr>\n<tr>\n<td>settings</td>\n<td>object::GroupSettings</td>\n<td>Nested object of settings that apply to this group. See type definition below.</td>\n</tr>\n<tr>\n<td></td>\n<td></td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"type-groupsettings\">Type: GroupSettings</h3>\n<p>A group will be managed using the following settings.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th>Type</th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>period</td>\n<td>object::Period</td>\n<td>The trainings period for this groups employees. If not set (value: <code>null</code>), it will inherit the trainings period of the parent group. See type definition below.</td>\n</tr>\n<tr>\n<td>dynamicAssignment</td>\n<td>object::DynamicAssignmentConfiguration</td>\n<td>Rules for automatic employee matching to this group. If this value is not <code>null</code>, this group is considered a dynamic assignment group for employees. See type definition below. Will soon be replaced with employeeMatchingRules</td>\n</tr>\n<tr>\n<td>dynamicUserAssignment</td>\n<td>object::DynamicAssignmentConfiguration</td>\n<td>Rules for automatic user matching to this group. If this value is not <code>null</code>, this group is considered a dynamic assignment group for users. See type definition below. Will soon be replaced with userMatchingRules</td>\n</tr>\n<tr>\n<td>employeeMatchingRules</td>\n<td>array::MatchingRule</td>\n<td>Matching rules for automatic employee matching. Rules are always connected by OR, while conditions of each rules are connected by AND</td>\n</tr>\n<tr>\n<td>userMatchingRules</td>\n<td>array::MatchingRule</td>\n<td>Matching rules for automatic user matching. Rules are always connected by OR, while conditions of each rules are connected by AND</td>\n</tr>\n<tr>\n<td>visitorPeriod</td>\n<td>object::Period</td>\n<td>The trainings period for this groups visitors. If not set (value: <code>null</code>), it will inherit the trainings period of the parent group. See type definition below.</td>\n</tr>\n<tr>\n<td>visitorQrCodeSettings</td>\n<td>object::VisitorQrCodeSettings</td>\n<td>Rules for visitor qr code settings. See type definition below.</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"type-period\">Type: Period</h3>\n<p>You can set a trainings period for this group that will be inherited by any child groups not defininig their own trainings periods.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th>Type</th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>start</td>\n<td>string</td>\n<td>Representation of start date of the trainigs period each year. Format: <code>{dd}-{mm}</code>  <br />  <br />Example: <code>20-02</code> for February 20th</td>\n</tr>\n<tr>\n<td>end</td>\n<td>string</td>\n<td>Representation of end date of the trainigs period each year. Format: <code>{dd}-{mm}</code>  <br />  <br />Example: <code>07-11</code> for November 7th</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"type-dynamicassignmentconfiguration\">Type: DynamicAssignmentConfiguration</h3>\n<p>We support automatic assignment of employees and users to groups. Assignment will be checked any time custom fields of an employee/user change or when dynamic assignment configuration of a group changes.</p>\n<p>A group using dynamic assignment cannot get employees assigned or removed directly.</p>\n<p>To make an dynamic group managed manually, set value of <code>null</code> for the dynamic assingment parameter in GroupSettings.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th>Type</th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>custom1</td>\n<td>string</td>\n<td>Value for matching custom1</td>\n</tr>\n<tr>\n<td>custom2</td>\n<td>string</td>\n<td>Value for matching custom2</td>\n</tr>\n<tr>\n<td>custom3</td>\n<td>string</td>\n<td>Value for matching custom3</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"type-matchingrule\">Type: MatchingRule</h3>\n<p>We support automatic assignment of employees and users to groups. Assignment will be checked any time custom fields of an employee/user change or when matching rules of a group change.</p>\n<p>A group using matching rules cannot get employees assigned or removed directly.</p>\n<p>To make an automatic group managed manually, set value of <code>null</code> for the corresponding matching rules parameter in GroupSettings.</p>\n<p>Rules will always be connected by OR operator.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th>Type</th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>conditions</td>\n<td>array::Condition</td>\n<td>List of conditions to match to evaluate this rule to TRUE</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"type-condition\">Type: Condition</h3>\n<p>Conditions within the same rule will always be connected by AND operator.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th>Type</th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>field</td>\n<td>string</td>\n<td>Name of the custom field to match (currently, only <code>custom1</code> , <code>custom2</code>, and <code>custom3</code> are available.</td>\n</tr>\n<tr>\n<td>operator</td>\n<td>string</td>\n<td>Must be one of the implemented operators:  <br />- eq: must equal a specific value  <br />- ne: must not equal a specific value  <br />- in: must equal one of the values in the value array  <br />- notin: must not equal all of the values in the value array</td>\n</tr>\n<tr>\n<td>value</td>\n<td>string</td>\n<td>array::string</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"type-visitorqrcodesettings\">Type: VisitorQrCodeSettings</h3>\n<p>Visitor QR code settings define the visitor flow when scanning the QR code and joining the group.</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th>Type</th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Whether the qr code is activated or disabled.  <br />Default: false</td>\n</tr>\n<tr>\n<td>fields</td>\n<td>object</td>\n<td>Fields a visitor must fill out when registering. See type definition below.</td>\n</tr>\n<tr>\n<td>removeVisitorsOnScan</td>\n<td>boolean</td>\n<td>Whether the visitor is removed from other groups when scanning the QR code.  <br />Default: true</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"type-selfserviceconfigfieldnames\">Type: SelfServiceConfigFieldNames</h3>\n<p>The self service config defines which fields a visitor must fill out in order to register.<br />At least one of email or phone must be set true (required).</p>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th>Type</th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>email</td>\n<td>boolean</td>\n<td>If not set (undefined) the visitor will not need to provide an email.  <br />If true the email is a required field.  <br />Default: false</td>\n</tr>\n<tr>\n<td>phone</td>\n<td>boolean</td>\n<td>If not set (undefined) the visitor will not need to provide a phone number.  <br />If true the phone number is a required field.  <br />Default undefined</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"9df56376-9f1d-412f-82a0-21db476c2a8b","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Lessons API","item":[{"name":"/lessons/search","id":"b77760ff-b674-4371-9836-59491f3c3b1b","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"searchTerm\": \"My Lesson\",\n    \"filters\": {\n         \"active\": true,\n         \"ids\": [],\n         \"modifiedSince\": \"2025-05-05\",\n         \"draft\": false \n      },\n    \"sortBy\": {\n        \"direction\": \"asc | desc\",\n        \"field\": \"created | modified\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/lessons/search","description":"<p>Endpoint to search for lessons</p>\n<h2 id=\"request-parameters\">Request Parameters</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>filterBy</td>\n<td>object</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>limit</td>\n<td>number</td>\n<td>false</td>\n<td>Must be a number between 1 and 100; Default 100</td>\n</tr>\n<tr>\n<td>offset</td>\n<td>number</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>searchTerm</td>\n<td>string</td>\n<td>false</td>\n<td></td>\n</tr>\n<tr>\n<td>sortBy</td>\n<td>object</td>\n<td>false</td>\n<td></td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"filterby-parameters\"><strong>FilterBy Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Required</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>false</td>\n<td>Filter lessons by active status</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>boolean</td>\n<td>false</td>\n<td>Filter lessons by archived status</td>\n</tr>\n<tr>\n<td>draft</td>\n<td>boolean</td>\n<td>false</td>\n<td>Filter lessons by draft status</td>\n</tr>\n<tr>\n<td>ids</td>\n<td>array</td>\n<td>false</td>\n<td>An array of lesson ids</td>\n</tr>\n<tr>\n<td>isAssignedLecturer</td>\n<td>boolean</td>\n<td>false</td>\n<td>Only applicable to in-person-lesson. Filter lessons where the user is assigned as a lecturer</td>\n</tr>\n<tr>\n<td>master</td>\n<td>boolean</td>\n<td>false</td>\n<td>Filter master lessons from the Doinstruct library</td>\n</tr>\n<tr>\n<td>modifiedSince</td>\n<td>string</td>\n<td>false</td>\n<td>Filter lessons modified since a specific date (ISO date string)</td>\n</tr>\n<tr>\n<td>taskType</td>\n<td>string</td>\n<td>false</td>\n<td>Filter by task type. Must be either \"in-person-lesson\" or \"lesson\"</td>\n</tr>\n</tbody>\n</table>\n</div><h3 id=\"sortby-parameters\"><strong>SortBy Parameters</strong></h3>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th><strong>Name</strong></th>\n<th><strong>Type</strong></th>\n<th><strong>Required</strong></th>\n<th><strong>Description</strong></th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>direction</td>\n<td>string</td>\n<td>true</td>\n<td>Valid values: asc, desc</td>\n</tr>\n<tr>\n<td>field</td>\n<td>string</td>\n<td>true</td>\n<td>Valid values: created, modified</td>\n</tr>\n</tbody>\n</table>\n</div>","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"path":["lessons","search"],"host":["{{baseUrl}}"],"query":[],"variable":[]}},"response":[{"id":"2aa244d4-5c24-4f8c-8e8f-1d7837526bc7","name":"/lessons/search","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"searchTerm\": \"title\",\n    \"filters\": {\n        \"master\": false,\n        \"ids\": [\"597a6837-0542-42dd-9872-f5c2a11db50e\"]\n    },\n    \"sortBy\": {\n        \"direction\": \"asc\",\n        \"field\": \"created\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/lessons/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 May 2023 11:34:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"447"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"FeglZipAFiAEMGQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"active\": true,\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"clientRef\": \"clientRef222\",\n            \"comment\": \"Comment of the version (deprecated)\",\n            \"contents\": [\n                {\n                    \"id\": \"5a43b00a-7e15-4bfe-92d3-e6e1d6f97f2c\",\n                    \"taskType\": \"video\",\n                    \"sortIndex\": 0,\n                    \"contentTranslations\": [\n                        {\n                            \"id\": \"480de8a7-2e63-4c1e-8cf1-83b48b076b4c\",\n                            \"media\": [\n                                {\n                                    \"href\": \"{{baseUrl}}/files/3f79c65f-cb82-4182-b5fe-fca5f98d30b7/c88f1de7-ee7a-41d5-94dc-5d024a46016e/hls/doinstruct.m3u8\",\n                                    \"sortIndex\": 0,\n                                    \"contentMediaType\": \"poster\"\n                                },\n                                {\n                                    \"href\": \"{{baseUrl}}/files/3f79c65f-cb82-4182-b5fe-fca5f98d30b7/c88f1de7-ee7a-41d5-94dc-5d024a46016e/hls/doinstruct.m3u8\",\n                                    \"sortIndex\": 0,\n                                    \"contentMediaType\": \"video\"\n                                }\n                            ],\n                            \"title\": \"unde-expedita-omnis\",\n                            \"language\": \"en\",\n                            \"description\": \"Iusto quia neque laborum laboriosam excepturi quisquam.\"\n                        },\n                        {\n                            \"id\": \"b735bff5-4b4a-42e8-a4fd-d2901b36c4d2\",\n                            \"media\": [\n                                {\n                                    \"href\": \"{{baseurl}}/files/3f79c65f-cb82-4182-b5fe-fca5f98d30b7/c88f1de7-ee7a-41d5-94dc-5d024a46016e/hls/doinstruct.m3u8\",\n                                    \"sortIndex\": 0,\n                                    \"contentMediaType\": \"poster\"\n                                },\n                                {\n                                    \"href\": \"{{baseUrl}}/files/3f79c65f-cb82-4182-b5fe-fca5f98d30b7/c88f1de7-ee7a-41d5-94dc-5d024a46016e/hls/doinstruct.m3u8\",\n                                    \"sortIndex\": 0,\n                                    \"contentMediaType\": \"video\"\n                                }\n                            ],\n                            \"title\": \"in-numquam-vero\",\n                            \"language\": \"de\",\n                            \"description\": \"Earum explicabo dicta assumenda illo ipsam non in quis.\"\n                        }\n                    ]\n                },\n                {\n                    \"id\": \"7b381bbc-6c6b-403f-a981-219c323d95a8\",\n                    \"taskType\": \"quiz\",\n                    \"sortIndex\": 1,\n                    \"contentTranslations\": null\n                }\n            ],\n            \"created\": \"2023-07-17T10:33:55.000Z\",\n            \"doinstructMediaCode\": null,\n            \"duration\": {\n                \"value\": 5,\n                \"unit\": \"minutes\"\n            },\n            \"externalComment\": \"Comment for the published version\",\n            \"id\": \"62dc64f9-9f54-4d35-8588-52b32fb51f3f\",\n            \"info\": \"ut-et-quis\",\n            \"languages\": [\n                \"de\",\n                \"en\"\n            ],\n            \"lessonVersionId\": \"bd0cfc08-11fc-4e81-83c3-3d068c7f2f86\",\n            \"master\": true,\n            \"modified\": \"2023-07-17T10:58:30.000Z\",\n            \"numberOfModules\": 1,\n            \"taskType\": \"lesson\",\n            \"translations\": [\n                {\n                    \"id\": \"2292029f-17a8-4d6e-b132-58abcf16a8df\",\n                    \"title\": \"Titel (de)\",\n                    \"created\": \"2023-07-17T08:34:49.000Z\",\n                    \"language\": \"de\",\n                    \"description\": \"Beschreibung\"\n                },\n                {\n                    \"id\": \"f6b0ae01-72de-476c-bab6-5421b2347693\",\n                    \"title\": \"title (en)\",\n                    \"created\": \"2023-07-17T08:35:11.000Z\",\n                    \"language\": \"en\",\n                    \"description\": \"Description\"\n                }\n            ],\n            \"href\": \"{{baseUrl}}/lessons/62dc64f9-9f54-4d35-8588-52b32fb51f3f\",\n            \"verticalIds\": [\"1f429b2a-91d8-4746-bfba-948c73fa5281\"]\n        }\n    ],\n    \"total\": 1\n}"},{"id":"066d7389-85ec-43ab-a1c0-1e7d608efeb1","name":"/lessons/search (in-person)","originalRequest":{"method":"POST","header":[{"key":"Authorization","value":"{{token}}"},{"key":"Content-Type","value":"application/json"}],"body":{"mode":"raw","raw":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"searchTerm\": \"In person lesson\",\n    \"filters\": {\n        \"draft\": true,\n        \"taskType\": \"in-person-lesson\"\n    },\n    \"sortBy\": {\n        \"direction\": \"asc\",\n        \"field\": \"created\"\n    }\n}","options":{"raw":{"language":"json"}}},"url":"{{baseUrl}}/lessons/search"},"status":"OK","code":200,"_postman_previewlanguage":"json","header":[{"key":"Date","value":"Thu, 25 May 2023 11:34:21 GMT"},{"key":"Content-Type","value":"application/json"},{"key":"Content-Length","value":"447"},{"key":"Connection","value":"keep-alive"},{"key":"content-encoding","value":"gzip"},{"key":"Apigw-Requestid","value":"FeglZipAFiAEMGQ="}],"cookie":[],"responseTime":null,"body":"{\n    \"limit\": 100,\n    \"offset\": 0,\n    \"rows\": [\n        {\n            \"active\": true,\n            \"archived\": null,\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"clientRef\": null,\n            \"created\": \"2025-04-09T06:35:01.000Z\",\n            \"comment\": \"Comment of the version (deprecated)\",\n            \"currentVersion\": false,\n            \"doinstructMediaCode\": null,\n            \"duration\": {\n                \"unit\": \"minutes\",\n                \"value\": 5\n            },\n            \"externalComment\": \"Comment for the published version\",\n            \"id\": \"77d5bdf6-bc93-4f71-bf42-681759874cc0\",\n            \"info\": \"in person lesson \",\n            \"languages\": [\n                \"de\",\n                \"en\"\n            ],\n            \"lessonVersionId\": \"77d5bdf6-bc93-4f71-bf42-681759874cc0\",\n            \"master\": true,\n            \"media\": null,\n            \"modified\": \"2025-04-23T07:05:50.000Z\",\n            \"numberOfModules\": 0,\n            \"publishDate\": null,\n            \"published\": null,\n            \"status\": \"draft\",\n            \"taskType\": \"in-person-lesson\",\n            \"translations\": [\n                {\n                    \"id\": \"884ec032-34e3-4f99-92bd-9cd9519976bd\",\n                    \"title\": \"In Person Lessons\",\n                    \"created\": \"2025-04-10T05:31:40.000Z\",\n                    \"language\": \"de\",\n                    \"description\": \"\"\n                },\n                {\n                    \"id\": \"a3ada011-ca84-4575-b3c2-1afcebd1fe73\",\n                    \"title\": \"test\",\n                    \"created\": \"2025-04-10T05:31:40.000Z\",\n                    \"language\": \"en\",\n                    \"description\": \"\"\n                }\n            ],\n            \"users\": {\n                \"creator\": {\n                    \"name\": \"root root\",\n                    \"userId\": \"6e6732c1-0e67-4af2-aebe-804d4b52e161\"\n                },\n                \"contributors\": []\n            },\n            \"version\": 0,\n            \"verticalIds\": [],\n            \"href\": \"https://cms-api.felix.doinstruct-dev.com/lessons/77d5bdf6-bc93-4f71-bf42-681759874cc0/draft\"\n        },\n        {\n            \"active\": false,\n            \"archived\": null,\n            \"clientId\": \"3f79c65f-cb82-4182-b5fe-fca5f98d30b7\",\n            \"clientRef\": null,\n            \"created\": \"2025-04-29T05:54:08.000Z\",\n            \"comment\": null,\n            \"currentVersion\": false,\n            \"doinstructMediaCode\": null,\n            \"duration\": {\n                \"unit\": \"minutes\",\n                \"value\": 5\n            },\n            \"externalComment\": null,\n            \"id\": \"1abdac4b-87eb-4c3c-99e5-6dde21926667\",\n            \"info\": null,\n            \"languages\": [\n                \"de\"\n            ],\n            \"lessonVersionId\": \"1abdac4b-87eb-4c3c-99e5-6dde21926667\",\n            \"master\": true,\n            \"media\": null,\n            \"modified\": \"2025-04-29T05:54:42.000Z\",\n            \"numberOfModules\": 0,\n            \"publishDate\": null,\n            \"published\": null,\n            \"status\": \"draft\",\n            \"taskType\": \"in-person-lesson\",\n            \"translations\": [\n                {\n                    \"id\": \"f7055e21-a673-4df2-b259-940f55e2d8e8\",\n                    \"title\": \"draft\",\n                    \"created\": \"2025-04-29T03:54:42.000Z\",\n                    \"language\": \"de\",\n                    \"description\": \"\"\n                }\n            ],\n            \"users\": {\n                \"creator\": {\n                    \"name\": \"root root\",\n                    \"userId\": \"6e6732c1-0e67-4af2-aebe-804d4b52e161\"\n                },\n                \"contributors\": [\n                    {\n                        \"name\": \"root root\",\n                        \"userId\": \"6e6732c1-0e67-4af2-aebe-804d4b52e161\",\n                        \"created\": \"2025-04-29T05:54:42.198Z\"\n                    }\n                ]\n            },\n            \"version\": 0,\n            \"verticalIds\": [],\n            \"href\": \"https://cms-api.felix.doinstruct-dev.com/lessons/1abdac4b-87eb-4c3c-99e5-6dde21926667/draft\"\n        }\n    ],\n    \"total\": 2\n}"}],"_postman_id":"b77760ff-b674-4371-9836-59491f3c3b1b"}],"id":"b34ed4d9-ef36-4564-88d3-fa922486b9f5","description":"<p>Lessons are the core learning content that employees can access through the doinstruct app. You can search and retrieve lesson information via this API.</p>\n<h2 id=\"data-fields\">Data Fields</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Type</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>active</td>\n<td>boolean</td>\n<td>Is this lesson active and available to employees?</td>\n</tr>\n<tr>\n<td>archived</td>\n<td>dateTime or null</td>\n<td>UTC date and time when this lesson was archived, or null if not archived  <br />  <br />Example: 2021-04-30T08:58:33Z</td>\n</tr>\n<tr>\n<td>clientId</td>\n<td>string</td>\n<td>UUID of the respective client.</td>\n</tr>\n<tr>\n<td>clientRef</td>\n<td>string or null</td>\n<td>A string set by the client that should be unique among all their lessons.  <br />  <br />Validation rule: 1-100 characters OR null</td>\n</tr>\n<tr>\n<td>created</td>\n<td>dateTime</td>\n<td>UTC date and time of when this lesson was created  <br />  <br />Example: 2021-04-30T08:58:33Z</td>\n</tr>\n<tr>\n<td>currentVersion</td>\n<td>boolean</td>\n<td>Indicates if this is the current published version of the lesson.</td>\n</tr>\n<tr>\n<td>doinstructMediaCode</td>\n<td>string or null</td>\n<td>An auto-generated code for doinstruct master content library lessons. Only applicable to master lessons from doinstruct.</td>\n</tr>\n<tr>\n<td>duration</td>\n<td>object or null</td>\n<td>The expected duration for completing this lesson.  <br />  <br />Example: { \"unit\": \"minutes\", \"value\": 30 }  <br />  <br />Unit can be: minutes, hours, or days</td>\n</tr>\n<tr>\n<td>href</td>\n<td>string</td>\n<td>API link to access this lesson resource.</td>\n</tr>\n<tr>\n<td>id</td>\n<td>string</td>\n<td>Unique identifier (UUID) for the lesson.</td>\n</tr>\n<tr>\n<td>info</td>\n<td>string or null</td>\n<td>Additional information or description about the lesson.  <br />  <br />Validation rule: 0-1000 characters OR null</td>\n</tr>\n<tr>\n<td>languages</td>\n<td>string[]</td>\n<td>Array of language codes (ISO 639-1) available for this lesson.  <br />  <br />Example: [\"en\", \"de\", \"fr\"]</td>\n</tr>\n<tr>\n<td>lessonVersionId</td>\n<td>string</td>\n<td>UUID of the specific version of this lesson.</td>\n</tr>\n<tr>\n<td>master</td>\n<td>boolean</td>\n<td>Indicates if this is a master lesson from the doinstruct content library.</td>\n</tr>\n<tr>\n<td>media</td>\n<td>object or null</td>\n<td>Media reference object containing information about associated media files.</td>\n</tr>\n<tr>\n<td>modified</td>\n<td>dateTime</td>\n<td>UTC date and time of when this lesson was last modified.  <br />  <br />Example: 2021-04-30T08:58:33Z</td>\n</tr>\n<tr>\n<td>numberOfModules</td>\n<td>number</td>\n<td>The number of learning modules contained in this lesson.</td>\n</tr>\n<tr>\n<td>publishDate</td>\n<td>date or null</td>\n<td>Date when this lesson version was planned to be published.  <br />  <br />Validation rule: Date string (YYYY-MM-DD) or null</td>\n</tr>\n<tr>\n<td>published</td>\n<td>dateTime or null</td>\n<td>UTC date and time when this lesson version was published.  <br />  <br />Example: 2021-04-30T08:58:33Z or null</td>\n</tr>\n<tr>\n<td>status</td>\n<td>string</td>\n<td>Current publishing status of this lesson version</td>\n</tr>\n<tr>\n<td>taskType</td>\n<td>string</td>\n<td>The field \"taskType\" indicates the type of lesson. Possible values are:  <br />\"lesson\"  <br />\"in-person-lesson\"  <br />\"external-lesson\" (deprecated)  <br />\"trail\" (Learning path with multiple lessons)</td>\n</tr>\n<tr>\n<td>translations</td>\n<td>array</td>\n<td>Array of translation objects containing title, description, and language information for each available language.</td>\n</tr>\n<tr>\n<td>version</td>\n<td>number</td>\n<td>Version number of this lesson (increments with each publish).</td>\n</tr>\n<tr>\n<td>verticalIds</td>\n<td>string[] or null</td>\n<td>Array of vertical (industry) IDs this lesson is associated with. Only applicable to master lessons.</td>\n</tr>\n</tbody>\n</table>\n</div><h2 id=\"status\">Status</h2>\n<div class=\"click-to-expand-wrapper is-table-wrapper\"><table>\n<thead>\n<tr>\n<th>Name</th>\n<th>Description</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>archived</td>\n<td>The lesson has been archived and is no longer used</td>\n</tr>\n<tr>\n<td>draft</td>\n<td>The lesson is in draft state and not published yet</td>\n</tr>\n<tr>\n<td>prepared</td>\n<td>The lesson is prepared but not yet published</td>\n</tr>\n<tr>\n<td>published</td>\n<td>The lesson is published and available to employees</td>\n</tr>\n</tbody>\n</table>\n</div>","_postman_id":"b34ed4d9-ef36-4564-88d3-fa922486b9f5","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}},{"name":"Media API","item":[{"name":"Upload file","id":"492b2fb3-6d9a-4ffb-afb9-143d695dee69","protocolProfileBehavior":{"disableBodyPruning":true},"request":{"method":"PUT","header":[],"body":{"mode":"file","file":{"src":"/Users/felixheinstadt/Downloads/BeTestingWorkshop.pdf"}},"url":"{{signedUrl}}","description":"<p>Upload a file with the <code>signedUrl</code>from another request.</p>\n","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}},"urlObject":{"host":["{{signedUrl}}"],"query":[],"variable":[]}},"response":[{"id":"5180ba27-7bae-4b99-9dba-4ac6061a5f1e","name":"Upload file","originalRequest":{"method":"PUT","header":[{"key":"Content-Type","value":"application/json"}],"body":{"mode":"file","file":{"src":"/Users/ingmar/Downloads/doinstruct.mp4"}},"url":"{{signedUrl}}"},"status":"OK","code":200,"_postman_previewlanguage":"plain","header":[{"key":"Content-Length","value":"0"},{"key":"Connection","value":"keep-alive"},{"key":"Date","value":"Thu, 25 May 2023 06:57:43 GMT"},{"key":"x-amz-expiration","value":"expiry-date=\"Sat, 27 May 2023 00:00:00 GMT\", rule-id=\"Y2Y4ODFmMDEtMDQzMy00ZDFhLTgwZmUtMzMzMTVjMGVkNWI3\""},{"key":"x-amz-server-side-encryption","value":"AES256"},{"key":"ETag","value":"\"3915381f2602dc83538283d90eae031e\""},{"key":"Server","value":"AmazonS3"},{"key":"X-Cache","value":"Miss from cloudfront"},{"key":"Via","value":"1.1 b8b95510d85e7e4b69b927da534dc290.cloudfront.net (CloudFront)"},{"key":"X-Amz-Cf-Pop","value":"HAM50-P2"},{"key":"Alt-Svc","value":"h3=\":443\"; ma=86400"},{"key":"X-Amz-Cf-Id","value":"G2WXEf79uSQW77zheesHoAIZ0Tfkbk8nvgUfMLLYlvdpuJL51MnSTw=="}],"cookie":[],"responseTime":null,"body":null}],"_postman_id":"492b2fb3-6d9a-4ffb-afb9-143d695dee69"}],"id":"1e494a6c-b049-422a-bc4c-e70a199333da","_postman_id":"1e494a6c-b049-422a-bc4c-e70a199333da","description":"","auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"},"isInherited":true,"source":{"_postman_id":"9976722b-ff74-4fa9-b196-59cf63d85151","id":"9976722b-ff74-4fa9-b196-59cf63d85151","name":"doinstruct","type":"collection"}}}],"auth":{"type":"apikey","apikey":{"value":"{{apiKey}}","key":"<key>"}},"event":[{"listen":"prerequest","script":{"id":"4d5c8efc-8dfa-4307-b5ff-cb48e7a3c25c","type":"text/javascript","exec":[""]}},{"listen":"test","script":{"id":"515def22-4c6c-459b-8a84-7b2a5126535c","type":"text/javascript","exec":[""]}}]}