{ "openapi": "3.0.0", "info": { "version": "8.8.11", "title": "AFAS Loonadministratie API", "description": "This API describes the endpoints related to Loonadministratie. Use this API with the functional description of the API." }, "servers": [ { "url": "https://{id}.rest.afas.online/ProfitRestServices", "description": "Production environment", "variables": { "id": { "description": "5 digit environment number", "default": "12345" } } }, { "url": "https://{id}.resttest.afas.online/ProfitRestServices", "description": "Test environment", "variables": { "id": { "description": "5 digit environment number", "default": "12345" } } }, { "url": "https://{id}.restaccept.afas.online/ProfitRestServices", "description": "Accept environment", "variables": { "id": { "description": "5 digit environment number", "default": "12345" } } }, { "url": "https://{id}.restcursus.afas.online/ProfitRestServices", "description": "Cursus environment", "variables": { "id": { "description": "5 digit environment number", "default": "12345" } } } ], "paths": { "/MetaInfo": { "get": { "summary": "Retrieve the meta info of the Profit environment and the available connectors", "tags": [ "API Info" ], "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "updateConnectors": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "description": { "type": "string" } } } }, "getConnectors": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "description": { "type": "string" } } } }, "customConnectors": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "description": { "type": "string" } } } }, "info": { "type": "object", "properties": { "envid": { "type": "string" }, "appName": { "type": "string" }, "group": { "type": "string" }, "tokenExpiry": { "type": "string" } } } } }, "examples": { "Example Result": { "value": { "updateConnectors": [ { "id": "HrCreateApplicant", "description": "Aanmaken sollicitatie" }, { "id": "FbSubscription", "description": "Abonnement" }, { "id": "KnAddress", "description": "Adres" } ], "getConnectors": [ { "id": "Profit_Fin_ChangedEntrydate", "description": "Profit_Fin_ChangedEntrydate" }, { "id": "Profit_Functions", "description": "Profit_Functions" } ], "customConnectors": [ { "id": "AppConnectorReport", "description": "AppConnectorReport" }, { "id": "AppConnectorSubject", "description": "AppConnectorSubject" } ], "info": { "envid": "A123456AC", "appName": "OpenAPI Spec Example", "group": "AuthorizationGroup 101 (12345.USER)", "tokenExpiry": "0" } } } } } } } }, "operationId": "get_MetaInfo" } }, "/Metainfo/{Type}/{Endpoint}": { "get": { "summary": "Retrieve the metainfo of a specific connector based on the endpoint id. This includes the fields and their properties.", "tags": [ "API Info" ], "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "name": { "type": "string" }, "description": { "type": "string" }, "fields": { "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string" }, "fieldId": { "type": "string" }, "dataType": { "type": "string" }, "label": { "type": "string" }, "length": { "type": "integer" }, "controlType": { "type": "integer" }, "decimals": { "type": "integer" }, "decimalsFieldId": { "type": "string" } } } } } }, "examples": { "Example Result": { "value": { "name": "Profit_Administrations", "description": "Administraties (Profit)", "fields": [ { "id": "AdminId", "fieldId": "U002", "dataType": "int", "label": "Administratie", "length": 3, "controlType": 5, "decimals": 0, "decimalsFieldId": "" }, { "id": "AdminNm", "fieldId": "U001", "dataType": "string", "label": "Naam administratie", "length": 80, "controlType": 1, "decimals": 0, "decimalsFieldId": "" }, { "id": "AdminCd", "fieldId": "UnCo", "dataType": "string", "label": "Administratie", "length": 10, "controlType": 1, "decimals": 0, "decimalsFieldId": "" } ] } } } } } } }, "operationId": "get_MetaInfoPerConnector", "parameters": [ { "schema": { "type": "string", "enum": [ "get", "update" ], "example": "update" }, "in": "path", "name": "Type", "description": "Add the type of connector you want to get the meta info from", "required": true }, { "schema": { "type": "string", "example": "KnEmployee" }, "in": "path", "name": "Endpoint", "description": "Add the endpoint id of the connector you want to get the meta info from", "required": true }, { "$ref": "#/components/parameters/Accept-Language" } ] } }, "/connectors/{Endpoint}": { "get": { "summary": "Retrieve the metainfo of a custom getconnector based on the endpoint id. This includes the fields and their properties. These id's can be found in the metainfo request result.", "tags": [ "GET" ], "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "skip": { "type": "integer" }, "take": { "type": "integer" }, "rows": { "type": "array", "items": { "type": "object", "properties": { "EmployeeId": { "type": "string" }, "EmploymentEndDate": { "type": "string" }, "EmailForDigitalDocuments": { "type": "string", "nullable": true } } } } } }, "examples": { "Example response": { "value": { "skip": 0, "take": 100, "rows": [ { "EmployeeId": "000001005", "EmploymentEndDate": "2025-11-22T00:00:00Z", "EmailForDigitalDocuments": null }, { "EmployeeId": "000001006", "EmploymentEndDate": "2025-11-22T00:00:00Z", "EmailForDigitalDocuments": null } ] } } } } } } }, "operationId": "get_MetaInfoPerCustomConnector", "parameters": [ { "schema": { "type": "string", "example": "your_custom_endpoint_id" }, "in": "path", "name": "Endpoint", "description": "Add the id of connector you want to get the meta info from", "required": true }, { "name": "skip", "in": "query", "required": false, "description": "Pagination: amount of results skipped. Starts at 0", "schema": { "type": "number", "example": 0 } }, { "name": "take", "in": "query", "required": false, "description": "Pagination: amount of results returned", "schema": { "type": "number", "example": 100 } }, { "name": "orderbyfieldids", "in": "query", "required": false, "description": "Must be used to prevent unexpectedly ordered results", "schema": { "type": "string" } }, { "name": "filterfieldids", "in": "query", "required": false, "description": "The fieldIds of the values to filter on", "schema": { "type": "string" } }, { "name": "filtervalues", "in": "query", "required": false, "description": "The values to filter on", "schema": { "type": "string" } }, { "name": "operatortypes", "in": "query", "required": false, "description": "Operator for comparing filter values. Supported values include:\n\n* `1` - = (is equal to)\n* `2` - >= (is greater or equal to)\n* `3` - <= (is less or equal to)\n* `4` - > (is greater than)\n* `5` - < (is less than)\n* `6` - * (contains text)\n* `7` - != (is not equal to)\n* `8` - [] (is empty)\n* `9` - ![] (is not empty)\n* `10` - @ (starts with)\n* `11` - !* (does not contain text)\n* `12` - !@ (does not start with)\n* `13` - & (ends with)\n* `14` - !& (does not end with)\n* `15` - Sf (quickfilter)\n", "schema": { "type": "number", "enum": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] } } ] } }, "/ProfitVersion": { "get": { "summary": "Get the current Profit version", "tags": [ "API Info" ], "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "version": { "type": "string" } } }, "examples": { "Example Result": { "value": { "version": "7.7.10" } } } } } } }, "operationId": "get_ProfitVersion" } }, "/connectors/HrCalculationplan": { "post": { "summary": "Salary processing plan", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/127963.htm", "operationId": "POST_HrCalculationplan", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrCalculationplan_POST" }, "examples": { "create calculationplan": { "value": { "HrCalculationplan": { "Element": { "@PlId": 312542, "Fields": { "StOn": true, "ClCo": true } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Salary processing plan" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/HrCompMut": { "post": { "summary": "Wage entry", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_131.htm", "operationId": "POST_HrCompMut", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrCompMut_POST" }, "examples": { "bonus for employee": { "value": { "HrCompMut": { "Element": { "@PtId": 5, "@Year": 2024, "@PeId": 1, "@DaTi": "2024-01-08", "@EmId": "floora", "@ErId": "01", "@Sc02": 11, "Fields": { "Ds": "Galactic Achievement Bonus", "VaD1": "19934857" } } } } }, "Massa": { "value": { "HrCompMut": { "Element": [ { "@PtId": "5", "@Year": "2023", "@PeId": "2", "@DaTi": "2023-02-01", "@EmId": "4125056", "@ErId": "RIS", "@Sc02": "302", "Fields": { "Ds": "Winstuitkering", "VaD1": "5000", "Rem": "Import via JSON" } }, { "@PtId": "5", "@Year": "2023", "@PeId": "2", "@DaTi": "2023-02-02", "@EmId": "4125562", "@ErId": "RIS", "@Sc02": "302", "Fields": { "Ds": "Winstuitkering", "VaD1": "5000", "Rem": "Import via JSON" } }, { "@PtId": "5", "@Year": "2023", "@PeId": "2", "@DaTi": "2023-02-03", "@EmId": "4125611", "@ErId": "RIS", "@Sc02": "302", "Fields": { "Ds": "Winstuitkering", "VaD1": "5000", "Rem": "Import via JSON" } } ] } } }, "Maximaal": { "value": { "HrCompMut": { "Element": { "@PtId": "5", "@Year": "2023", "@PeId": "1", "@DaTi": "2023-01-01", "@EmId": "FLOORA", "@ErId": "000001", "@Sc02": "21", "Fields": { "Ds": "Meeruren - Connector", "EmDp": "PZ", "VaD1": "50", "CrId": "Profit", "CcId": "Profit", "EnSe": "1", "FuId": "MEDPLAC", "Rem": "Afwijkende omschrijving" } } } } }, "Minimaal": { "value": { "HrCompMut": { "Element": { "@PtId": "5", "@Year": "2023", "@PeId": "3", "@DaTi": "2023-01-01", "@EmId": "FLOORA", "@ErId": "000001", "@Sc02": "21", "Fields": { "VaD1": "10" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "HrCompMut": { "Id": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage entry" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Wage entry", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_131.htm", "operationId": "PUT_HrCompMut", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrCompMut_PUT" }, "examples": { "waarde": { "value": { "HrCompMut": { "Element": { "@Id": 143902, "@PtId": 5, "@Year": 2023, "@PeId": 3, "@DaTi": "2023-03-22", "@EmId": "JANB", "@ErId": "01", "@Sc02": 305, "Fields": { "Ds": "Bonus through API request Type: value", "VaD1": "180" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "HrCompMut": { "Id": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage entry" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/HrCompMut/HrCompMut/@PtId,@Year,@PeId,@Id,@DaTi,@EmId,@ErId,@Sc02/{PtId},{Year},{PeId},{Id},{DaTi},{EmId},{ErId},{Sc02}": { "parameters": [ { "schema": { "type": "string" }, "name": "PtId", "in": "path", "required": true, "description": "Period table" }, { "schema": { "type": "string" }, "name": "Year", "in": "path", "required": true, "description": "Financial year" }, { "schema": { "type": "string" }, "name": "PeId", "in": "path", "required": true, "description": "Period" }, { "schema": { "type": "string" }, "name": "Id", "in": "path", "required": true, "description": "Line number" }, { "schema": { "type": "string" }, "name": "DaTi", "in": "path", "required": true, "description": "Date" }, { "schema": { "type": "string" }, "name": "EmId", "in": "path", "required": true, "description": "Employee" }, { "schema": { "type": "string" }, "name": "ErId", "in": "path", "required": true, "description": "Employer" }, { "schema": { "type": "string" }, "name": "Sc02", "in": "path", "required": true, "description": "Looncomponent" } ], "delete": { "summary": "Wage entry", "operationId": "DELETE_HrCompMut", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_131.htm", "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "$ref": "#/components/responses/200" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage entry" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" } ] } }, "/connectors/HrCompMutGUID": { "post": { "summary": "Wage entry (unique key)", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_131.htm", "operationId": "POST_HrCompMutGUID", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrCompMutGUID_POST" }, "examples": { "Create bonus for employee": { "value": { "HrCompMutGUID": { "Element": { "@GuLi": "{1c6bbae5-98a7-4140-9630-ff08025db692}", "Fields": { "PtId": 5, "Year": 2024, "PeId": 1, "DaTi": "2024-01-08", "EmId": "floora", "ErId": "01", "Sc02": 11, "Ds": "Galactic Achievement Bonus", "VaD1": "19934857" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "HrCompMutGUID": { "Id": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage entry (unique key)" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Wage entry (unique key)", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_131.htm", "operationId": "PUT_HrCompMutGUID", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrCompMutGUID_PUT" }, "examples": { "modify CompMutGuidLine": { "value": { "HrCompMutGUID": { "Element": { "@GuLi": "{1c6bbae5-98a7-4140-9630-ff08025db692}", "Fields": { "VaD1": "1993" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "HrCompMutGUID": { "Id": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage entry (unique key)" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/HrCompMutGUID/HrCompMutGUID/@GuLi/{GuLi}": { "parameters": [ { "schema": { "type": "string" }, "name": "GuLi", "in": "path", "required": true, "description": "GUID line" } ], "delete": { "summary": "Wage entry (unique key)", "operationId": "DELETE_HrCompMutGUID", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_131.htm", "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "$ref": "#/components/responses/200" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage entry (unique key)" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" } ] } }, "/connectors/HrEmpCareerHistory": { "post": { "summary": "Career history", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/119687.htm", "operationId": "POST_HrEmpCareerHistory", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrEmpCareerHistory_POST" }, "examples": { "alles": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "SimoneA", "BcCo": "1000372", "HaJp": "1", "DaBe": "1999-01-01", "DaEn": "1999-12-31", "NuYe": "1", "NuMo": "0", "NuDa": "0", "HaCa": "1" } } } } }, "naam": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "MuhammedA", "Nm": "Jansen", "DaBe": "1999-01-01", "DaEn": "2000-12-31", "NuYe": "2", "NuMo": "0", "NuDa": "0" } } } } }, "onderwijs alles": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "00567", "BcCo": "1000387", "HaJp": "1", "DaBe": "1999-01-01", "DaEn": "1999-12-31", "NuYe": "1", "NuMo": "0", "NuDa": "0", "HaCa": "1", "EmPr": "1", "TCh1": "1", "TCh2": "1", "TCh3": "1", "TCh4": "1", "TCh5": "1", "TCh6": "1", "TCh7": "1", "EIId": "Friese vlag", "OaCt": "01" } } } } }, "onderwijs naam": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "00567", "Nm": "Jansen", "DaBe": "1998-01-01", "DaEn": "2009-12-31", "NuYe": "2", "NuMo": "0", "NuDa": "0" } } } } }, "onderwijs organisatienummer": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "00567", "BcCo": "1000372", "DaBe": "1997-01-01", "DaEn": "1997-12-31", "NuYe": "1", "NuMo": "0", "NuDa": "0" } } } } }, "organisatienummer": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "MuhammedA", "BcCo": "1000372", "DaBe": "2001-01-01", "DaEn": "2002-12-31", "NuYe": "2", "NuMo": "0", "NuDa": "0" } } } } }, "voor update": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "00567", "BcCo": "1000387", "HaJp": "1", "DaBe": "1992-01-01", "DaEn": "1992-12-31", "NuYe": "1", "NuMo": "0", "NuDa": "0", "HaCa": "1", "EmPr": "1", "TCh1": "1", "TCh2": "1", "TCh3": "1", "TCh4": "1", "TCh5": "1", "TCh6": "1", "TCh7": "1", "EIId": "Friese vlag" } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Career history" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Career history", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/119687.htm", "operationId": "PUT_HrEmpCareerHistory", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrEmpCareerHistory_PUT" }, "examples": { "onderwijs": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "00567", "BcCo": "1000387", "HaJp": "1", "DaBe": "1992-01-01", "DaEn": "1992-12-31", "NuYe": "1", "NuMo": "0", "NuDa": "0", "HaCa": "0", "EmPr": "0", "TCh1": "0", "TCh2": "0", "TCh3": "0", "TCh4": "0", "TCh5": "0", "TCh6": "0", "TCh7": "0" } } } } }, "update": { "value": { "HrEmpCareerHistory": { "Element": { "Fields": { "EmId": "SimoneA", "BcCo": "1000013", "HaJp": "0", "DaBe": "1999-01-01", "DaEn": "1999-12-31", "NuYe": "1", "NuMo": "0", "NuDa": "0", "HaCa": "0" } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Career history" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/HrEmployeeDeposit": { "post": { "summary": "Advance", "description": "\n\rAlleen beschikbaar onder conditie: Payroll\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_flex_HrEmployeeDeposit.htm", "operationId": "POST_HrEmployeeDeposit", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrEmployeeDeposit_POST" } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Advance" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Advance", "description": "\n\rAlleen beschikbaar onder conditie: Payroll\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_flex_HrEmployeeDeposit.htm", "operationId": "PUT_HrEmployeeDeposit", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrEmployeeDeposit_PUT" } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Advance" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/HrEmployeeDeposit/HrEmployeeDeposit/@EmId/{EmId}": { "parameters": [ { "schema": { "type": "string" }, "name": "EmId", "in": "path", "required": true, "description": "Employee" } ], "delete": { "summary": "Advance", "operationId": "DELETE_HrEmployeeDeposit", "description": " \n\r Let op: Bij dit endpoint zijn de parameters om een item te verwijderen nog niet gedocumenteerd. De path parameters kunnen hierdoor afwijken\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_flex_HrEmployeeDeposit.htm", "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "$ref": "#/components/responses/200" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Advance" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" } ] } }, "/connectors/HrEmpPaySlip": { "post": { "summary": "Pay slip", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_HrEmpPaySlip.htm", "operationId": "POST_HrEmpPaySlip", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrEmpPaySlip_POST" }, "examples": { "loonstrook": { "value": { "HrEmpPaySlip": { "Element": { "Fields": { "EmId": "1124", "Ds": "Loonstrook April 2019 via updateconnector", "FileName": "example.png", "FileStream": "iVBORw0KGgoAAAANSUhEUgAAAJYAAACWCAIAAACzY+a1AAAEB0lEQVR4nO3YQU/yShiG4SmlBSwYjEIQCyaSqmHl//8NLNgZSaORAmJQxCC0dihzFs3hEPQkX8KXlid5rl1r9YW5w2RQ63Q6gpBl0n4BtC8mhMeE8JgQHhPCY0J4TAiPCeExITwmhMeE8JgQHhPCY0J4TAiPCeExITwmhMeE8JgQHhPCY0J4TAiPCeExITwmhMeE8JgQHhPCY0J4TAiPCeExITwmhMeE8JgQHhPCY0J4TAiPCeExITwmhMeE8JgQHhPCY0J4TAiPCeExITwmhMeE8JgQHhPCY0J4TAiPCeExITwmhMeE8JgQHhPCY0J4TAiPCeExITwmhMeE8JgQHhPCY0J42bRfwH88zxNCNBqN+HK5XPZ6ve0HHMexLEsIoZQaj8fT6TSKouPjY9u2s9m93kiKo/d3KAnH4/H7+/vp6enmThAEpmm22+1fH57NZq1WS9f1fr//9PTkOA7i6L8i/Y00DEPXdSeTiWma2/eDIMjn8z+fV0pNJpNarZbP5w3DaDabi8VisVhgjf6L0k+4XC5N07y9vc3lctv3/28dfd9fr9fxtiaEMAzDNM2ddZzNZt1udz6fx5ePj48PDw9KqQRGJy/9jbRcLpfL5Z/34/W6v7+XUhYKhXq9Hq+dlFIIYRjG5knDMMIw3PmbJycng8Hg5uZmNpvN5/Pr62tN0xIYnbz0P4W/iqJISmmapuM47Xb76OjIdd0gCIQQ6/VaCLHdQ9O0n58w27bX67XnecPhsFarFQqFxEYn7EAT6rp+d3fXbDaz2Ww2m724uMjlcm9vb+LfFdxeOKVUJrP7RnRdt2374+Mjl8tVq9UkRyfsQBP+ZJpmvI/FR4/VarX5kZRye3Pb8H1fCBGGYRRFCY9O0oEm/Pr66na739/f8aVSanPEyOfzmUxmc4iQUoZhuDlibPi+//r6Wq/XdV2Pv/YlNjphB5rQsqxCoeB5XhiGq9VqMBhEUVSpVIQQmUzm7OxsNBr5vi+l7Pf7lmXtrKNS6vn5uVgsVqvVRqPx+fk5nU6TGZ289E+kv9I07erqajQa9Xq9+BzvOM7m/yDn5+dKKdd1hRClUuny8nLn119eXqSUrVZLCFEsFiuVynA4LJVKf7Lp7Tk6eVqn00n7NdBeDnQjpT/HhPCYEB4TwmNCeEwIjwnhMSE8JoTHhPCYEB4TwmNCeEwIjwnhMSE8JoTHhPCYEB4TwmNCeEwIjwnhMSE8JoTHhPCYEB4TwmNCeEwIjwnhMSE8JoTHhPCYEB4TwmNCeEwIjwnhMSE8JoTHhPCYEB4TwmNCeEwIjwnhMSE8JoTHhPCYEB4TwmNCeEwIjwnhMSE8JoTHhPCYEB4TwmNCeEwIjwnhMSE8JoTHhPCYEN4/cnznZiQb6hsAAAAASUVORK5CYII=" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "results": { "HrEmpPaySlip": { "SbId": "PrimaryKeyValue" } } } } } } }, "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Transfer-Encoding": { "description": "chunked", "schema": { "type": "string" } }, "Content-Type": { "description": "application/json; charset=utf-8", "schema": { "type": "string" } }, "Content-Encoding": { "description": "gzip", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(10ms), after response(609ms), after compressing(610ms), complete(610ms)", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Wed, 07 Feb 2024 10:39:26 GMT", "schema": { "type": "string" } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Pay slip" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/HrVarValue": { "post": { "summary": "Wage component parameter value", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_135.htm", "operationId": "POST_HrVarValue", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrVarValue_POST" }, "examples": { "1regel": { "value": { "HrVarValue": { "Element": { "Fields": { "VaId": "NL123456789B02", "Va": "100", "EmId": "FloorA", "DaBe": "2013-01-01", "ReAu": "doezoe" } } } } }, "Massa": { "value": { "HrVarValue": { "Element": [ { "Fields": { "VaId": "NL123456789B02", "Va": "100", "EmId": "4125009", "DaBe": "2013-01-01" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "101", "EmId": "4125010", "DaBe": "2013-01-02" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "102", "EmId": "4125011", "DaBe": "2013-01-03" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "103", "EmId": "4125012", "DaBe": "2013-01-04" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "104", "EmId": "4125013", "DaBe": "2013-01-05" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "105", "EmId": "4125014", "DaBe": "2013-01-06" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "106", "EmId": "4125015", "DaBe": "2013-01-07" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "107", "EmId": "4125016", "DaBe": "2013-01-08" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "108", "EmId": "4125017", "DaBe": "2013-01-09" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "109", "EmId": "4125018", "DaBe": "2013-01-10" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "110", "EmId": "4125019", "DaBe": "2013-01-11" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "111", "EmId": "4125020", "DaBe": "2013-01-12" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "112", "EmId": "4125021", "DaBe": "2013-01-13" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "113", "EmId": "4125022", "DaBe": "2013-01-14" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "114", "EmId": "4125023", "DaBe": "2013-01-15" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "115", "EmId": "4125024", "DaBe": "2013-01-16" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "116", "EmId": "4125025", "DaBe": "2013-01-17" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "117", "EmId": "4125026", "DaBe": "2013-01-18" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "118", "EmId": "4125027", "DaBe": "2013-01-19" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "119", "EmId": "4125028", "DaBe": "2013-01-20" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "120", "EmId": "4125029", "DaBe": "2013-01-21" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "121", "EmId": "4125030", "DaBe": "2013-01-22" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "122", "EmId": "4125031", "DaBe": "2013-01-23" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "123", "EmId": "4125032", "DaBe": "2013-01-24" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "124", "EmId": "4125033", "DaBe": "2013-01-25" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "125", "EmId": "4125034", "DaBe": "2013-01-26" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "126", "EmId": "4125035", "DaBe": "2013-01-27" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "127", "EmId": "4125036", "DaBe": "2013-01-28" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "128", "EmId": "4125037", "DaBe": "2013-01-29" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "129", "EmId": "4125038", "DaBe": "2013-01-30" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "130", "EmId": "4125039", "DaBe": "2013-01-31" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "131", "EmId": "4125040", "DaBe": "2013-02-01" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "132", "EmId": "4125041", "DaBe": "2013-02-02" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "133", "EmId": "4125042", "DaBe": "2013-02-03" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "134", "EmId": "4125043", "DaBe": "2013-02-04" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "135", "EmId": "4125044", "DaBe": "2013-02-05" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "136", "EmId": "4125045", "DaBe": "2013-02-06" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "137", "EmId": "4125046", "DaBe": "2013-02-07" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "138", "EmId": "4125047", "DaBe": "2013-02-08" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "139", "EmId": "4125048", "DaBe": "2013-02-09" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "140", "EmId": "4125049", "DaBe": "2013-02-10" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "141", "EmId": "4125050", "DaBe": "2013-02-11" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "142", "EmId": "4125051", "DaBe": "2013-02-12" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "143", "EmId": "4125052", "DaBe": "2013-02-13" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "144", "EmId": "4125053", "DaBe": "2013-02-14" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "145", "EmId": "4125054", "DaBe": "2013-02-15" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "146", "EmId": "4125055", "DaBe": "2013-02-16" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "147", "EmId": "4125056", "DaBe": "2013-02-17" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "148", "EmId": "4125057", "DaBe": "2013-02-18" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "149", "EmId": "4125058", "DaBe": "2013-02-19" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "150", "EmId": "4125059", "DaBe": "2013-02-20" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "151", "EmId": "4125060", "DaBe": "2013-02-21" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "152", "EmId": "4125061", "DaBe": "2013-02-22" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "153", "EmId": "4125062", "DaBe": "2013-02-23" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "154", "EmId": "4125063", "DaBe": "2013-02-24" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "155", "EmId": "4125064", "DaBe": "2013-02-25" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "156", "EmId": "4125065", "DaBe": "2013-02-26" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "157", "EmId": "4125066", "DaBe": "2013-02-27" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "158", "EmId": "4125094", "DaBe": "2013-02-28" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "159", "EmId": "4125095", "DaBe": "2013-03-01" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "160", "EmId": "4125096", "DaBe": "2013-03-02" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "161", "EmId": "4125097", "DaBe": "2013-03-03" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "162", "EmId": "4125098", "DaBe": "2013-03-04" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "163", "EmId": "4125099", "DaBe": "2013-03-05" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "164", "EmId": "4125100", "DaBe": "2013-03-06" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "165", "EmId": "4125101", "DaBe": "2013-03-07" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "166", "EmId": "4125102", "DaBe": "2013-03-08" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "167", "EmId": "4125103", "DaBe": "2013-03-09" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "168", "EmId": "4125104", "DaBe": "2013-03-10" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "169", "EmId": "4125105", "DaBe": "2013-03-11" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "170", "EmId": "4125106", "DaBe": "2013-03-12" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "171", "EmId": "4125107", "DaBe": "2013-03-13" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "172", "EmId": "4125223", "DaBe": "2013-03-14" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "173", "EmId": "4125224", "DaBe": "2013-03-15" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "174", "EmId": "4125225", "DaBe": "2013-03-16" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "175", "EmId": "4125226", "DaBe": "2013-03-17" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "176", "EmId": "4125227", "DaBe": "2013-03-18" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "177", "EmId": "4125228", "DaBe": "2013-03-19" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "178", "EmId": "4125229", "DaBe": "2013-03-20" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "179", "EmId": "4125230", "DaBe": "2013-03-21" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "180", "EmId": "4125231", "DaBe": "2013-03-22" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "181", "EmId": "4125232", "DaBe": "2013-03-23" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "182", "EmId": "4125233", "DaBe": "2013-03-24" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "183", "EmId": "4125234", "DaBe": "2013-03-25" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "184", "EmId": "4125235", "DaBe": "2013-03-26" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "185", "EmId": "4125236", "DaBe": "2013-03-27" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "186", "EmId": "4125352", "DaBe": "2013-03-28" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "187", "EmId": "4125353", "DaBe": "2013-03-29" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "188", "EmId": "4125354", "DaBe": "2013-03-30" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "189", "EmId": "4125355", "DaBe": "2013-03-31" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "190", "EmId": "4125356", "DaBe": "2013-04-01" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "191", "EmId": "4125357", "DaBe": "2013-04-02" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "192", "EmId": "4125358", "DaBe": "2013-04-03" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "193", "EmId": "4125359", "DaBe": "2013-04-04" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "194", "EmId": "4125360", "DaBe": "2013-04-05" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "195", "EmId": "4125361", "DaBe": "2013-04-06" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "196", "EmId": "4125362", "DaBe": "2013-04-07" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "197", "EmId": "4125363", "DaBe": "2013-04-08" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "198", "EmId": "4125364", "DaBe": "2013-04-09" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "199", "EmId": "4125365", "DaBe": "2013-04-10" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "200", "EmId": "4125481", "DaBe": "2013-04-11" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "201", "EmId": "4125482", "DaBe": "2013-04-12" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "202", "EmId": "4125483", "DaBe": "2013-04-13" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "203", "EmId": "4125484", "DaBe": "2013-04-14" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "204", "EmId": "4125485", "DaBe": "2013-04-15" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "205", "EmId": "4125486", "DaBe": "2013-04-16" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "206", "EmId": "4125487", "DaBe": "2013-04-17" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "207", "EmId": "4125488", "DaBe": "2013-04-18" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "208", "EmId": "4125489", "DaBe": "2013-04-19" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "209", "EmId": "4125490", "DaBe": "2013-04-20" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "210", "EmId": "4125491", "DaBe": "2013-04-21" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "211", "EmId": "4125492", "DaBe": "2013-04-22" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "212", "EmId": "4125493", "DaBe": "2013-04-23" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "213", "EmId": "4125494", "DaBe": "2013-04-24" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "214", "EmId": "4125610", "DaBe": "2013-04-25" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "215", "EmId": "4125611", "DaBe": "2013-04-26" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "216", "EmId": "4125612", "DaBe": "2013-04-27" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "217", "EmId": "4125613", "DaBe": "2013-04-28" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "218", "EmId": "4125614", "DaBe": "2013-04-29" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "219", "EmId": "4125615", "DaBe": "2013-04-30" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "220", "EmId": "4125616", "DaBe": "2013-05-01" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "221", "EmId": "4125617", "DaBe": "2013-05-02" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "222", "EmId": "4125618", "DaBe": "2013-05-03" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "223", "EmId": "4125619", "DaBe": "2013-05-04" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "224", "EmId": "4125620", "DaBe": "2013-05-05" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "225", "EmId": "4125621", "DaBe": "2013-05-06" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "226", "EmId": "4125622", "DaBe": "2013-05-07" } }, { "Fields": { "VaId": "NL123456789B02", "Va": "227", "EmId": "4125623", "DaBe": "2013-05-08" } } ] } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage component parameter value" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Wage component parameter value", "description": "\n\rAlleen beschikbaar onder conditie: Hrm\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_135.htm", "operationId": "PUT_HrVarValue", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HrVarValue_PUT" }, "examples": { "update": { "value": { "HrVarValue": { "Element": { "Fields": { "VaId": "100701", "Va": "200", "EmId": "4125611", "DaBe": "2023-01-01", "ReAu": "Verdubbeling bedrag reiskosten" } } } } } } } } }, "responses": { "201": { "description": "Created" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage component parameter value" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/HrVarValue/HrVarValue/@VaId/{VaId}": { "parameters": [ { "schema": { "type": "string" }, "name": "VaId", "in": "path", "required": true, "description": "Parameter" } ], "delete": { "summary": "Wage component parameter value", "operationId": "DELETE_HrVarValue", "description": "\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_135.htm", "responses": { "400": { "$ref": "#/components/responses/400" }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "404": { "$ref": "#/components/responses/404" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" }, "200": { "$ref": "#/components/responses/200" } }, "security": [ { "AfasToken": [] } ], "tags": [ "Wage component parameter value" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" } ] } }, "/connectors/ProfitEmployerHourType": { "get": { "summary": "Types of hours", "operationId": "Get_ProfitEmployerHourType", "description": " ", "parameters": [ { "name": "skip", "in": "query", "required": false, "description": "Pagination: amount of results skipped. Starts at 0", "schema": { "type": "number", "example": 0 } }, { "name": "take", "in": "query", "required": false, "description": "Pagination: amount of results returned", "schema": { "type": "number", "example": 100 } }, { "name": "orderbyfieldids", "in": "query", "required": false, "description": "Must be used to prevent reordered results", "schema": { "type": "string" } }, { "name": "filterfieldids", "in": "query", "required": false, "description": "The fieldIds of the values to filter on", "schema": { "type": "string" } }, { "name": "filtervalues", "in": "query", "required": false, "description": "The values to filter on", "schema": { "type": "string" } }, { "name": "operatortypes", "in": "query", "required": false, "description": "Operator for comparing filter values. Supported values include:\n\n* `1` - = (is equal to)\n* `2` - >= (is greater or equal to)\n* `3` - <= (is less or equal to)\n* `4` - > (is greater than)\n* `5` - < (is less than)\n* `6` - * (contains text)\n* `7` - != (is not equal to)\n* `8` - [] (is empty)\n* `9` - ![] (is not empty)\n* `10` - @ (starts with)\n* `11` - !* (does not contain text)\n* `12` - !@ (does not start with)\n* `13` - & (ends with)\n* `14` - !& (does not end with)\n* `15` - Sf (quickfilter)\n", "schema": { "type": "number", "enum": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] } }, { "$ref": "#/components/parameters/Accept-Language" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "skip": { "type": "integer" }, "take": { "type": "integer" }, "rows": { "type": "array", "items": { "type": "object", "properties": { "StId": { "type": "string", "description": "Hour type" }, "Ds": { "type": "string", "description": "Description" }, "ScId": { "type": "integer", "description": "Wage component" }, "CoId": { "type": "integer", "description": "Number component" }, "VaId": { "type": "integer", "description": "Quantity variable" }, "VaAm": { "type": "integer", "description": "Amount variable" } } } } } } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "GET" ] } }, "/connectors/ProfitEmployerProjects": { "get": { "summary": "Projects", "operationId": "Get_ProfitEmployerProjects", "description": " ", "parameters": [ { "name": "skip", "in": "query", "required": false, "description": "Pagination: amount of results skipped. Starts at 0", "schema": { "type": "number", "example": 0 } }, { "name": "take", "in": "query", "required": false, "description": "Pagination: amount of results returned", "schema": { "type": "number", "example": 100 } }, { "name": "orderbyfieldids", "in": "query", "required": false, "description": "Must be used to prevent reordered results", "schema": { "type": "string" } }, { "name": "filterfieldids", "in": "query", "required": false, "description": "The fieldIds of the values to filter on", "schema": { "type": "string" } }, { "name": "filtervalues", "in": "query", "required": false, "description": "The values to filter on", "schema": { "type": "string" } }, { "name": "operatortypes", "in": "query", "required": false, "description": "Operator for comparing filter values. Supported values include:\n\n* `1` - = (is equal to)\n* `2` - >= (is greater or equal to)\n* `3` - <= (is less or equal to)\n* `4` - > (is greater than)\n* `5` - < (is less than)\n* `6` - * (contains text)\n* `7` - != (is not equal to)\n* `8` - [] (is empty)\n* `9` - ![] (is not empty)\n* `10` - @ (starts with)\n* `11` - !* (does not contain text)\n* `12` - !@ (does not start with)\n* `13` - & (ends with)\n* `14` - !& (does not end with)\n* `15` - Sf (quickfilter)\n", "schema": { "type": "number", "enum": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] } }, { "$ref": "#/components/parameters/Accept-Language" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "skip": { "type": "integer" }, "take": { "type": "integer" }, "rows": { "type": "array", "items": { "type": "object", "properties": { "PrId": { "type": "string", "description": "Project" }, "Ds": { "type": "string", "description": "Description" }, "CmId": { "type": "integer", "description": "Organisation/person" }, "DbId": { "type": "string", "description": "Sales contact" }, "DaSt": { "type": "string", "description": "Start date" }, "DtGw": { "type": "string", "description": "Actual date completed" }, "ChOu": { "type": "boolean", "description": "Completed" } } } } } } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "GET" ] } }, "/connectors/ProfitEmployerRealization": { "get": { "summary": "Actual costing", "operationId": "Get_ProfitEmployerRealization", "description": " ", "parameters": [ { "name": "skip", "in": "query", "required": false, "description": "Pagination: amount of results skipped. Starts at 0", "schema": { "type": "number", "example": 0 } }, { "name": "take", "in": "query", "required": false, "description": "Pagination: amount of results returned", "schema": { "type": "number", "example": 100 } }, { "name": "orderbyfieldids", "in": "query", "required": false, "description": "Must be used to prevent reordered results", "schema": { "type": "string" } }, { "name": "filterfieldids", "in": "query", "required": false, "description": "The fieldIds of the values to filter on", "schema": { "type": "string" } }, { "name": "filtervalues", "in": "query", "required": false, "description": "The values to filter on", "schema": { "type": "string" } }, { "name": "operatortypes", "in": "query", "required": false, "description": "Operator for comparing filter values. Supported values include:\n\n* `1` - = (is equal to)\n* `2` - >= (is greater or equal to)\n* `3` - <= (is less or equal to)\n* `4` - > (is greater than)\n* `5` - < (is less than)\n* `6` - * (contains text)\n* `7` - != (is not equal to)\n* `8` - [] (is empty)\n* `9` - ![] (is not empty)\n* `10` - @ (starts with)\n* `11` - !* (does not contain text)\n* `12` - !@ (does not start with)\n* `13` - & (ends with)\n* `14` - !& (does not end with)\n* `15` - Sf (quickfilter)\n", "schema": { "type": "number", "enum": [ 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15 ] } }, { "$ref": "#/components/parameters/Accept-Language" } ], "responses": { "200": { "description": "OK", "content": { "application/json": { "schema": { "type": "object", "properties": { "skip": { "type": "integer" }, "take": { "type": "integer" }, "rows": { "type": "array", "items": { "type": "object", "properties": { "CmId": { "type": "integer", "description": "Organisation/person" }, "PtId": { "type": "integer", "description": "Period table" }, "Year": { "type": "integer", "description": "Financial year" }, "PeId": { "type": "integer", "description": "Period" }, "SeNo": { "type": "integer", "description": "Line number" }, "DaTi": { "type": "string", "description": "Date" }, "EmId": { "type": "string", "description": "Employee" }, "Nm": { "type": "string", "description": "Name" }, "FuNm": { "type": "string", "description": "Last name, init prefix (first name)" }, "PrId": { "type": "string", "description": "Project" }, "PrDs": { "type": "string", "description": "Description" }, "Wst": { "type": "integer", "description": "Item code" }, "WsDs": { "type": "string", "description": "Description" }, "Qu": { "type": "number", "description": "Number" }, "CoAm": { "type": "number", "description": "Reimbursement" }, "Acc": { "type": "boolean", "description": "Agreed" } } } } } } } } }, "401": { "$ref": "#/components/responses/401" }, "403": { "$ref": "#/components/responses/403" }, "413": { "$ref": "#/components/responses/413" }, "500": { "$ref": "#/components/responses/500" }, "503": { "$ref": "#/components/responses/503" } }, "security": [ { "AfasToken": [] } ], "tags": [ "GET" ] } } }, "tags": [ { "name": "GET", "description": "GET" }, { "name": "API Info", "description": "API Info" }, { "name": "Salary processing plan", "description": "Salary processing plan" }, { "name": "Wage entry", "description": "Wage entry" }, { "name": "Wage entry (unique key)", "description": "Wage entry (unique key)" }, { "name": "Career history", "description": "Career history" }, { "name": "Advance", "description": "Advance" }, { "name": "Pay slip", "description": "Pay slip" }, { "name": "Wage component parameter value", "description": "Wage component parameter value" } ], "components": { "schemas": { "HrCalculationplan_POST": { "type": "object", "properties": { "HrCalculationplan": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "PlId": { "type": "integer", "description": "Salary processing plan", "format": "" }, "StOn": { "type": "boolean", "description": "Available online", "format": "" }, "ClCo": { "type": "boolean", "description": "Close correction period immediately", "format": "" } }, "required": [ "PlId", "StOn" ] } } } } } } }, "HrCompMutGUID_POST": { "type": "object", "properties": { "HrCompMutGUID": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "PtId": { "type": "integer", "description": "Period table", "format": "" }, "Year": { "type": "integer", "description": "Financial year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" }, "DaTi": { "type": "string", "description": "Date", "format": "date" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "ErId": { "type": "string", "maxLength": 15, "description": "Employer", "format": "" }, "Sc02": { "type": "integer", "description": "Looncomponent", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "EmDp": { "type": "string", "maxLength": 10, "description": "Employee organisational unit", "format": "" }, "VaD1": { "type": "number", "description": "Value 1", "format": "number" }, "VaD2": { "type": "number", "description": "Value 2", "format": "number" }, "VaD3": { "type": "number", "description": "Value 3", "format": "number" }, "CrId": { "type": "string", "maxLength": 30, "description": "Employee cost centre", "format": "" }, "CcId": { "type": "string", "maxLength": 30, "description": "Employee cost unit", "format": "" }, "EnSe": { "type": "integer", "description": "Employment", "format": "" }, "FuId": { "type": "string", "maxLength": 30, "description": "Job", "format": "" }, "Rem": { "type": "string", "maxLength": 30, "description": "Remark", "format": "" }, "ViTr": { "type": "string", "enum": [ "11", "12", "13", "14", "15", "21", "22", "31", "32", "41", "51" ], "maxLength": 20, "description": "Transport means for WPM reporting\n11 = Petrol vehicles;\n12 = Diesel vehicle;\n13 = Cars belonging to (plug-in) hybrids;\n14 = Cars 100% electric;\n15 = Other fuel cars;\n21 = Petrol/diesel motorcycle ;\n22 = Electric motorcycle;\n31 = Petrol or diesel moped/scooter;\n32 = Electric moped/scooter (including speed-pedelec);\n41 = (Electric) bicycle (not being a speed-pedelec) or walking;\n51 = Public transportation;", "format": "" }, "ViTv": { "type": "string", "enum": [ "01", "02" ], "maxLength": 20, "description": "Type of journey\n01 = Commuting;\n02 = Business trip;", "format": "" } }, "required": [ "GuLi", "PtId", "Year", "PeId", "DaTi", "EmId", "ErId", "Sc02" ] } } } } } } }, "HrCompMutGUID_PUT": { "type": "object", "properties": { "HrCompMutGUID": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "PtId": { "type": "integer", "description": "Period table", "format": "" }, "Year": { "type": "integer", "description": "Financial year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" }, "DaTi": { "type": "string", "description": "Date", "format": "date" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "ErId": { "type": "string", "maxLength": 15, "description": "Employer", "format": "" }, "Sc02": { "type": "integer", "description": "Looncomponent", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "EmDp": { "type": "string", "maxLength": 10, "description": "Employee organisational unit", "format": "" }, "VaD1": { "type": "number", "multipleOf": 1E-05, "description": "Value 1", "format": "float" }, "VaD2": { "type": "number", "multipleOf": 1E-05, "description": "Value 2", "format": "float" }, "VaD3": { "type": "number", "multipleOf": 1E-05, "description": "Value 3", "format": "float" }, "CrId": { "type": "string", "maxLength": 30, "description": "Employee cost centre", "format": "" }, "CcId": { "type": "string", "maxLength": 30, "description": "Employee cost unit", "format": "" }, "EnSe": { "type": "integer", "description": "Employment", "format": "" }, "FuId": { "type": "string", "maxLength": 30, "description": "Job", "format": "" }, "Rem": { "type": "string", "maxLength": 30, "description": "Remark", "format": "" }, "ViTr": { "type": "string", "enum": [ "11", "12", "13", "14", "15", "21", "22", "31", "32", "41", "51" ], "maxLength": 20, "description": "Transport means for WPM reporting\n11 = Petrol vehicles;\n12 = Diesel vehicle;\n13 = Cars belonging to (plug-in) hybrids;\n14 = Cars 100% electric;\n15 = Other fuel cars;\n21 = Petrol/diesel motorcycle ;\n22 = Electric motorcycle;\n31 = Petrol or diesel moped/scooter;\n32 = Electric moped/scooter (including speed-pedelec);\n41 = (Electric) bicycle (not being a speed-pedelec) or walking;\n51 = Public transportation;", "format": "" }, "ViTv": { "type": "string", "enum": [ "01", "02" ], "maxLength": 20, "description": "Type of journey\n01 = Commuting;\n02 = Business trip;", "format": "" } }, "required": [ "GuLi" ] } } } } } } }, "HrCompMut_POST": { "type": "object", "properties": { "HrCompMut": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "PtId": { "type": "integer", "description": "Period table", "format": "" }, "Year": { "type": "integer", "description": "Financial year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" }, "Id": { "type": "integer", "description": "Line number", "format": "" }, "DaTi": { "type": "string", "description": "Date", "format": "date" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "ErId": { "type": "string", "maxLength": 15, "description": "Employer", "format": "" }, "Sc02": { "type": "integer", "description": "Looncomponent", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "EmDp": { "type": "string", "maxLength": 10, "description": "Employee organisational unit", "format": "" }, "VaD1": { "type": "number", "description": "Value 1", "format": "number" }, "VaD2": { "type": "number", "description": "Value 2", "format": "number" }, "VaD3": { "type": "number", "description": "Value 3", "format": "number" }, "CrId": { "type": "string", "maxLength": 30, "description": "Employee cost centre", "format": "" }, "CcId": { "type": "string", "maxLength": 30, "description": "Employee cost unit", "format": "" }, "EnSe": { "type": "integer", "description": "Employment", "format": "" }, "FuId": { "type": "string", "maxLength": 30, "description": "Job", "format": "" }, "Rem": { "type": "string", "maxLength": 30, "description": "Remark", "format": "" }, "ViTr": { "type": "string", "enum": [ "11", "12", "13", "14", "15", "21", "22", "31", "32", "41", "51" ], "maxLength": 20, "description": "Transport means for WPM reporting\n11 = Petrol vehicles;\n12 = Diesel vehicle;\n13 = Cars belonging to (plug-in) hybrids;\n14 = Cars 100% electric;\n15 = Other fuel cars;\n21 = Petrol/diesel motorcycle ;\n22 = Electric motorcycle;\n31 = Petrol or diesel moped/scooter;\n32 = Electric moped/scooter (including speed-pedelec);\n41 = (Electric) bicycle (not being a speed-pedelec) or walking;\n51 = Public transportation;", "format": "" }, "ViTv": { "type": "string", "enum": [ "01", "02" ], "maxLength": 20, "description": "Type of journey\n01 = Commuting;\n02 = Business trip;", "format": "" } }, "required": [ "PtId", "Year", "PeId", "Id", "DaTi", "EmId", "ErId", "Sc02" ] } } } } } } }, "HrCompMut_PUT": { "type": "object", "properties": { "HrCompMut": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "PtId": { "type": "integer", "description": "Period table", "format": "" }, "Year": { "type": "integer", "description": "Financial year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" }, "Id": { "type": "integer", "description": "Line number", "format": "" }, "DaTi": { "type": "string", "description": "Date", "format": "date" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "ErId": { "type": "string", "maxLength": 15, "description": "Employer", "format": "" }, "Sc02": { "type": "integer", "description": "Looncomponent", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "EmDp": { "type": "string", "maxLength": 10, "description": "Employee organisational unit", "format": "" }, "VaD1": { "type": "number", "multipleOf": 1E-05, "description": "Value 1", "format": "float" }, "VaD2": { "type": "number", "multipleOf": 1E-05, "description": "Value 2", "format": "float" }, "VaD3": { "type": "number", "multipleOf": 1E-05, "description": "Value 3", "format": "float" }, "CrId": { "type": "string", "maxLength": 30, "description": "Employee cost centre", "format": "" }, "CcId": { "type": "string", "maxLength": 30, "description": "Employee cost unit", "format": "" }, "EnSe": { "type": "integer", "description": "Employment", "format": "" }, "FuId": { "type": "string", "maxLength": 30, "description": "Job", "format": "" }, "Rem": { "type": "string", "maxLength": 30, "description": "Remark", "format": "" }, "ViTr": { "type": "string", "enum": [ "11", "12", "13", "14", "15", "21", "22", "31", "32", "41", "51" ], "maxLength": 20, "description": "Transport means for WPM reporting\n11 = Petrol vehicles;\n12 = Diesel vehicle;\n13 = Cars belonging to (plug-in) hybrids;\n14 = Cars 100% electric;\n15 = Other fuel cars;\n21 = Petrol/diesel motorcycle ;\n22 = Electric motorcycle;\n31 = Petrol or diesel moped/scooter;\n32 = Electric moped/scooter (including speed-pedelec);\n41 = (Electric) bicycle (not being a speed-pedelec) or walking;\n51 = Public transportation;", "format": "" }, "ViTv": { "type": "string", "enum": [ "01", "02" ], "maxLength": 20, "description": "Type of journey\n01 = Commuting;\n02 = Business trip;", "format": "" } }, "required": [ "PtId", "Year", "PeId", "Id", "DaTi", "EmId", "ErId", "Sc02" ] } } } } } } }, "HrEmpCareerHistory_POST": { "type": "object", "properties": { "HrEmpCareerHistory": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "BcId": { "type": "string", "maxLength": 15, "description": "Organisation", "format": "" }, "BcCo": { "type": "string", "maxLength": 40, "description": "Organisatie/persoon", "format": "" }, "Nm": { "type": "string", "maxLength": 255, "description": "Name", "format": "" }, "HaJp": { "type": "boolean", "description": "Include in service period benefit", "format": "" }, "DaBe": { "type": "string", "description": "Start date", "format": "date" }, "DaEn": { "type": "string", "description": "End date", "format": "date" }, "NuYe": { "type": "integer", "description": "Years", "format": "" }, "NuMo": { "type": "integer", "description": "Months", "format": "" }, "NuDa": { "type": "integer", "description": "Calendar days", "format": "" }, "HaCa": { "type": "boolean", "description": "Don't count foregoing lines for yrs service paym.", "format": "" }, "EmPr": { "type": "boolean", "description": "Included for current employer/legal predecessor", "format": "" }, "TCh1": { "type": "boolean", "description": "‘Ambtstijd’", "format": "" }, "TCh2": { "type": "boolean", "description": "‘Onderwijstijd’", "format": "" }, "TCh3": { "type": "boolean", "description": "Board time", "format": "" }, "TCh4": { "type": "boolean", "description": "‘Schooltijd’", "format": "" }, "TCh5": { "type": "boolean", "description": "‘Directietijd’", "format": "" }, "TCh6": { "type": "boolean", "description": "‘Uitkeringstijd’", "format": "" }, "TCh7": { "type": "boolean", "description": "‘Zorgtijd’", "format": "" }, "EIId": { "type": "string", "maxLength": 15, "description": "Educational institution", "format": "" }, "EiNm": { "type": "string", "maxLength": 255, "description": "Name of educational institution", "format": "" }, "OaCt": { "type": "string", "maxLength": 20, "description": "Redundancy category", "format": "" }, "HdDb": { "type": "boolean", "description": "Deviating start date career history", "format": "" }, "DfDb": { "type": "string", "description": "Deviating start date", "format": "date" } }, "required": [ "EmId", "Nm", "HaJp", "DaBe", "DaEn", "HaCa", "EmPr", "TCh1", "TCh2", "TCh3", "TCh4", "TCh5", "TCh6", "TCh7", "HdDb" ] } } } } } } }, "HrEmpCareerHistory_PUT": { "type": "object", "properties": { "HrEmpCareerHistory": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "BcId": { "type": "string", "maxLength": 15, "description": "Organisation", "format": "" }, "BcCo": { "type": "string", "maxLength": 40, "description": "Organisatie/persoon", "format": "" }, "Nm": { "type": "string", "maxLength": 255, "description": "Name", "format": "" }, "HaJp": { "type": "boolean", "description": "Include in service period benefit", "format": "" }, "DaBe": { "type": "string", "description": "Start date", "format": "date" }, "DaEn": { "type": "string", "description": "End date", "format": "date" }, "NuYe": { "type": "integer", "description": "Years", "format": "" }, "NuMo": { "type": "integer", "description": "Months", "format": "" }, "NuDa": { "type": "integer", "description": "Calendar days", "format": "" }, "HaCa": { "type": "boolean", "description": "Don't count foregoing lines for yrs service paym.", "format": "" }, "EmPr": { "type": "boolean", "description": "Included for current employer/legal predecessor", "format": "" }, "TCh1": { "type": "boolean", "description": "‘Ambtstijd’", "format": "" }, "TCh2": { "type": "boolean", "description": "‘Onderwijstijd’", "format": "" }, "TCh3": { "type": "boolean", "description": "Board time", "format": "" }, "TCh4": { "type": "boolean", "description": "‘Schooltijd’", "format": "" }, "TCh5": { "type": "boolean", "description": "‘Directietijd’", "format": "" }, "TCh6": { "type": "boolean", "description": "‘Uitkeringstijd’", "format": "" }, "TCh7": { "type": "boolean", "description": "‘Zorgtijd’", "format": "" }, "EIId": { "type": "string", "maxLength": 15, "description": "Educational institution", "format": "" }, "EiNm": { "type": "string", "maxLength": 255, "description": "Name of educational institution", "format": "" }, "OaCt": { "type": "string", "maxLength": 20, "description": "Redundancy category", "format": "" }, "HdDb": { "type": "boolean", "description": "Deviating start date career history", "format": "" }, "DfDb": { "type": "string", "description": "Deviating start date", "format": "date" } }, "required": [ "EmId" ] } } } } } } }, "HrEmployeeDeposit_POST": { "type": "object", "properties": { "HrEmployeeDeposit": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "Desc": { "type": "string", "maxLength": 100, "description": "Description", "format": "" }, "Amnt": { "type": "number", "description": "Amount", "format": "number" }, "DeRe": { "type": "string", "enum": [ "01", "02", "03" ], "maxLength": 20, "description": "Initiative\n01 = Employee;\n02 = Employer;\n03 = Claim;", "format": "" }, "DePa": { "type": "string", "enum": [ "01", "02" ], "maxLength": 20, "description": "Payment method\n01 = Cash payment;\n02 = Pay directly;", "format": "" }, "Cmnt": { "type": "string", "description": "Comment", "format": "byte" }, "Clim": { "type": "boolean", "description": "Claim directly", "format": "" }, "Date": { "type": "string", "description": "Date", "format": "date" }, "Year": { "type": "integer", "description": "Year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" } }, "required": [ "EmId", "Desc", "Amnt", "DeRe", "DePa", "Cmnt", "Clim" ] } } } } } } }, "HrEmployeeDeposit_PUT": { "type": "object", "properties": { "HrEmployeeDeposit": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "Desc": { "type": "string", "maxLength": 100, "description": "Description", "format": "" }, "Amnt": { "type": "number", "multipleOf": 0.01, "description": "Amount", "format": "float" }, "DeRe": { "type": "string", "enum": [ "01", "02", "03" ], "maxLength": 20, "description": "Initiative\n01 = Employee;\n02 = Employer;\n03 = Claim;", "format": "" }, "DePa": { "type": "string", "enum": [ "01", "02" ], "maxLength": 20, "description": "Payment method\n01 = Cash payment;\n02 = Pay directly;", "format": "" }, "Cmnt": { "type": "string", "description": "Comment", "format": "byte" }, "Clim": { "type": "boolean", "description": "Claim directly", "format": "" }, "Date": { "type": "string", "description": "Date", "format": "date" }, "Year": { "type": "integer", "description": "Year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" } } } } } } } } }, "HrEmpPaySlip_POST": { "type": "object", "properties": { "HrEmpPaySlip": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "EmId": { "type": "string", "maxLength": 15, "description": "EmId", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Subject", "format": "" }, "FileName": { "type": "string", "maxLength": 255, "description": "Filename", "format": "" }, "FileStream": { "type": "string", "description": "File as byte-array", "format": "byte" } }, "required": [ "EmId", "Ds", "FileName", "FileStream" ] } } } } } } }, "HrVarValue_POST": { "type": "object", "properties": { "HrVarValue": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "VaId": { "type": "integer", "description": "Parameter", "format": "" }, "Va": { "type": "string", "maxLength": 20, "description": "Waarde", "format": "" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "DaBe": { "type": "string", "description": "Start date", "format": "date" }, "DaEn": { "type": "string", "description": "End date", "format": "date" }, "EnSe": { "type": "integer", "description": "Employment", "format": "" }, "DiTp": { "type": "string", "enum": [ "T", "V", "H" ], "maxLength": 20, "description": "Application\nT = Apply to all employments;\nV = Distribute across all employments;\nH = Apply to main employment;", "format": "" }, "ReAu": { "type": "string", "description": "Reason", "format": "byte" }, "PcId": { "type": "string", "maxLength": 12, "description": "Placement", "format": "" } }, "required": [ "VaId", "EmId", "DaBe" ] } } } } } } }, "HrVarValue_PUT": { "type": "object", "properties": { "HrVarValue": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "VaId": { "type": "integer", "description": "Parameter", "format": "" }, "Va": { "type": "string", "maxLength": 20, "description": "Waarde", "format": "" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "DaBe": { "type": "string", "description": "Start date", "format": "date" }, "DaEn": { "type": "string", "description": "End date", "format": "date" }, "EnSe": { "type": "integer", "description": "Employment", "format": "" }, "DiTp": { "type": "string", "enum": [ "T", "V", "H" ], "maxLength": 20, "description": "Application\nT = Apply to all employments;\nV = Distribute across all employments;\nH = Apply to main employment;", "format": "" }, "ReAu": { "type": "string", "description": "Reason", "format": "byte" }, "PcId": { "type": "string", "maxLength": 12, "description": "Placement", "format": "" } }, "required": [ "VaId" ] } } } } } } } }, "securitySchemes": { "AfasToken": { "name": "Authorization", "type": "apiKey", "in": "header", "description": "Convert the XML token to Base64 and add 'AfasToken ' in front of it." } }, "parameters": { "Accept-Language": { "name": "Accept-Language", "in": "header", "required": false, "description": "Indicates the client's preferred language for the response. If not provided, the API defaults to the base environment language.", "schema": { "type": "string", "enum": [ "en-us", "nl-nl", "nl-be", "fr-fr", "de-de" ], "example": "en-us" } }, "Content-Type": { "name": "Content-Type", "in": "header", "required": false, "description": "Specifies the media type and character encoding for the request body. Ensures proper decoding and interpretation of the transmitted data.", "schema": { "type": "string", "example": "application/json;charset=utf-8" } } }, "responses": { "200": { "description": "OK; request is successfully executed.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(418ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "400": { "description": "Bad Request; invalid request" }, "401": { "description": "Unauthorized; valid token but no access to this endpoint.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(418ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "403": { "description": "Forbidden; Due to IP restrictions in AFAS environment.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(418ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "404": { "description": "Not Found; requested resource is not available on the server.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(101ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "413": { "description": "Payload Too Large.", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(0ms), complete(418ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Thu, 23 Nov 2023 12:11:06 GMT", "schema": { "type": "string" } }, "Content-Length": { "description": "0", "schema": { "type": "string" } } } }, "500": { "description": "Internal Server Error", "headers": { "Cache-Control": { "description": "no-store, no-cache", "schema": { "type": "string" } }, "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Strict-Transport-Security": { "description": "max-age=31536000", "schema": { "type": "string" } }, "X-AFAS-Proxy-Stats": { "description": "init(0ms), before response(1ms), complete(2192ms)", "schema": { "type": "string" } }, "X-AFAS-Proxy-Version": { "description": "4.3.0.0", "schema": { "type": "string" } }, "X-Content-Type-Options": { "description": "nosniff", "schema": { "type": "string" } }, "X-Frame-Options": { "description": "deny", "schema": { "type": "string" } }, "Access-Control-Allow-Origin": { "description": "*", "schema": { "type": "string" } }, "Access-Control-Allow-Headers": { "description": "Content-Type, Accept, Authorization, OnlineSessionId, Accept-Language", "schema": { "type": "string" } }, "Access-Control-Allow-Methods": { "description": "GET, POST, PUT, DELETE, OPTIONS", "schema": { "type": "string" } }, "Access-Control-Max-Age": { "description": "1728000", "schema": { "type": "string" } }, "Date": { "description": "Tue, 30 Jan 2024 20:30:07 GMT", "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "errorNumber": { "type": "integer", "example": { "example": 0 } }, "externalMessage": { "type": "string", "example": { "example": "string" } }, "profitLogReference": { "type": "string", "example": { "example": "string" } } } } } } }, "503": { "description": "Service unavailable; retry at a later time. Contains the number of seconds to wait before retrying the request", "headers": { "Content-Type": { "description": "application/xml; charset=utf-8", "schema": { "type": "string" } }, "Content-Length": { "description": "61", "schema": { "type": "string" } }, "Retry-After": { "description": "7200", "schema": { "type": "string" } } }, "content": { "application/json": { "schema": { "type": "object", "properties": { "error": { "type": "object", "properties": { "code": { "type": "string", "example": { "example": "503" } }, "message": { "type": "string", "example": { "example": "Service temporarily unavailable due to scheduled maintenance. Please check afasstatus.nl for details." } } } }, "retry_after": { "type": "integer", "example": 7200 } } } } } } } }, "security": [ { "AfasToken": [] } ] }