{"collection": {"_": {"postman_id": "ce780685-c88d-445e-b804-9a8b9cfe25ac"}, "item": [{"id": "29a5d850-b85b-4623-aa0e-f0748f29b166", "name": "tasks", "item": [{"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "f061461a-538e-4300-91db-9fb3c01753e6", "name": "tasks/{id}", "item": [{"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}], "event": [], "protocolProfileBehavior": {}}], "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "{{authorization}}", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}, "event": [{"listen": "prerequest", "script": {"id": "6b751a75-810e-4670-8046-925fd51d7c20", "type": "text/javascript", "exec": [""], "_lastExecutionId": "a2b48316-9958-4b0e-b001-7f6b385e83e4"}}, {"listen": "test", "script": {"id": "55a0d7f0-5c94-4005-8584-09f935e27353", "type": "text/javascript", "exec": [""], "_lastExecutionId": "e9965954-460f-4a1f-82b3-4a1806d43d64"}}], "protocolProfileBehavior": {}, "variable": [{"id": "6e49c9e1-2817-4d35-9596-470cddb643b9", "type": "any", "value": "qc.dev.zuid-drecht.nl", "key": "baseUrl"}, {"id": "9f3f9652-0df1-4b38-a29a-74bc6582872b", "type": "any", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "authorization"}], "info": {"_postman_id": "ce780685-c88d-445e-b804-9a8b9cfe25ac", "name": "Queue Component", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": {"content": "API Details\n- Component: Queue Component\n- Reference: que\n- Enviroment: dev\n- Version: V.0.1\n- Repository: [online](https://github.com/ConductionNL/proto-component) / [zip](https://github.com/ConductionNL/proto-component/archive/master.zip)\n- Docker Image: [online](https://hub.docker.com/repository/docker/conduction/pc-php) \n- Datamodel: [postman](/schema/que.postman_collection.json) / [oas](/schema/openapi.yaml) / [pdf](/schema/datamodel.pdf) / [mwb](/schema/datamodel.mwb) \n\n'Naast deze JSON rest API is er ook een [graphql](/graphql) interface beschikbaar.' \n", "type": "text/plain"}}}, "environment": {"id": "e8bedbbf-aca6-4307-a938-d883361bd9f9", "values": []}, "globals": {"id": "a820ceeb-6416-46f5-97c4-23bc4ff9a83f", "values": []}, "run": {"stats": {"iterations": {"total": 1, "pending": 0, "failed": 0}, "items": {"total": 5, "pending": 0, "failed": 0}, "scripts": {"total": 15, "pending": 0, "failed": 0}, "prerequests": {"total": 5, "pending": 0, "failed": 0}, "requests": {"total": 5, "pending": 0, "failed": 0}, "tests": {"total": 5, "pending": 0, "failed": 0}, "assertions": {"total": 14, "pending": 0, "failed": 14}, "testScripts": {"total": 10, "pending": 0, "failed": 0}, "prerequestScripts": {"total": 5, "pending": 0, "failed": 0}}, "timings": {"responseAverage": 30.8, "responseMin": 7, "responseMax": 108, "responseSd": 38.82988539771911, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1711494009916, "completed": 1711494010354}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "522d9a61-563b-4b42-b9de-b72e3fe4ff6d", "httpRequestId": "bafdd57f-554f-48f9-b00e-efec506291be"}, "item": {"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, "request": {"url": {"protocol": "http", "path": ["tasks"], "host": ["qc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}, {"key": "Authorization", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "system": true}, {"key": "User-Agent", "value": "PostmanRuntime/7.29.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "2136e88e-78b9-405d-b972-02e44f4d95c2", "system": true}, {"key": "Host", "value": "qc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate, br", "system": true}, {"key": "Connection", "value": "keep-alive", "system": true}], "method": "GET", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "3253145f-feef-4d34-8faf-222b50c6119d", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 26 Mar 2024 23:00:10 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 108, "responseSize": 2538}, "id": "31a3528d-1327-4457-8114-50929792f1e0", "assertions": [{"assertion": "response is ok", "skipped": false, "error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 200 but got 404", "stack": "AssertionError: expected response to have status code 200 but got 404\n at Object.eval sandbox-script.js:1:1)"}}, {"assertion": "response should be okay to process", "skipped": false, "error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:1)"}}, {"assertion": "response must be valid and have a body", "skipped": false, "error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response to have status reason 'OK' but got 'NOT FOUND'", "stack": "AssertionError: expected response to have status reason 'OK' but got 'NOT FOUND'\n at Object.eval sandbox-script.js:3:1)"}}]}, {"cursor": {"ref": "dc02c641-5411-4542-a164-18382b65f912", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3899e150-f03c-40fc-9a68-1db81cdd8767"}, "item": {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}, "request": {"url": {"protocol": "http", "path": ["tasks"], "host": ["qc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}, {"key": "Authorization", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "system": true}, {"key": "User-Agent", "value": "PostmanRuntime/7.29.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "9b420802-8068-45aa-89ef-703fa43cff11", "system": true}, {"key": "Host", "value": "qc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate, br", "system": true}, {"key": "Connection", "value": "keep-alive", "system": true}, {"key": "Content-Length", "value": "675", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "db4d712f-d28b-4288-8ff0-0cc700775b3f", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 26 Mar 2024 23:00:10 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 18, "responseSize": 2538}, "id": "0f87d217-d7dc-4117-9417-3344060f9e35", "assertions": [{"assertion": "response is ok", "skipped": false, "error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 201 but got 404", "stack": "AssertionError: expected response to have status code 201 but got 404\n at Object.eval sandbox-script.js:1:2)"}}, {"assertion": "response should be okay to process", "skipped": false, "error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:2)"}}, {"assertion": "response must be valid and have a body", "skipped": false, "error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response body to be a valid json but got error Unexpected token '<' at 1:1", "stack": "AssertionError: expected response body to be a valid json but got error Unexpected token '<' at 1:1\n at Object.eval sandbox-script.js:3:2)"}}, {"assertion": "Set ID", "skipped": false, "error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:2)"}}]}, {"cursor": {"ref": "1837113a-e748-4d16-84dc-54b2fa772f7b", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "8ac13823-5eaa-4897-8259-452dc29025fb"}, "item": {"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, "request": {"url": {"protocol": "http", "path": ["tasks", "%7B%7Btask%7D%7D"], "host": ["qc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}, {"key": "Authorization", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "system": true}, {"key": "User-Agent", "value": "PostmanRuntime/7.29.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "96c068f3-8d4a-44a0-b714-e3fe91d962ed", "system": true}, {"key": "Host", "value": "qc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate, br", "system": true}, {"key": "Connection", "value": "keep-alive", "system": true}], "method": "GET", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "28a699c6-ee17-46bd-95f0-139b6d8e6251", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 26 Mar 2024 23:00:10 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 14, "responseSize": 2538}, "id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "assertions": [{"assertion": "response is ok", "skipped": false, "error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 200 but got 404", "stack": "AssertionError: expected response to have status code 200 but got 404\n at Object.eval sandbox-script.js:1:3)"}}, {"assertion": "response should be okay to process", "skipped": false, "error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:3)"}}, {"assertion": "response must be valid and have a body", "skipped": false, "error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response to have status reason 'OK' but got 'NOT FOUND'", "stack": "AssertionError: expected response to have status reason 'OK' but got 'NOT FOUND'\n at Object.eval sandbox-script.js:3:3)"}}]}, {"cursor": {"ref": "3da4f34e-3d39-4ef9-bc44-89b2af32fa39", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "08795ea4-54cc-44a2-89e8-7f1b92fb5347"}, "item": {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, "request": {"url": {"protocol": "http", "path": ["tasks", "%7B%7Btask%7D%7D"], "host": ["qc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}, {"key": "Authorization", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "system": true}, {"key": "User-Agent", "value": "PostmanRuntime/7.29.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "26319ca1-3a67-4d8b-b370-9e34612c699b", "system": true}, {"key": "Host", "value": "qc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate, br", "system": true}, {"key": "Connection", "value": "keep-alive", "system": true}, {"key": "Content-Length", "value": "675", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "1e1ddd6d-a872-4b5b-a397-89f2c2f5bcc6", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 26 Mar 2024 23:00:10 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 7, "responseSize": 2538}, "id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "assertions": [{"assertion": "response is ok", "skipped": false, "error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 200 but got 404", "stack": "AssertionError: expected response to have status code 200 but got 404\n at Object.eval sandbox-script.js:1:4)"}}, {"assertion": "response should be okay to process", "skipped": false, "error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:4)"}}, {"assertion": "response must be valid and have a body", "skipped": false, "error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response to have status reason 'OK' but got 'NOT FOUND'", "stack": "AssertionError: expected response to have status reason 'OK' but got 'NOT FOUND'\n at Object.eval sandbox-script.js:3:4)"}}]}, {"cursor": {"ref": "9734e2c3-ab8c-4fad-8a55-f81c56b78f0f", "length": 5, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "b758b161-009c-4b7f-b8ab-3eedc75298b3"}, "item": {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}, "request": {"url": {"protocol": "http", "path": ["tasks", "%7B%7Btask%7D%7D"], "host": ["qc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Authorization", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "system": true}, {"key": "User-Agent", "value": "PostmanRuntime/7.29.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "4f6fe282-10be-498c-a447-27a60620659c", "system": true}, {"key": "Host", "value": "qc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate, br", "system": true}, {"key": "Connection", "value": "keep-alive", "system": true}], "method": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "05cccdb4-0339-415b-9972-8330e5ee6c40", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 26 Mar 2024 23:00:10 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 7, "responseSize": 2538}, "id": "caa160cb-a60f-40cb-8d81-f46284755c40", "assertions": [{"assertion": "response is ok", "skipped": false, "error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 204 but got 404", "stack": "AssertionError: expected response to have status code 204 but got 404\n at Object.eval sandbox-script.js:1:5)"}}]}], "transfers": {"responseTotal": 12690}, "failures": [{"error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 200 but got 404", "stack": "AssertionError: expected response to have status code 200 but got 404\n at Object.eval sandbox-script.js:1:1)", "checksum": "53fd017dc1e3e4171347442a5e19277e", "id": "2b4c1bd5-d60b-471f-b3ca-c0f55b117873", "timestamp": 1711494010100, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 1, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, "parent": {"id": "29a5d850-b85b-4623-aa0e-f0748f29b166", "name": "tasks", "item": [{"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "522d9a61-563b-4b42-b9de-b72e3fe4ff6d", "httpRequestId": "bafdd57f-554f-48f9-b00e-efec506291be", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "e735b318-76eb-4246-9a05-cb51b4032186"}}, {"error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:1)", "checksum": "4d747364fa07aa04c51ba12c5f6f266a", "id": "c51670bf-0635-41d1-851b-0734c06167ef", "timestamp": 1711494010103, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 1, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, "parent": {"id": "29a5d850-b85b-4623-aa0e-f0748f29b166", "name": "tasks", "item": [{"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "522d9a61-563b-4b42-b9de-b72e3fe4ff6d", "httpRequestId": "bafdd57f-554f-48f9-b00e-efec506291be", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "e735b318-76eb-4246-9a05-cb51b4032186"}}, {"error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response to have status reason 'OK' but got 'NOT FOUND'", "stack": "AssertionError: expected response to have status reason 'OK' but got 'NOT FOUND'\n at Object.eval sandbox-script.js:3:1)", "checksum": "6cfda7f15b969153f9af35aa00a28228", "id": "0571d650-e86d-4602-b2ac-792cd50db0ee", "timestamp": 1711494010105, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 1, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, "parent": {"id": "29a5d850-b85b-4623-aa0e-f0748f29b166", "name": "tasks", "item": [{"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "522d9a61-563b-4b42-b9de-b72e3fe4ff6d", "httpRequestId": "bafdd57f-554f-48f9-b00e-efec506291be", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "e735b318-76eb-4246-9a05-cb51b4032186"}}, {"error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 201 but got 404", "stack": "AssertionError: expected response to have status code 201 but got 404\n at Object.eval sandbox-script.js:1:2)", "checksum": "30a65df38fbed94ed55b81109c8018e6", "id": "9b702f08-53b3-4e7e-8ff4-3ca2a3abe31c", "timestamp": 1711494010172, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 2, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}, "parent": {"id": "29a5d850-b85b-4623-aa0e-f0748f29b166", "name": "tasks", "item": [{"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "dc02c641-5411-4542-a164-18382b65f912", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3899e150-f03c-40fc-9a68-1db81cdd8767", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "7e0dd835-e66f-4421-981e-a391b76257ce"}}, {"error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:2)", "checksum": "6b17d32d26995a7410a72926f16da63f", "id": "6cb6bbc5-2e3a-40ab-88e5-f7a8cbccedd9", "timestamp": 1711494010173, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 2, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}, "parent": {"id": "29a5d850-b85b-4623-aa0e-f0748f29b166", "name": "tasks", "item": [{"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "dc02c641-5411-4542-a164-18382b65f912", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3899e150-f03c-40fc-9a68-1db81cdd8767", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "7e0dd835-e66f-4421-981e-a391b76257ce"}}, {"error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response body to be a valid json but got error Unexpected token '<' at 1:1", "stack": "AssertionError: expected response body to be a valid json but got error Unexpected token '<' at 1:1\n at Object.eval sandbox-script.js:3:2)", "checksum": "22d67d5826aed37af6c89eb1fb3d8563", "id": "b3174bb9-c812-445d-8544-833a33c4267d", "timestamp": 1711494010184, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 2, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}, "parent": {"id": "29a5d850-b85b-4623-aa0e-f0748f29b166", "name": "tasks", "item": [{"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "dc02c641-5411-4542-a164-18382b65f912", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3899e150-f03c-40fc-9a68-1db81cdd8767", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "7e0dd835-e66f-4421-981e-a391b76257ce"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:2)", "checksum": "a3901e66d8b784db140a10eaeec1c363", "id": "f18889e7-244c-43c7-a35a-c7d55dfc0182", "timestamp": 1711494010185, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 4, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 2, "native": false}]}, "at": "assertion:3 in test-script", "source": {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}, "parent": {"id": "29a5d850-b85b-4623-aa0e-f0748f29b166", "name": "tasks", "item": [{"id": "31a3528d-1327-4457-8114-50929792f1e0", "name": "Retrieves the collection of Task resources.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f9a1ee17-f3ec-40bd-b480-171175c5bc9e", "name": "Task collection response", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[endpoint]", "value": "<string>"}, {"key": "order[type]", "value": "<string>"}, {"key": "order[status]", "value": "<string>"}, {"key": "order[requestHeaders]", "value": "<string>"}, {"key": "order[requestBody]", "value": "<string>"}, {"key": "order[responseHeaders]", "value": "<string>"}, {"key": "order[responseBody]", "value": "<string>"}, {"key": "order[responseCode]", "value": "<string>"}, {"key": "order[webHookHeaders]", "value": "<string>"}, {"key": "order[webHookEndpoint]", "value": "<string>"}, {"key": "order[webHookStatus]", "value": "<string>"}, {"key": "order[webHookCode]", "value": "<string>"}, {"key": "order[application]", "value": "<string>"}, {"key": "order[organization]", "value": "<string>"}, {"key": "order[process]", "value": "<string>"}, {"key": "order[dateToTrigger]", "value": "<string>"}, {"key": "order[dateTriggered]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateToTrigger[before]", "value": "<string>"}, {"key": "dateToTrigger[strictly_before]", "value": "<string>"}, {"key": "dateToTrigger[after]", "value": "<string>"}, {"key": "dateToTrigger[strictly_after]", "value": "<string>"}, {"key": "dateTriggered[before]", "value": "<string>"}, {"key": "dateTriggered[strictly_before]", "value": "<string>"}, {"key": "dateTriggered[after]", "value": "<string>"}, {"key": "dateTriggered[strictly_after]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "endpoint", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "endpoint[]", "value": "<string>"}, {"key": "type", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "type[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestHeaders", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestHeaders[][]", "value": "<string>"}, {"key": "requestBody", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "requestBody[][]", "value": "<string>"}, {"key": "responseHeaders", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseHeaders[][]", "value": "<string>"}, {"key": "responseBody", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseBody[][]", "value": "<string>"}, {"key": "responseCode", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "responseCode[]", "value": "<integer>"}, {"key": "webHookHeaders", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookHeaders[][]", "value": "<string>"}, {"key": "webHookEndpoint", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookEndpoint[]", "value": "<string>"}, {"key": "webHookStatus", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookStatus[]", "value": "<string>"}, {"key": "webHookCode", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "webHookCode[]", "value": "<integer>"}, {"key": "application", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "application[]", "value": "<string>"}, {"key": "organization", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "organization[]", "value": "<string>"}, {"key": "process", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "process[]", "value": "<string>"}, {"key": "dateToTrigger", "value": "<string>"}, {"key": "dateToTrigger[]", "value": "<string>"}, {"key": "dateTriggered", "value": "<string>"}, {"key": "dateTriggered[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "e735b318-76eb-4246-9a05-cb51b4032186"}}]}, {"id": "0f87d217-d7dc-4117-9417-3344060f9e35", "name": "Creates a Task resource.", "request": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "03da90df-5f6e-4491-9782-0a23c01c129a", "name": "Task resource created", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6ebba424-8c5f-4765-88a9-a54c8293ee33", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "5e6d0544-ad96-4f1d-af4d-d8cfb0dfad7e", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4cda9669-b7ed-4e87-b7e9-da9870186568", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(201);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " // pm.response.to.be.created; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});\r", "\r", "\r", "pm.test(\"Set ID\", function () {\r", " var jsonData = pm.response.json();\r", " console.log(jsonData);\r", " //var payloadData = JSON.parse(jsonData.Payload); //parsed payload\r", "\r", " //console.log(payloadData.Id);\r", "\r", " pm.environment.set(\"task\", jsonData.id);\r", "});"], "_lastExecutionId": "7e0dd835-e66f-4421-981e-a391b76257ce"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "dc02c641-5411-4542-a164-18382b65f912", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3899e150-f03c-40fc-9a68-1db81cdd8767", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "7e0dd835-e66f-4421-981e-a391b76257ce"}}, {"error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 200 but got 404", "stack": "AssertionError: expected response to have status code 200 but got 404\n at Object.eval sandbox-script.js:1:3)", "checksum": "5622b63dc6cd6d5576862edcc2b2212b", "id": "24847416-4fe6-4518-a42e-6420a56cb040", "timestamp": 1711494010240, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 3, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, "parent": {"id": "f061461a-538e-4300-91db-9fb3c01753e6", "name": "tasks/{id}", "item": [{"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1837113a-e748-4d16-84dc-54b2fa772f7b", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "8ac13823-5eaa-4897-8259-452dc29025fb", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}, {"error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:3)", "checksum": "93f051f655a1696c2da98859990d60db", "id": "f2f57bf5-541b-4057-9c0f-0ce2a99da46a", "timestamp": 1711494010241, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 3, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, "parent": {"id": "f061461a-538e-4300-91db-9fb3c01753e6", "name": "tasks/{id}", "item": [{"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1837113a-e748-4d16-84dc-54b2fa772f7b", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "8ac13823-5eaa-4897-8259-452dc29025fb", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}, {"error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response to have status reason 'OK' but got 'NOT FOUND'", "stack": "AssertionError: expected response to have status reason 'OK' but got 'NOT FOUND'\n at Object.eval sandbox-script.js:3:3)", "checksum": "603990314a0d5e887658b4fd385b2dbd", "id": "20e28329-abb5-4b4d-acfc-85603fb4526c", "timestamp": 1711494010242, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 3, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, "parent": {"id": "f061461a-538e-4300-91db-9fb3c01753e6", "name": "tasks/{id}", "item": [{"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1837113a-e748-4d16-84dc-54b2fa772f7b", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "8ac13823-5eaa-4897-8259-452dc29025fb", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}, {"error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 200 but got 404", "stack": "AssertionError: expected response to have status code 200 but got 404\n at Object.eval sandbox-script.js:1:4)", "checksum": "a89bde3385f260ed583cf6089dcd5aaa", "id": "fe723e25-b001-4be4-95a5-d94829255871", "timestamp": 1711494010295, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 4, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, "parent": {"id": "f061461a-538e-4300-91db-9fb3c01753e6", "name": "tasks/{id}", "item": [{"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3da4f34e-3d39-4ef9-bc44-89b2af32fa39", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "08795ea4-54cc-44a2-89e8-7f1b92fb5347", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}, {"error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:4)", "checksum": "972fb5fe536ae2646797faff2c2f98cd", "id": "57013845-ae50-4407-a467-d3a04cd261ae", "timestamp": 1711494010296, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 4, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, "parent": {"id": "f061461a-538e-4300-91db-9fb3c01753e6", "name": "tasks/{id}", "item": [{"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3da4f34e-3d39-4ef9-bc44-89b2af32fa39", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "08795ea4-54cc-44a2-89e8-7f1b92fb5347", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}, {"error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response to have status reason 'OK' but got 'NOT FOUND'", "stack": "AssertionError: expected response to have status reason 'OK' but got 'NOT FOUND'\n at Object.eval sandbox-script.js:3:4)", "checksum": "2ea275d513fc50a1fecfe05ee6d3114d", "id": "d1e894e3-150d-4aae-b1a8-a436f033e30e", "timestamp": 1711494010297, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 4, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, "parent": {"id": "f061461a-538e-4300-91db-9fb3c01753e6", "name": "tasks/{id}", "item": [{"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3da4f34e-3d39-4ef9-bc44-89b2af32fa39", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "08795ea4-54cc-44a2-89e8-7f1b92fb5347", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}, {"error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 204 but got 404", "stack": "AssertionError: expected response to have status code 204 but got 404\n at Object.eval sandbox-script.js:1:5)", "checksum": "14e8ecf1988c49b5a06987cd7567758f", "id": "3abe4eea-aad9-470a-a255-6b93124b96e5", "timestamp": 1711494010345, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 5, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}, "parent": {"id": "f061461a-538e-4300-91db-9fb3c01753e6", "name": "tasks/{id}", "item": [{"id": "cfcb4dd3-2c5c-4cfe-89db-93852509d5b2", "name": "Retrieves a Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6b813deb-aac5-4a53-80bf-0edf932d054c", "name": "Task resource response", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8ef6e29c-b545-43cf-ad5d-c9a287ff76eb", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bcad20ee-3847-4a96-9302-49a7ef04fb1b"}}]}, {"id": "9bd0b919-5451-4955-ba77-9c77c08e141a", "name": "Replaces the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"task\",\n \"description\": \"this is a description\",\n \"endpoint\": \"endpoint\",\n \"type\": \"POST\",\n \"status\": \"completed\",\n \"requestHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"requestBody\": \"body\",\n \"responseHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"responseBody\": [\n \"body\",\n \"body2\"\n ],\n \"webHookHeaders\": [\n \"header\",\n \"header2\"\n ],\n \"webHookEndpoint\": \"endpoint\",\n \"webHookStatus\": \"completed\",\n \"application\": \"https://www.test.nl\",\n \"organization\": \"https://www.test.nl\",\n \"process\": \"process\",\n\t\"dateToTrigger\": \"01-01-2020\",\n\t\"dateTriggered\": \"01-01-2020\"\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "660c8bb3-5c42-4111-8229-f7da06fc447b", "name": "Invalid input", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "a2934f6e-8bcf-4ac1-b3b4-6a14b45960c4", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81cb9342-a047-44eb-ab2a-42f1fe033370", "name": "Task resource updated", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"description\": \"<string>\",\n \"endpoint\": \"<string>\",\n \"type\": \"<string>\",\n \"status\": \"<string>\",\n \"requestHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"requestBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseBody\": [\n \"<string>\",\n \"<string>\"\n ],\n \"responseCode\": \"<integer>\",\n \"webHookHeaders\": [\n \"<string>\",\n \"<string>\"\n ],\n \"webHookEndpoint\": \"<string>\",\n \"webHookStatus\": \"<string>\",\n \"webHookCode\": \"<integer>\",\n \"application\": \"<string>\",\n \"organization\": \"<string>\",\n \"process\": \"<string>\",\n \"dateToTrigger\": \"<dateTime>\",\n \"dateTriggered\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "51309032-1040-4e4b-a1db-1a0d70659281", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8247ee9a-3e86-4113-885f-2f2c9f85cfea"}}]}, {"id": "caa160cb-a60f-40cb-8d81-f46284755c40", "name": "Removes the Task resource.", "request": {"url": {"path": ["tasks", "{{task}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d1096247-57c7-4a75-bd4b-fb21386e27ce", "name": "Resource not found", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "456b8f09-fa3c-4ea5-b9b8-edfc7f2dfc43", "name": "Task resource deleted", "originalRequest": {"url": {"path": ["tasks", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(204);\r", "});\r", ""], "_lastExecutionId": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "9734e2c3-ab8c-4fad-8a55-f81c56b78f0f", "length": 5, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "b758b161-009c-4b7f-b8ab-3eedc75298b3", "scriptId": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "execution": "52e82b42-7220-4b02-9330-31f61c6d5e77"}}], "error": null}}