{"collection": {"_": {"postman_id": "ce780685-c88d-445e-b804-9a8b9cfe25ac"}, "item": [{"id": "e46dd320-5e91-4bb5-9ff2-e0db13a02f4a", "name": "tasks", "item": [{"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "11371de7-0b66-41d7-990e-13cd755f2302", "name": "tasks/{id}", "item": [{"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}], "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": "3984c87e-5f5b-41b0-a4f1-6b2c3b95254b"}}, {"listen": "test", "script": {"id": "55a0d7f0-5c94-4005-8584-09f935e27353", "type": "text/javascript", "exec": [""], "_lastExecutionId": "e147b7eb-da26-4e82-9794-c9be13c6e080"}}], "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": "856aa9ac-3640-458b-8060-93336cb45f2c", "values": []}, "globals": {"id": "b0978cac-0ff7-4789-ab97-ceaa26dab09c", "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": 28.2, "responseMin": 9, "responseMax": 95, "responseSd": 33.4747666160647, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1713477608912, "completed": 1713477609372}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "8036e7af-f019-4c6c-a3a8-42da2236b331", "httpRequestId": "5563be55-6ea9-4159-89ce-8b6608c57ac8"}, "item": {"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, "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": "9da385c6-e105-4ab1-be80-258d7b55c465", "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": "256c9c70-b88d-489b-9607-2efa4c64935c", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 18 Apr 2024 22:00:09 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": 95, "responseSize": 2538}, "id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "67ab2ffb-afb1-42c9-9928-8823ebfefa0e", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "e6edea09-6885-457d-9ba4-1bfa7ee96f70"}, "item": {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}, "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": "1b30bd25-25b9-4c20-894b-712196e3eb8f", "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": "84c8f3e8-5d0a-4da3-8b6f-adc509d36407", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 18 Apr 2024 22:00:09 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": 9, "responseSize": 2538}, "id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "60cab38f-f51d-46d9-bd46-7e966871c609", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "74586ee5-0c2c-4c02-8238-ea2500cbc7ba"}, "item": {"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, "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": "74aa7866-939c-4f43-beb1-9a00e4400c54", "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": "95e059b5-2ddc-43f6-862c-baf390ec0ff3", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 18 Apr 2024 22:00:09 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": "d3224621-3983-4f95-a018-008162d8e452", "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": "c41f3a02-ae76-4d34-aab5-bdb34489d606", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "0f4e5e79-9150-42f3-a434-9eb41f86557b"}, "item": {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, "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": "3110e072-a830-4a02-be74-177e33f4d9a5", "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": "80bc0c1a-5710-497e-a5dc-108c3f66d53a", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 18 Apr 2024 22:00:09 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": 9, "responseSize": 2538}, "id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "67998c5b-6636-431b-bbf8-fdd112cb1d09", "length": 5, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "ff34f703-edca-4598-b194-a12649464a34"}, "item": {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}, "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": "a3191a19-36dd-44da-92a0-5bb49b0056d3", "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": "e7075ce0-cd0e-4b11-8e7a-0c6450848b6b", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 18 Apr 2024 22:00:09 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": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "4194487c-90bf-4f49-90d9-065d2ae371be", "timestamp": 1713477609078, "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": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, "parent": {"id": "e46dd320-5e91-4bb5-9ff2-e0db13a02f4a", "name": "tasks", "item": [{"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "8036e7af-f019-4c6c-a3a8-42da2236b331", "httpRequestId": "5563be55-6ea9-4159-89ce-8b6608c57ac8", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}, {"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": "32779d53-cdbd-44b2-8568-4a84bb578458", "timestamp": 1713477609081, "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": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, "parent": {"id": "e46dd320-5e91-4bb5-9ff2-e0db13a02f4a", "name": "tasks", "item": [{"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "8036e7af-f019-4c6c-a3a8-42da2236b331", "httpRequestId": "5563be55-6ea9-4159-89ce-8b6608c57ac8", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}, {"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": "a43e9c50-f6b2-4906-aaa8-62c5ed404dc2", "timestamp": 1713477609082, "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": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, "parent": {"id": "e46dd320-5e91-4bb5-9ff2-e0db13a02f4a", "name": "tasks", "item": [{"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "8036e7af-f019-4c6c-a3a8-42da2236b331", "httpRequestId": "5563be55-6ea9-4159-89ce-8b6608c57ac8", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}, {"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": "6e8320d7-daa5-424e-a2ae-949f2df24355", "timestamp": 1713477609148, "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": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}, "parent": {"id": "e46dd320-5e91-4bb5-9ff2-e0db13a02f4a", "name": "tasks", "item": [{"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "67ab2ffb-afb1-42c9-9928-8823ebfefa0e", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "e6edea09-6885-457d-9ba4-1bfa7ee96f70", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "cf280124-a3c2-444c-b188-9919b76d4342"}}, {"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": "eeb8c530-0061-4183-b017-45d8b30ff477", "timestamp": 1713477609149, "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": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}, "parent": {"id": "e46dd320-5e91-4bb5-9ff2-e0db13a02f4a", "name": "tasks", "item": [{"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "67ab2ffb-afb1-42c9-9928-8823ebfefa0e", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "e6edea09-6885-457d-9ba4-1bfa7ee96f70", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "cf280124-a3c2-444c-b188-9919b76d4342"}}, {"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": "354fd1a4-1232-43f9-b96c-6a957ddbbdd1", "timestamp": 1713477609157, "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": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}, "parent": {"id": "e46dd320-5e91-4bb5-9ff2-e0db13a02f4a", "name": "tasks", "item": [{"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "67ab2ffb-afb1-42c9-9928-8823ebfefa0e", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "e6edea09-6885-457d-9ba4-1bfa7ee96f70", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "cf280124-a3c2-444c-b188-9919b76d4342"}}, {"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": "8b795033-b198-4f1c-8ade-a23583826c56", "timestamp": 1713477609158, "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": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}, "parent": {"id": "e46dd320-5e91-4bb5-9ff2-e0db13a02f4a", "name": "tasks", "item": [{"id": "ce671469-e961-4813-81cc-c0ef63f39d8d", "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": "08aac927-e5ad-43e8-9d7e-30380dc987bc", "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": "0b250068-0714-43fb-bf9e-f7e1015bb0bb"}}]}, {"id": "8eb1fd9d-3a7b-432c-820f-ac83263fc29a", "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": "a1c2c704-f2f8-46ed-b013-d96d84de4a5f", "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": "6cb5f448-60aa-496a-a9c3-6b038d60e7db", "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": "69ad10b9-ffa8-4d32-8190-53d615f81ec2", "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": "cf280124-a3c2-444c-b188-9919b76d4342"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "67ab2ffb-afb1-42c9-9928-8823ebfefa0e", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "e6edea09-6885-457d-9ba4-1bfa7ee96f70", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "cf280124-a3c2-444c-b188-9919b76d4342"}}, {"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": "280d49c8-672b-4966-b2f0-19b04037fff4", "timestamp": 1713477609219, "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": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, "parent": {"id": "11371de7-0b66-41d7-990e-13cd755f2302", "name": "tasks/{id}", "item": [{"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "60cab38f-f51d-46d9-bd46-7e966871c609", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "74586ee5-0c2c-4c02-8238-ea2500cbc7ba", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}, {"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": "8a8fd93d-8116-4460-a2ea-b7ffaa2d3d19", "timestamp": 1713477609220, "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": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, "parent": {"id": "11371de7-0b66-41d7-990e-13cd755f2302", "name": "tasks/{id}", "item": [{"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "60cab38f-f51d-46d9-bd46-7e966871c609", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "74586ee5-0c2c-4c02-8238-ea2500cbc7ba", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}, {"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": "8f5bad2b-f26f-4095-9fcb-28432728f86c", "timestamp": 1713477609221, "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": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, "parent": {"id": "11371de7-0b66-41d7-990e-13cd755f2302", "name": "tasks/{id}", "item": [{"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "60cab38f-f51d-46d9-bd46-7e966871c609", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "74586ee5-0c2c-4c02-8238-ea2500cbc7ba", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}, {"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": "c780331a-bd61-4c3c-96d5-209add7cacc0", "timestamp": 1713477609280, "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": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, "parent": {"id": "11371de7-0b66-41d7-990e-13cd755f2302", "name": "tasks/{id}", "item": [{"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c41f3a02-ae76-4d34-aab5-bdb34489d606", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "0f4e5e79-9150-42f3-a434-9eb41f86557b", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}, {"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": "3d175164-0745-43a9-add8-6c8599edb60b", "timestamp": 1713477609281, "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": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, "parent": {"id": "11371de7-0b66-41d7-990e-13cd755f2302", "name": "tasks/{id}", "item": [{"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c41f3a02-ae76-4d34-aab5-bdb34489d606", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "0f4e5e79-9150-42f3-a434-9eb41f86557b", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}, {"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": "05f38798-2183-48a6-81b4-3fb1929f8344", "timestamp": 1713477609282, "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": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, "parent": {"id": "11371de7-0b66-41d7-990e-13cd755f2302", "name": "tasks/{id}", "item": [{"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c41f3a02-ae76-4d34-aab5-bdb34489d606", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "0f4e5e79-9150-42f3-a434-9eb41f86557b", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}, {"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": "ad13c392-ce34-4bd3-a35e-894fba9d99af", "timestamp": 1713477609352, "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": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}, "parent": {"id": "11371de7-0b66-41d7-990e-13cd755f2302", "name": "tasks/{id}", "item": [{"id": "d3224621-3983-4f95-a018-008162d8e452", "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": "2145a07c-239c-47cc-a894-91a4b840b65a", "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": "4dfdf7b1-3f93-447a-b497-e53d2d43b182", "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": "9351dde1-734d-4264-92db-b17a06b5a7ff"}}]}, {"id": "2b51bb64-470f-478c-b66d-24d77e1ad639", "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": "4b95e532-0144-4c78-b198-9d6bb5d99125", "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": "4be995f9-a779-4016-a256-ff4d92b29753", "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": "d80227db-6ee6-4fd7-9474-5f111d95be22", "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": "a73ebb0a-8d1e-4637-b3dd-9ead009fa024"}}]}, {"id": "dff38e67-54c9-44ac-9eb6-6f382a672a4e", "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": "715dc157-a868-411e-be0f-8c61ad0957c3", "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": "91f817d1-2812-4182-b5b6-e9bdd6baa782", "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": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "67998c5b-6636-431b-bbf8-fdd112cb1d09", "length": 5, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "ff34f703-edca-4598-b194-a12649464a34", "scriptId": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "execution": "e5b50c4e-d0f0-48eb-9d19-c474a91f5037"}}], "error": null}}