{ "openapi": "3.0.0", "info": { "version": "8.8.11", "title": "AFAS Bouw API", "description": "This API describes the endpoints related to Bouw. 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/PtAllowedOutPurch": { "post": { "summary": "Allowed (outside purchase)", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/106604.htm", "operationId": "POST_PtAllowedOutPurch", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtAllowedOutPurch_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": [ "Allowed (outside purchase)" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/PtConProjectForecast": { "post": { "summary": "Status survey per project", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_Pro_PtProjFC.htm", "operationId": "POST_PtConProjectForecast", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtConProjectForecast_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": [ "Status survey per project" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/PtMeasurement": { "post": { "summary": "Bill of quantities", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_PtMeasurement.htm", "operationId": "POST_PtMeasurement", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtMeasurement_POST" }, "examples": { "Minimal example": { "value": { "PtMeasurement": { "Element": { "Fields": { "PrId": "P00047", "DbId": "10110" }, "Objects": [ { "PtMeasurementLines": { "Element": { "Fields": { "VaMt": "1", "VaMk": "O", "VaPr": "N", "VaIt": "6", "ItCd": "80335", "Ds": "Aandrijvingen", "BiUn": "STK", "Qu": "2", "CoPr": "10", "Pric": "15", "QuPr": "1" } } } } ] } } } }, "niet verrekenbare regels": { "value": { "PtMeasurement": { "Element": { "Fields": { "MsId": "00000004", "QuId": "000002", "PrId": "1", "DbId": "10000" }, "Objects": { "PtMeasurementLines": { "Element": [ { "Fields": { "SeNo": "51647801", "VaMt": "1", "VaMk": "O", "VaPr": "N", "VaIt": "6", "ItCd": "K03", "Ds": "Termijncode via PtMeasurement", "BiUn": "*****", "Qu": "5", "CoPr": "10", "Pric": "20", "QuPr": "2" } }, { "Fields": { "SeNo": "51647801", "VaMt": "2", "VaMk": "O", "VaPr": "N", "VaIt": "6", "ItCd": "D002", "BiUn": "*****", "AmCo": "15", "Pric": "30", "AmTo": "30", "AmPr": "6" } } ] } } } } } }, "verrekenbare regels": { "value": { "PtMeasurement": { "Element": { "Fields": { "MsId": "00000003", "QuId": "000002", "PrId": "1", "DbId": "10000" }, "Objects": { "PtMeasurementLines": { "Element": [ { "Fields": { "SeNo": "51647801", "VaMt": "1", "VaMk": "O", "VaPr": "V", "VaIt": "6", "ItCd": "K03", "Ds": "Termijncode via PtMeasurement", "BiUn": "*****", "Qu": "5", "CoPr": "10", "Pric": "20", "QuPr": "2" } }, { "Fields": { "SeNo": "51647801", "VaMt": "2", "VaMk": "O", "VaPr": "V", "VaIt": "6", "ItCd": "D002", "BiUn": "*****", "AmCo": "15", "Pric": "30", "AmTo": "30", "AmPr": "6" } } ] } } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "PtMeasurement": { "MsId": "00000009" } } } } } }, "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": [ "Bill of quantities" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Bill of quantities", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_PtMeasurement.htm", "operationId": "PUT_PtMeasurement", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtMeasurement_PUT" }, "examples": { "niet verrekenbare regels": { "value": { "PtMeasurement": { "Element": { "Fields": { "MsId": "00000001" }, "Objects": { "PtMeasurementLines": { "Element": [ { "Fields": { "GuLi": "{DB22196F-E28D-4E8B-977D-961E3BF4E909}", "QuPr": "3" } }, { "Fields": { "GuLi": "{CCB08F2A-0DB6-4860-ACCB-DB8F5DEC68BC}", "QuPr": "3" } } ] } } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "PtMeasurement": { "MsId": "00000009" } } } } } }, "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": [ "Bill of quantities" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/PtMeasurement/PtMeasurementLines": { "post": { "summary": "Bill of quantities", "description": "Update main record in PtMeasurement and insert subrecord into PtMeasurementLines. \n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_PtMeasurement.htm", "operationId": "POSTSubRecordPtMeasurementPtMeasurementLines", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtMeasurement_POST" }, "examples": { "add line to measurement": { "value": { "PtMeasurement": { "Element": { "Fields": { "MsId": "00000009" }, "Objects": [ { "PtMeasurementLines": { "Element": { "Fields": { "VaMt": "1", "VaMk": "O", "VaPr": "N", "VaIt": "6", "ItCd": "80333", "Ds": "Koppelstuk", "BiUn": "STK", "Qu": "2", "CoPr": "10", "Pric": "15", "QuPr": "1" } } } } ] } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "PtMeasurement": { "MsId": "00000009" } } } } } }, "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": [ "Bill of quantities" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/PtMonitor": { "post": { "summary": "Monitoring code", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_Pro_PtMon.htm", "operationId": "POST_PtMonitor", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtMonitor_POST" }, "examples": { "multiple lines": { "value": { "PtMonitor": { "Element": [ { "Fields": { "MoCd": "60.ma", "Ds": "Bewakingscode import Materiaal", "CoTy": "ma" } }, { "Fields": { "MoCd": "60.me", "Ds": "Bewakingscode import Materieel", "CoTy": "me" } }, { "Fields": { "MoCd": "60.a", "Ds": "Bewakingscode import Arbeid", "CoTy": "a" } }, { "Fields": { "MoCd": "60.oa", "Ds": "Bewakingscode import Onderaanneming", "CoTy": "oa" } }, { "Fields": { "MoCd": "60.o", "Ds": "Bewakingscode import Overige kosten", "CoTy": "o" } } ] } } }, "single line": { "value": { "PtMonitor": { "Element": { "Fields": { "MoCd": "012666", "Ds": "insert bewakingscode", "CoTy": "MA", "MPul": "1" } } } } } } } } }, "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": [ "Monitoring code" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Monitoring code", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_Pro_PtMon.htm", "operationId": "PUT_PtMonitor", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtMonitor_PUT" }, "examples": { "change a code": { "value": { "PtMonitor": { "Element": [ { "Fields": { "MoCd": "60.ma", "Ds": "Bewakingscode import Materiaal gewijzigd", "CoTy": "ma" } } ] } } }, "change code to type other": { "value": { "PtMonitor": { "Element": { "Fields": { "MoCd": "60.ma", "Ds": "Bewakingscode import Materiaal naar Overige kosten", "CoTy": "O" } } } } }, "multipe purchase to plural lines": { "value": { "PtMonitor": { "Element": { "Fields": { "MoCd": "013010", "Ds": "update bewakingscode", "CoTy": "MA", "MPul": "1" } } } } } } } } }, "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": [ "Monitoring code" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/PtOptionList": { "post": { "summary": "Option list", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_Pro_PtOptCh.htm", "operationId": "POST_PtOptionList", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtOptionList_POST" }, "examples": { "create new optionlist": { "value": { "PtOptionList": { "Element": { "Fields": { "PrId": "P00047", "CoFa": "1", "Ds": "This is a main construction project" }, "Objects": [ { "PtOptionListLines": { "Element": { "Fields": { "Code": "1000", "Ds": "This is a line in a optionlist." } } } } ] } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "PtOptionList": { "OlNu": "000022" } } } } } }, "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": [ "Option list" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Option list", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_Pro_PtOptCh.htm", "operationId": "PUT_PtOptionList", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtOptionList_PUT" }, "examples": { "optionlist": { "value": { "PtOptionList": { "Element": { "Fields": { "OlNu": "000022", "PrId": "P00047", "CoFa": "1", "Ds": "Change the description of the optionlist." }, "Objects": [ { "PtOptionListLines": { "Element": { "Fields": { "Code": "1000", "Ds": "Change this all so while we are making a change." } } } } ] } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "PtOptionList": { "OlNu": "000022" } } } } } }, "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": [ "Option list" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/PtOptionList/PtOptionListLines": { "post": { "summary": "Option list", "description": "Update main record in PtOptionList and insert subrecord into PtOptionListLines. \n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_Pro_PtOptCh.htm", "operationId": "POSTSubRecordPtOptionListPtOptionListLines", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtOptionList_POST" }, "examples": { "create add a line to an optionlist": { "value": { "PtOptionList": { "Element": { "Fields": { "OlNu": "000022" }, "Objects": [ { "PtOptionListLines": { "Element": { "Fields": { "Code": "1001", "Ds": "This is an extra line" } } } } ] } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "PtOptionList": { "OlNu": "000022" } } } } } }, "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": [ "Option list" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } }, "/connectors/PtOptionListLine": { "post": { "summary": "Option list line", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_Pro_PtOptCh.htm", "operationId": "POST_PtOptionListLine", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtOptionListLine_POST" }, "examples": { "Create new line": { "value": { "PtOptionListLine": { "Element": { "Fields": { "OlNu": "000025", "Code": "1000", "PrId": "P00042-01", "Ds": "Test" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "PtOptionListLine": [ { "OlNu": "000025" }, { "Code": "1000" } ] } } } } }, "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": [ "Option list line" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] }, "put": { "summary": "Option list line", "description": "\n\rAlleen beschikbaar onder conditie: Bouw (activering)\n\r https://help.afas.nl/help/NL/SE/App_Conect_UpdDsc_Pro_PtOptCh.htm", "operationId": "PUT_PtOptionListLine", "requestBody": { "content": { "application/json": { "schema": { "$ref": "#/components/schemas/PtOptionListLine_PUT" }, "examples": { "Change line description": { "value": { "PtOptionListLine": { "Element": { "Fields": { "OlNu": "000025", "Code": "1000", "PrId": "P00042-01", "Ds": "Update this description" } } } } } } } } }, "responses": { "201": { "description": "Created", "content": { "application/json": { "schema": { "type": "object" }, "examples": { "Response example": { "value": { "PtOptionListLine": [ { "OlNu": "000025" }, { "Code": "1000" } ] } } } } }, "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": [ "Option list line" ], "parameters": [ { "$ref": "#/components/parameters/Accept-Language" }, { "$ref": "#/components/parameters/Content-Type" } ] } } }, "tags": [ { "name": "GET", "description": "GET" }, { "name": "API Info", "description": "API Info" }, { "name": "Allowed (outside purchase)", "description": "Allowed (outside purchase)" }, { "name": "Status survey per project", "description": "Status survey per project" }, { "name": "Bill of quantities", "description": "Bill of quantities" }, { "name": "Monitoring code", "description": "Monitoring code" }, { "name": "Option list", "description": "Option list" }, { "name": "Option list line", "description": "Option list line" } ], "components": { "schemas": { "PtAllowedOutPurch_POST": { "type": "object", "properties": { "PtAllowedOutPurch": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "AlId": { "type": "integer", "description": "Allowed outside purchase ID", "format": "" }, "GuLi": { "type": "string", "maxLength": 38, "description": "Cost estimate line GUID", "format": "uuid" }, "DaTi": { "type": "string", "description": "Date", "format": "date" }, "Amou": { "type": "number", "description": "Allowed", "format": "number" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "PtAllowedOutPurchRea": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "ReId": { "type": "integer", "description": "Actual costing line", "format": "" } }, "required": [ "ReId" ] } } } } } } } } } } } } } } }, "PtConProjectForecast_POST": { "type": "object", "properties": { "PtConProjectForecast": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "Date": { "type": "string", "description": "Date", "format": "date-time" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "PeRe": { "type": "number", "description": "% Ready", "format": "number" }, "Adju": { "type": "number", "description": "Amount adjustment", "format": "number" }, "Adqu": { "type": "number", "description": "Quantity adjustment", "format": "number" }, "Re": { "type": "string", "description": "Comment", "format": "byte" } }, "required": [ "PrId", "MoId" ] } } } } } } }, "PtMeasurement_POST": { "type": "object", "properties": { "PtMeasurement": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "MsId": { "type": "string", "maxLength": 12, "description": "Bill of quantities number", "format": "" }, "QuId": { "type": "string", "maxLength": 21, "description": "Cost estimate", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "DbId": { "type": "string", "maxLength": 16, "description": "Sales contact", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "PtMeasurementLines": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "GuLi": { "type": "string", "maxLength": 38, "description": "Bill of quantities line", "format": "uuid" }, "SeNo": { "type": "integer", "description": "Sequence number", "format": "" }, "VaMt": { "type": "string", "enum": [ "1", "2", "3" ], "maxLength": 20, "description": "Type of bill of quantities line\n1 = Number;\n2 = Amount;\n3 = Text;", "format": "" }, "VaMk": { "type": "string", "enum": [ "M", "o" ], "maxLength": 20, "description": "Type of bill of quantities line\nM = Additional or less work;\no = Original;", "format": "" }, "VaPr": { "type": "string", "enum": [ "A", "F", "N", "V" ], "maxLength": 20, "description": "Method of processing\nA = To approve;\nF = Fictitious;\nN = Non-deductible;\nV = Deductible;", "format": "" }, "CoLi": { "type": "number", "description": "Specification item number", "format": "number" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "Ds": { "type": "string", "maxLength": 100, "description": "Description", "format": "" }, "Re": { "type": "string", "description": "Remark", "format": "byte" }, "BiUn": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "Qu": { "type": "number", "description": "Number", "format": "number" }, "PrEw": { "type": "number", "description": "End of work forecast", "format": "number" }, "CoPr": { "type": "number", "description": "Cost price", "format": "number" }, "AmCo": { "type": "number", "description": "Cost price amount", "format": "number" }, "Pric": { "type": "number", "description": "Sales price", "format": "number" }, "AmTo": { "type": "number", "description": "Line amount", "format": "number" }, "QuPr": { "type": "number", "description": "Progress quantity", "format": "number" }, "AmPr": { "type": "number", "description": "Progress amount", "format": "number" }, "Di01": { "type": "integer", "description": "(not used)", "format": "" }, "Di02": { "type": "integer", "description": "(not used)", "format": "" }, "Di03": { "type": "integer", "description": "(not used)", "format": "" }, "Di04": { "type": "integer", "description": "(not used)", "format": "" }, "Di05": { "type": "integer", "description": "(not used)", "format": "" }, "FoId": { "type": "integer", "description": "Price review formula", "format": "" } }, "required": [ "ItCd" ] } } } } } } } } } } } } } } }, "PtMeasurement_PUT": { "type": "object", "properties": { "PtMeasurement": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "MsId": { "type": "string", "maxLength": 12, "description": "Bill of quantities number", "format": "" }, "QuId": { "type": "string", "maxLength": 21, "description": "Cost estimate", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "DbId": { "type": "string", "maxLength": 16, "description": "Sales contact", "format": "" } }, "required": [ "MsId" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "PtMeasurementLines": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "GuLi": { "type": "string", "maxLength": 38, "description": "Bill of quantities line", "format": "uuid" }, "SeNo": { "type": "integer", "description": "Sequence number", "format": "" }, "VaMt": { "type": "string", "enum": [ "1", "2", "3" ], "maxLength": 20, "description": "Type of bill of quantities line\n1 = Number;\n2 = Amount;\n3 = Text;", "format": "" }, "VaMk": { "type": "string", "enum": [ "M", "o" ], "maxLength": 20, "description": "Type of bill of quantities line\nM = Additional or less work;\no = Original;", "format": "" }, "VaPr": { "type": "string", "enum": [ "A", "F", "N", "V" ], "maxLength": 20, "description": "Method of processing\nA = To approve;\nF = Fictitious;\nN = Non-deductible;\nV = Deductible;", "format": "" }, "CoLi": { "type": "number", "description": "Specification item number", "format": "number" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "Ds": { "type": "string", "maxLength": 100, "description": "Description", "format": "" }, "Re": { "type": "string", "description": "Remark", "format": "byte" }, "BiUn": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "Qu": { "type": "number", "multipleOf": 1E-05, "description": "Number", "format": "float" }, "PrEw": { "type": "number", "multipleOf": 1E-05, "description": "End of work forecast", "format": "float" }, "CoPr": { "type": "number", "multipleOf": 1E-10, "description": "Cost price", "format": "float" }, "AmCo": { "type": "number", "multipleOf": 1E-10, "description": "Cost price amount", "format": "float" }, "Pric": { "type": "number", "multipleOf": 1E-10, "description": "Sales price", "format": "float" }, "AmTo": { "type": "number", "multipleOf": 1E-10, "description": "Line amount", "format": "float" }, "QuPr": { "type": "number", "multipleOf": 1E-05, "description": "Progress quantity", "format": "float" }, "AmPr": { "type": "number", "multipleOf": 1E-10, "description": "Progress amount", "format": "float" }, "Di01": { "type": "integer", "description": "(not used)", "format": "" }, "Di02": { "type": "integer", "description": "(not used)", "format": "" }, "Di03": { "type": "integer", "description": "(not used)", "format": "" }, "Di04": { "type": "integer", "description": "(not used)", "format": "" }, "Di05": { "type": "integer", "description": "(not used)", "format": "" }, "FoId": { "type": "integer", "description": "Price review formula", "format": "" } }, "required": [ "GuLi" ] } } } } } } } } } } } } } } }, "PtMonitor_POST": { "type": "object", "properties": { "PtMonitor": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "MoCd": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "Ds": { "type": "string", "maxLength": 100, "description": "Description", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "MPul": { "type": "string", "enum": [ "0", "1", "2", "3" ], "maxLength": 20, "description": "Several purchase orders\n0 = Not allowed;\n1 = Allowed, only when exceeding including in the purchase result;\n2 = Allowed, include directly in the purchase result;\n3 = Allowed, purchase and output result back in budget.;", "format": "" }, "Chap": { "type": "string", "maxLength": 20, "description": "Chapter", "format": "" }, "Para": { "type": "string", "maxLength": 20, "description": "Paragraph", "format": "" } }, "required": [ "MoCd" ] } } } } } } }, "PtMonitor_PUT": { "type": "object", "properties": { "PtMonitor": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "MoCd": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "Ds": { "type": "string", "maxLength": 100, "description": "Description", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "MPul": { "type": "string", "enum": [ "0", "1", "2", "3" ], "maxLength": 20, "description": "Several purchase orders\n0 = Not allowed;\n1 = Allowed, only when exceeding including in the purchase result;\n2 = Allowed, include directly in the purchase result;\n3 = Allowed, purchase and output result back in budget.;", "format": "" }, "Chap": { "type": "string", "maxLength": 20, "description": "Chapter", "format": "" }, "Para": { "type": "string", "maxLength": 20, "description": "Paragraph", "format": "" } } } } } } } } }, "PtOptionListLine_POST": { "type": "object", "properties": { "PtOptionListLine": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "OlNu": { "type": "string", "maxLength": 12, "description": "Option list number", "format": "" }, "Code": { "type": "string", "maxLength": 15, "description": "Code", "format": "" }, "AddToChoices": { "type": "boolean", "description": "Kiezen j/n", "format": "" }, "Submit": { "type": "boolean", "description": "Indienen j/n", "format": "" }, "MakeFinal": { "type": "boolean", "description": "Volledige optiekeuzelijst definitief maken j/n", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "QuId": { "type": "string", "maxLength": 21, "description": "Cost estimate", "format": "" }, "ViMg": { "type": "string", "maxLength": 20, "description": "Main group", "format": "" }, "ViSg": { "type": "string", "maxLength": 20, "description": "Sub-group", "format": "" }, "CoFa": { "type": "string", "enum": [ "1", "2" ], "maxLength": 20, "description": "Construction phase\n1 = Carcass work;\n2 = Reduction;", "format": "" }, "ClDa": { "type": "string", "description": "Closing date", "format": "date" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "Re": { "type": "string", "description": "Comment", "format": "byte" }, "Qu": { "type": "number", "description": "Number", "format": "number" }, "FiAm": { "type": "boolean", "description": "Fixed quantity", "format": "" }, "QUMi": { "type": "number", "description": "Minimum quantity", "format": "number" }, "QUMa": { "type": "number", "description": "Maximum number", "format": "number" }, "UnId": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "FiId": { "type": "string", "maxLength": 32, "description": "Attachment", "format": "" }, "FileName1": { "type": "string", "maxLength": 255, "description": "Filename1", "format": "" }, "FileStream1": { "type": "string", "description": "File1 as byte-array", "format": "byte" }, "FileName2": { "type": "string", "maxLength": 255, "description": "Filename2", "format": "" }, "FileStream2": { "type": "string", "description": "File2 as byte-array", "format": "byte" }, "FileName3": { "type": "string", "maxLength": 255, "description": "Filename3", "format": "" }, "FileStream3": { "type": "string", "description": "File3 as byte-array", "format": "byte" }, "FileName4": { "type": "string", "maxLength": 255, "description": "Naam bestand bijlage koper", "format": "" }, "FileStream4": { "type": "string", "description": "Bijlage koper as byte-array", "format": "byte" }, "Bl": { "type": "boolean", "description": "Blocked", "format": "" }, "AtMa": { "type": "string", "enum": [ "N", "T", "V" ], "maxLength": 20, "description": "Buyer attachment mandatory\nN = Not allowed;\nT = Allowed;\nV = Mandatory;", "format": "" } }, "required": [ "OlNu" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "KnQuotation": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "QuId": { "type": "string", "maxLength": 21, "description": "Quotation number", "format": "" }, "DbId": { "type": "string", "maxLength": 16, "description": "Sales contact", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "KnQuotationLine": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "UnId": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "QuUn": { "type": "number", "description": "Number of units", "format": "number" }, "PrFc": { "type": "integer", "description": "Price factor", "format": "" }, "QuLe": { "type": "number", "description": "Length", "format": "number" }, "QuWi": { "type": "number", "description": "Width", "format": "number" }, "QuHe": { "type": "number", "description": "Height", "format": "number" }, "Qu": { "type": "number", "description": "Number", "format": "number" }, "QuSa": { "type": "number", "description": "Sales (number)", "format": "number" }, "Upri": { "type": "number", "description": "Price per unit", "format": "number" }, "AmCo": { "type": "number", "description": "Cost price", "format": "number" }, "LdFc": { "type": "number", "description": "Discount amout", "format": "number" }, "DcPr": { "type": "number", "description": "Discount percentage", "format": "number" }, "VaRc": { "type": "string", "maxLength": 4, "description": "VAT rate group", "format": "" }, "DaSy": { "type": "string", "description": "Date created", "format": "date" }, "PlDa": { "type": "string", "description": "Date planning", "format": "date" }, "TiCl": { "type": "boolean", "description": "Closed", "format": "" }, "StId": { "type": "string", "maxLength": 5, "description": "Hour type", "format": "" }, "Ch": { "type": "boolean", "description": "Charge", "format": "" }, "V1Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "V2Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "V3Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "V4Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "V5Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "TwId": { "type": "string", "maxLength": 15, "description": "Integration group", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrGp": { "type": "string", "maxLength": 15, "description": "Project group", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "Di01": { "type": "integer", "description": "(Not used)", "format": "" }, "Di02": { "type": "integer", "description": "(Not used)", "format": "" }, "Di03": { "type": "integer", "description": "(Not used)", "format": "" }, "Di04": { "type": "integer", "description": "(Not used)", "format": "" }, "Di05": { "type": "integer", "description": "(Not used)", "format": "" }, "Year": { "type": "integer", "description": "Financial year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" }, "DaTi": { "type": "string", "description": "Reference date", "format": "date" }, "War": { "type": "string", "maxLength": 15, "description": "Warehouse", "format": "" }, "DeDi": { "type": "boolean", "description": "Direct supply from supplier", "format": "" }, "PuDi": { "type": "boolean", "description": "Always order", "format": "" }, "StL1": { "type": "string", "maxLength": 10, "description": "Article dimension code 1", "format": "" }, "StL2": { "type": "string", "maxLength": 10, "description": "Article dimension code 2", "format": "" }, "DaNe": { "type": "string", "description": "Date required", "format": "date" }, "MaPc": { "type": "number", "description": "Margin (%)", "format": "number" }, "StTi": { "type": "string", "description": "Start time", "format": "date-time" }, "EnTi": { "type": "string", "description": "End time", "format": "date-time" }, "Re": { "type": "string", "description": "Remark", "format": "byte" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "NoHo": { "type": "number", "description": "Hour standard", "format": "number" }, "UnCo": { "type": "string", "maxLength": 15, "description": "Conversion unit", "format": "" }, "MuTy": { "type": "string", "enum": [ "01", "02", "03", "04", "05", "06", "07" ], "maxLength": 20, "description": "Entry type\n01 = Original;\n02 = More/less work;\n03 = Split;\n04 = Moved;\n05 = Changed;\n06 = Deleted;\n07 = Released;", "format": "" }, "MuRe": { "type": "string", "description": "Entry comment", "format": "byte" } }, "required": [ "VaIt" ] } } } } } } } } } } } } } } } } } } } } } } }, "PtOptionListLine_PUT": { "type": "object", "properties": { "PtOptionListLine": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "OlNu": { "type": "string", "maxLength": 12, "description": "Option list number", "format": "" }, "Code": { "type": "string", "maxLength": 15, "description": "Code", "format": "" }, "AddToChoices": { "type": "boolean", "description": "Kiezen j/n", "format": "" }, "Submit": { "type": "boolean", "description": "Indienen j/n", "format": "" }, "MakeFinal": { "type": "boolean", "description": "Volledige optiekeuzelijst definitief maken j/n", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "QuId": { "type": "string", "maxLength": 21, "description": "Cost estimate", "format": "" }, "ViMg": { "type": "string", "maxLength": 20, "description": "Main group", "format": "" }, "ViSg": { "type": "string", "maxLength": 20, "description": "Sub-group", "format": "" }, "CoFa": { "type": "string", "enum": [ "1", "2" ], "maxLength": 20, "description": "Construction phase\n1 = Carcass work;\n2 = Reduction;", "format": "" }, "ClDa": { "type": "string", "description": "Closing date", "format": "date" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "Re": { "type": "string", "description": "Comment", "format": "byte" }, "Qu": { "type": "number", "multipleOf": 1E-05, "description": "Number", "format": "float" }, "FiAm": { "type": "boolean", "description": "Fixed quantity", "format": "" }, "QUMi": { "type": "number", "multipleOf": 1E-05, "description": "Minimum quantity", "format": "float" }, "QUMa": { "type": "number", "multipleOf": 1E-05, "description": "Maximum number", "format": "float" }, "UnId": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "FiId": { "type": "string", "maxLength": 32, "description": "Attachment", "format": "" }, "FileName1": { "type": "string", "maxLength": 255, "description": "Filename1", "format": "" }, "FileStream1": { "type": "string", "description": "File1 as byte-array", "format": "byte" }, "FileName2": { "type": "string", "maxLength": 255, "description": "Filename2", "format": "" }, "FileStream2": { "type": "string", "description": "File2 as byte-array", "format": "byte" }, "FileName3": { "type": "string", "maxLength": 255, "description": "Filename3", "format": "" }, "FileStream3": { "type": "string", "description": "File3 as byte-array", "format": "byte" }, "FileName4": { "type": "string", "maxLength": 255, "description": "Naam bestand bijlage koper", "format": "" }, "FileStream4": { "type": "string", "description": "Bijlage koper as byte-array", "format": "byte" }, "Bl": { "type": "boolean", "description": "Blocked", "format": "" }, "AtMa": { "type": "string", "enum": [ "N", "T", "V" ], "maxLength": 20, "description": "Buyer attachment mandatory\nN = Not allowed;\nT = Allowed;\nV = Mandatory;", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "KnQuotation": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "QuId": { "type": "string", "maxLength": 21, "description": "Quotation number", "format": "" }, "DbId": { "type": "string", "maxLength": 16, "description": "Sales contact", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" } }, "required": [ "QuId" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "KnQuotationLine": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "UnId": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "QuUn": { "type": "number", "multipleOf": 1E-05, "description": "Number of units", "format": "float" }, "PrFc": { "type": "integer", "description": "Price factor", "format": "" }, "QuLe": { "type": "number", "multipleOf": 1E-05, "description": "Length", "format": "float" }, "QuWi": { "type": "number", "multipleOf": 1E-05, "description": "Width", "format": "float" }, "QuHe": { "type": "number", "multipleOf": 1E-05, "description": "Height", "format": "float" }, "Qu": { "type": "number", "multipleOf": 1E-05, "description": "Number", "format": "float" }, "QuSa": { "type": "number", "multipleOf": 1E-05, "description": "Sales (number)", "format": "float" }, "Upri": { "type": "number", "multipleOf": 1E-10, "description": "Price per unit", "format": "float" }, "AmCo": { "type": "number", "multipleOf": 1E-10, "description": "Cost price", "format": "float" }, "LdFc": { "type": "number", "multipleOf": 1E-10, "description": "Discount amout", "format": "float" }, "DcPr": { "type": "number", "multipleOf": 0.01, "description": "Discount percentage", "format": "float" }, "VaRc": { "type": "string", "maxLength": 4, "description": "VAT rate group", "format": "" }, "DaSy": { "type": "string", "description": "Date created", "format": "date" }, "PlDa": { "type": "string", "description": "Date planning", "format": "date" }, "TiCl": { "type": "boolean", "description": "Closed", "format": "" }, "StId": { "type": "string", "maxLength": 5, "description": "Hour type", "format": "" }, "Ch": { "type": "boolean", "description": "Charge", "format": "" }, "V1Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "V2Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "V3Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "V4Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "V5Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "TwId": { "type": "string", "maxLength": 15, "description": "Integration group", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrGp": { "type": "string", "maxLength": 15, "description": "Project group", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "Di01": { "type": "integer", "description": "(Not used)", "format": "" }, "Di02": { "type": "integer", "description": "(Not used)", "format": "" }, "Di03": { "type": "integer", "description": "(Not used)", "format": "" }, "Di04": { "type": "integer", "description": "(Not used)", "format": "" }, "Di05": { "type": "integer", "description": "(Not used)", "format": "" }, "Year": { "type": "integer", "description": "Financial year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" }, "DaTi": { "type": "string", "description": "Reference date", "format": "date" }, "War": { "type": "string", "maxLength": 15, "description": "Warehouse", "format": "" }, "DeDi": { "type": "boolean", "description": "Direct supply from supplier", "format": "" }, "PuDi": { "type": "boolean", "description": "Always order", "format": "" }, "StL1": { "type": "string", "maxLength": 10, "description": "Article dimension code 1", "format": "" }, "StL2": { "type": "string", "maxLength": 10, "description": "Article dimension code 2", "format": "" }, "DaNe": { "type": "string", "description": "Date required", "format": "date" }, "MaPc": { "type": "number", "multipleOf": 0.01, "description": "Margin (%)", "format": "float" }, "StTi": { "type": "string", "description": "Start time", "format": "date-time" }, "EnTi": { "type": "string", "description": "End time", "format": "date-time" }, "Re": { "type": "string", "description": "Remark", "format": "byte" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "NoHo": { "type": "number", "multipleOf": 1E-05, "description": "Hour standard", "format": "float" }, "UnCo": { "type": "string", "maxLength": 15, "description": "Conversion unit", "format": "" }, "MuTy": { "type": "string", "enum": [ "01", "02", "03", "04", "05", "06", "07" ], "maxLength": 20, "description": "Entry type\n01 = Original;\n02 = More/less work;\n03 = Split;\n04 = Moved;\n05 = Changed;\n06 = Deleted;\n07 = Released;", "format": "" }, "MuRe": { "type": "string", "description": "Entry comment", "format": "byte" } } } } } } } } } } } } } } } } } } } } } } } } }, "PtOptionList_POST": { "type": "object", "properties": { "PtOptionList": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "OlNu": { "type": "string", "maxLength": 12, "description": "Number", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "CoTy": { "type": "string", "maxLength": 15, "description": "Construction type", "format": "" }, "CoFa": { "type": "string", "enum": [ "1", "2" ], "maxLength": 20, "description": "Construction phase\n1 = Carcass work;\n2 = Reduction;", "format": "" }, "AvFr": { "type": "string", "description": "Available from", "format": "date" }, "ClDa": { "type": "string", "description": "Closing date", "format": "date" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "PtOptionListLines": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "Code": { "type": "string", "maxLength": 15, "description": "Code", "format": "" }, "QuId": { "type": "string", "maxLength": 21, "description": "Cost estimate", "format": "" }, "ViMg": { "type": "string", "maxLength": 20, "description": "Main group", "format": "" }, "ViSg": { "type": "string", "maxLength": 20, "description": "Sub-group", "format": "" }, "CoFa": { "type": "string", "enum": [ "1", "2" ], "maxLength": 20, "description": "Construction phase\n1 = Carcass work;\n2 = Reduction;", "format": "" }, "ClDa": { "type": "string", "description": "Closing date", "format": "date" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "Re": { "type": "string", "description": "Comment", "format": "byte" }, "Qu": { "type": "number", "description": "Number", "format": "number" }, "FiAm": { "type": "boolean", "description": "Fixed quantity", "format": "" }, "QUMi": { "type": "number", "description": "Minimum quantity", "format": "number" }, "QUMa": { "type": "number", "description": "Maximum number", "format": "number" }, "UnId": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "FiId": { "type": "string", "maxLength": 32, "description": "Attachment", "format": "" }, "FileName1": { "type": "string", "maxLength": 255, "description": "Filename1", "format": "" }, "FileStream1": { "type": "string", "description": "File1 as byte-array", "format": "byte" }, "FileName2": { "type": "string", "maxLength": 255, "description": "Filename2", "format": "" }, "FileStream2": { "type": "string", "description": "File2 as byte-array", "format": "byte" }, "FileName3": { "type": "string", "maxLength": 255, "description": "Filename3", "format": "" }, "FileStream3": { "type": "string", "description": "File3 as byte-array", "format": "byte" }, "Bl": { "type": "boolean", "description": "Blocked", "format": "" }, "AtMa": { "type": "string", "enum": [ "N", "T", "V" ], "maxLength": 20, "description": "Buyer attachment mandatory\nN = Not allowed;\nT = Allowed;\nV = Mandatory;", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "KnQuotation": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "QuId": { "type": "string", "maxLength": 21, "description": "Quotation number", "format": "" }, "DbId": { "type": "string", "maxLength": 16, "description": "Sales contact", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "KnQuotationLine": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "UnId": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "QuUn": { "type": "number", "description": "Number of units", "format": "number" }, "PrFc": { "type": "integer", "description": "Price factor", "format": "" }, "QuLe": { "type": "number", "description": "Length", "format": "number" }, "QuWi": { "type": "number", "description": "Width", "format": "number" }, "QuHe": { "type": "number", "description": "Height", "format": "number" }, "Qu": { "type": "number", "description": "Number", "format": "number" }, "QuSa": { "type": "number", "description": "Sales (number)", "format": "number" }, "Upri": { "type": "number", "description": "Price per unit", "format": "number" }, "AmCo": { "type": "number", "description": "Cost price", "format": "number" }, "LdFc": { "type": "number", "description": "Discount amout", "format": "number" }, "DcPr": { "type": "number", "description": "Discount percentage", "format": "number" }, "VaRc": { "type": "string", "maxLength": 4, "description": "VAT rate group", "format": "" }, "DaSy": { "type": "string", "description": "Date created", "format": "date" }, "PlDa": { "type": "string", "description": "Date planning", "format": "date" }, "TiCl": { "type": "boolean", "description": "Closed", "format": "" }, "StId": { "type": "string", "maxLength": 5, "description": "Hour type", "format": "" }, "Ch": { "type": "boolean", "description": "Charge", "format": "" }, "V1Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "V2Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "V3Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "V4Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "V5Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "TwId": { "type": "string", "maxLength": 15, "description": "Integration group", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrGp": { "type": "string", "maxLength": 15, "description": "Project group", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "Di01": { "type": "integer", "description": "(Not used)", "format": "" }, "Di02": { "type": "integer", "description": "(Not used)", "format": "" }, "Di03": { "type": "integer", "description": "(Not used)", "format": "" }, "Di04": { "type": "integer", "description": "(Not used)", "format": "" }, "Di05": { "type": "integer", "description": "(Not used)", "format": "" }, "Year": { "type": "integer", "description": "Financial year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" }, "DaTi": { "type": "string", "description": "Reference date", "format": "date" }, "War": { "type": "string", "maxLength": 15, "description": "Warehouse", "format": "" }, "DeDi": { "type": "boolean", "description": "Direct supply from supplier", "format": "" }, "PuDi": { "type": "boolean", "description": "Always order", "format": "" }, "StL1": { "type": "string", "maxLength": 10, "description": "Article dimension code 1", "format": "" }, "StL2": { "type": "string", "maxLength": 10, "description": "Article dimension code 2", "format": "" }, "DaNe": { "type": "string", "description": "Date required", "format": "date" }, "MaPc": { "type": "number", "description": "Margin (%)", "format": "number" }, "StTi": { "type": "string", "description": "Start time", "format": "date-time" }, "EnTi": { "type": "string", "description": "End time", "format": "date-time" }, "Re": { "type": "string", "description": "Remark", "format": "byte" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "NoHo": { "type": "number", "description": "Hour standard", "format": "number" }, "UnCo": { "type": "string", "maxLength": 15, "description": "Conversion unit", "format": "" }, "MuTy": { "type": "string", "enum": [ "01", "02", "03", "04", "05", "06", "07" ], "maxLength": 20, "description": "Entry type\n01 = Original;\n02 = More/less work;\n03 = Split;\n04 = Moved;\n05 = Changed;\n06 = Deleted;\n07 = Released;", "format": "" }, "MuRe": { "type": "string", "description": "Entry comment", "format": "byte" } }, "required": [ "VaIt" ] } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }, "PtOptionList_PUT": { "type": "object", "properties": { "PtOptionList": { "type": "object", "properties": { "Element": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "OlNu": { "type": "string", "maxLength": 12, "description": "Number", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "CoTy": { "type": "string", "maxLength": 15, "description": "Construction type", "format": "" }, "CoFa": { "type": "string", "enum": [ "1", "2" ], "maxLength": 20, "description": "Construction phase\n1 = Carcass work;\n2 = Reduction;", "format": "" }, "AvFr": { "type": "string", "description": "Available from", "format": "date" }, "ClDa": { "type": "string", "description": "Closing date", "format": "date" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" } }, "required": [ "OlNu" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "PtOptionListLines": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "Code": { "type": "string", "maxLength": 15, "description": "Code", "format": "" }, "QuId": { "type": "string", "maxLength": 21, "description": "Cost estimate", "format": "" }, "ViMg": { "type": "string", "maxLength": 20, "description": "Main group", "format": "" }, "ViSg": { "type": "string", "maxLength": 20, "description": "Sub-group", "format": "" }, "CoFa": { "type": "string", "enum": [ "1", "2" ], "maxLength": 20, "description": "Construction phase\n1 = Carcass work;\n2 = Reduction;", "format": "" }, "ClDa": { "type": "string", "description": "Closing date", "format": "date" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "Re": { "type": "string", "description": "Comment", "format": "byte" }, "Qu": { "type": "number", "multipleOf": 1E-05, "description": "Number", "format": "float" }, "FiAm": { "type": "boolean", "description": "Fixed quantity", "format": "" }, "QUMi": { "type": "number", "multipleOf": 1E-05, "description": "Minimum quantity", "format": "float" }, "QUMa": { "type": "number", "multipleOf": 1E-05, "description": "Maximum number", "format": "float" }, "UnId": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "FiId": { "type": "string", "maxLength": 32, "description": "Attachment", "format": "" }, "FileName1": { "type": "string", "maxLength": 255, "description": "Filename1", "format": "" }, "FileStream1": { "type": "string", "description": "File1 as byte-array", "format": "byte" }, "FileName2": { "type": "string", "maxLength": 255, "description": "Filename2", "format": "" }, "FileStream2": { "type": "string", "description": "File2 as byte-array", "format": "byte" }, "FileName3": { "type": "string", "maxLength": 255, "description": "Filename3", "format": "" }, "FileStream3": { "type": "string", "description": "File3 as byte-array", "format": "byte" }, "Bl": { "type": "boolean", "description": "Blocked", "format": "" }, "AtMa": { "type": "string", "enum": [ "N", "T", "V" ], "maxLength": 20, "description": "Buyer attachment mandatory\nN = Not allowed;\nT = Allowed;\nV = Mandatory;", "format": "" } } }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "KnQuotation": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "QuId": { "type": "string", "maxLength": 21, "description": "Quotation number", "format": "" }, "DbId": { "type": "string", "maxLength": 16, "description": "Sales contact", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "CuId": { "type": "string", "maxLength": 3, "description": "Currency", "format": "" } }, "required": [ "QuId" ] }, "Objects": { "type": "array", "items": { "type": "object", "properties": { "KnQuotationLine": { "type": "object", "properties": { "Element": { "type": "array", "items": { "type": "object", "properties": { "Fields": { "type": "object", "properties": { "VaIt": { "type": "string", "enum": [ "1", "10", "11", "14", "2", "3", "4", "5", "6", "7", "8" ], "maxLength": 10, "description": "Item type\n1 = Work type;\n10 = Production indicator;\n11 = Dough;\n14 = Item dimension total;\n2 = Article;\n3 = Text;\n4 = Sub-total;\n5 = Allowance;\n6 = Costs;\n7 = Assembled item;\n8 = Course;", "format": "" }, "ItCd": { "type": "string", "maxLength": 40, "description": "Itemcode", "format": "" }, "GuLi": { "type": "string", "maxLength": 38, "description": "GUID line", "format": "uuid" }, "EmId": { "type": "string", "maxLength": 15, "description": "Employee", "format": "" }, "Ds": { "type": "string", "maxLength": 255, "description": "Description", "format": "" }, "UnId": { "type": "string", "maxLength": 15, "description": "Unit", "format": "" }, "QuUn": { "type": "number", "multipleOf": 1E-05, "description": "Number of units", "format": "float" }, "PrFc": { "type": "integer", "description": "Price factor", "format": "" }, "QuLe": { "type": "number", "multipleOf": 1E-05, "description": "Length", "format": "float" }, "QuWi": { "type": "number", "multipleOf": 1E-05, "description": "Width", "format": "float" }, "QuHe": { "type": "number", "multipleOf": 1E-05, "description": "Height", "format": "float" }, "Qu": { "type": "number", "multipleOf": 1E-05, "description": "Number", "format": "float" }, "QuSa": { "type": "number", "multipleOf": 1E-05, "description": "Sales (number)", "format": "float" }, "Upri": { "type": "number", "multipleOf": 1E-10, "description": "Price per unit", "format": "float" }, "AmCo": { "type": "number", "multipleOf": 1E-10, "description": "Cost price", "format": "float" }, "LdFc": { "type": "number", "multipleOf": 1E-10, "description": "Discount amout", "format": "float" }, "DcPr": { "type": "number", "multipleOf": 0.01, "description": "Discount percentage", "format": "float" }, "VaRc": { "type": "string", "maxLength": 4, "description": "VAT rate group", "format": "" }, "DaSy": { "type": "string", "description": "Date created", "format": "date" }, "PlDa": { "type": "string", "description": "Date planning", "format": "date" }, "TiCl": { "type": "boolean", "description": "Closed", "format": "" }, "StId": { "type": "string", "maxLength": 5, "description": "Hour type", "format": "" }, "Ch": { "type": "boolean", "description": "Charge", "format": "" }, "V1Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 1", "format": "" }, "V2Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 2", "format": "" }, "V3Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 3", "format": "" }, "V4Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 4", "format": "" }, "V5Cd": { "type": "string", "maxLength": 16, "description": "Exception axis code 5", "format": "" }, "TwId": { "type": "string", "maxLength": 15, "description": "Integration group", "format": "" }, "PrId": { "type": "string", "maxLength": 15, "description": "Project", "format": "" }, "PrGp": { "type": "string", "maxLength": 15, "description": "Project group", "format": "" }, "PrSt": { "type": "string", "maxLength": 15, "description": "Project phase", "format": "" }, "Di01": { "type": "integer", "description": "(Not used)", "format": "" }, "Di02": { "type": "integer", "description": "(Not used)", "format": "" }, "Di03": { "type": "integer", "description": "(Not used)", "format": "" }, "Di04": { "type": "integer", "description": "(Not used)", "format": "" }, "Di05": { "type": "integer", "description": "(Not used)", "format": "" }, "Year": { "type": "integer", "description": "Financial year", "format": "" }, "PeId": { "type": "integer", "description": "Period", "format": "" }, "DaTi": { "type": "string", "description": "Reference date", "format": "date" }, "War": { "type": "string", "maxLength": 15, "description": "Warehouse", "format": "" }, "DeDi": { "type": "boolean", "description": "Direct supply from supplier", "format": "" }, "PuDi": { "type": "boolean", "description": "Always order", "format": "" }, "StL1": { "type": "string", "maxLength": 10, "description": "Article dimension code 1", "format": "" }, "StL2": { "type": "string", "maxLength": 10, "description": "Article dimension code 2", "format": "" }, "DaNe": { "type": "string", "description": "Date required", "format": "date" }, "MaPc": { "type": "number", "multipleOf": 0.01, "description": "Margin (%)", "format": "float" }, "StTi": { "type": "string", "description": "Start time", "format": "date-time" }, "EnTi": { "type": "string", "description": "End time", "format": "date-time" }, "Re": { "type": "string", "description": "Remark", "format": "byte" }, "MoId": { "type": "string", "maxLength": 15, "description": "Monitoring code", "format": "" }, "CoTy": { "type": "string", "enum": [ "MA", "A", "ME", "OA", "O" ], "maxLength": 20, "description": "Type of project costs\nMA = Material;\nA = Labour;\nME = Equipment;\nOA = Subcontracting;\nO = Other costs;", "format": "" }, "NoHo": { "type": "number", "multipleOf": 1E-05, "description": "Hour standard", "format": "float" }, "UnCo": { "type": "string", "maxLength": 15, "description": "Conversion unit", "format": "" }, "MuTy": { "type": "string", "enum": [ "01", "02", "03", "04", "05", "06", "07" ], "maxLength": 20, "description": "Entry type\n01 = Original;\n02 = More/less work;\n03 = Split;\n04 = Moved;\n05 = Changed;\n06 = Deleted;\n07 = Released;", "format": "" }, "MuRe": { "type": "string", "description": "Entry comment", "format": "byte" } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } } }, "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": [] } ] }