{"collection": {"_": {"postman_id": "ce780685-c88d-445e-b804-9a8b9cfe25ac"}, "item": [{"id": "cf580d33-0410-4e41-b984-7a2fc526d495", "name": "tasks", "item": [{"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "4c81718e-7fef-4268-8d48-16eb09f2e8b7", "name": "tasks/{id}", "item": [{"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}], "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": "99e4a0ea-da91-461b-a02f-e79509704f1b"}}, {"listen": "test", "script": {"id": "55a0d7f0-5c94-4005-8584-09f935e27353", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60dbf02f-a532-4081-a701-e64e29f31130"}}], "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": "1cc189ab-4e95-405b-9a3b-2f7fb2193d58", "values": []}, "globals": {"id": "40e686a8-f63a-4355-8115-92237889a23e", "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": 26.8, "responseMin": 7, "responseMax": 95, "responseSd": 34.16079624364748, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1711062008538, "completed": 1711062008980}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "39fc7de8-13ae-4d3e-8d66-d904d430a1c4", "httpRequestId": "8b6ebb2a-5cdf-486d-9b91-8cd0bcfea767"}, "item": {"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, "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": "f2481ad8-612d-4cf7-968b-89cecec48361", "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": "23d55368-709b-4283-b2eb-c52281462ac2", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 21 Mar 2024 23:00:08 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": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "39c2b320-4ea7-4dbe-a0f7-f4747c4d5045", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "8c7ec0bb-de48-4b7e-a16e-3601afa2b961"}, "item": {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}, "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": "a4a661d7-bbf6-4afa-beac-2092a299fbde", "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": "177da6e8-0890-4225-95ce-6748e8f541ef", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 21 Mar 2024 23:00:08 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": 12, "responseSize": 2538}, "id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "8877d279-2593-4197-800b-78f9d285a5e3", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "c4a2544a-77b1-4345-ac5f-c5a5589df233"}, "item": {"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, "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": "75354df0-96c0-4771-944d-7fc6784b1f9a", "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": "5e0e2c4f-d747-47c7-b61c-879c929486ce", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 21 Mar 2024 23:00:08 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": 12, "responseSize": 2538}, "id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "9c1b781f-4af3-4b99-b7a1-973e8d52f807", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "847a522f-66bb-4f2b-9fec-27bb50e7072a"}, "item": {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, "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": "b7ec7d0c-9f33-45ce-b31f-01343ab75d0c", "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": "48b65fb1-e411-4d4f-b422-573b0c0b0b16", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 21 Mar 2024 23:00:08 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": 8, "responseSize": 2538}, "id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "6545dafb-f93f-444d-82ca-9dbecdbf3d9f", "length": 5, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "2187c6d1-18f0-4e96-95e1-ca91c9766732"}, "item": {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}, "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": "95b2fccc-4694-4c8d-a810-242e48ef6b05", "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": "711659e2-d863-427e-80d0-3e0db5d711f2", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Thu, 21 Mar 2024 23:00:08 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 7, "responseSize": 2538}, "id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "6ba328bf-090f-42e3-978f-a6d3932e14d3", "timestamp": 1711062008731, "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": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, "parent": {"id": "cf580d33-0410-4e41-b984-7a2fc526d495", "name": "tasks", "item": [{"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "39fc7de8-13ae-4d3e-8d66-d904d430a1c4", "httpRequestId": "8b6ebb2a-5cdf-486d-9b91-8cd0bcfea767", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}, {"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": "df5aff66-a520-4a08-852c-fd5c653de23c", "timestamp": 1711062008735, "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": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, "parent": {"id": "cf580d33-0410-4e41-b984-7a2fc526d495", "name": "tasks", "item": [{"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "39fc7de8-13ae-4d3e-8d66-d904d430a1c4", "httpRequestId": "8b6ebb2a-5cdf-486d-9b91-8cd0bcfea767", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}, {"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": "2467d98e-8212-44c2-b33b-9e926c0c7d54", "timestamp": 1711062008737, "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": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, "parent": {"id": "cf580d33-0410-4e41-b984-7a2fc526d495", "name": "tasks", "item": [{"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "39fc7de8-13ae-4d3e-8d66-d904d430a1c4", "httpRequestId": "8b6ebb2a-5cdf-486d-9b91-8cd0bcfea767", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}, {"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": "4c613ef2-93d4-446f-aacb-076b7004a7ae", "timestamp": 1711062008799, "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": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}, "parent": {"id": "cf580d33-0410-4e41-b984-7a2fc526d495", "name": "tasks", "item": [{"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "39c2b320-4ea7-4dbe-a0f7-f4747c4d5045", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "8c7ec0bb-de48-4b7e-a16e-3601afa2b961", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}, {"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": "e240c3c5-856c-4654-bb08-f743dfad143d", "timestamp": 1711062008800, "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": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}, "parent": {"id": "cf580d33-0410-4e41-b984-7a2fc526d495", "name": "tasks", "item": [{"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "39c2b320-4ea7-4dbe-a0f7-f4747c4d5045", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "8c7ec0bb-de48-4b7e-a16e-3601afa2b961", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}, {"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": "4b8e976d-e710-4118-b091-32d0312ad0cd", "timestamp": 1711062008811, "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": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}, "parent": {"id": "cf580d33-0410-4e41-b984-7a2fc526d495", "name": "tasks", "item": [{"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "39c2b320-4ea7-4dbe-a0f7-f4747c4d5045", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "8c7ec0bb-de48-4b7e-a16e-3601afa2b961", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}, {"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": "b6cd94ca-f654-4ada-b42a-a6e7b70df362", "timestamp": 1711062008812, "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": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}, "parent": {"id": "cf580d33-0410-4e41-b984-7a2fc526d495", "name": "tasks", "item": [{"id": "3b387984-5caf-47cf-bbe8-8a6796cf24a0", "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": "35d29aa2-56e6-48db-961f-c690a708f59c", "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": "3848482d-fcb7-4954-807f-1ee82cc627e8"}}]}, {"id": "7f04495b-f81f-49e8-96f5-c0369e80f9de", "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": "1fe0ddab-1c2a-4fd6-be0c-80be8809dded", "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": "bee2f0fb-bd81-4922-955a-0ca0c8d8c9db", "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": "56df612f-8a01-40cd-bea8-ee7a2d38ce78", "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": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "39c2b320-4ea7-4dbe-a0f7-f4747c4d5045", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "8c7ec0bb-de48-4b7e-a16e-3601afa2b961", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "0f96edc9-4e90-4306-96b4-d0711be417ab"}}, {"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": "c8db5ff6-a5ce-43c8-9b48-279d242f3a28", "timestamp": 1711062008865, "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": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, "parent": {"id": "4c81718e-7fef-4268-8d48-16eb09f2e8b7", "name": "tasks/{id}", "item": [{"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8877d279-2593-4197-800b-78f9d285a5e3", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "c4a2544a-77b1-4345-ac5f-c5a5589df233", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "7872a489-46ec-4709-ac6c-7ec09214591e"}}, {"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": "eef5a8a8-1f01-4421-a4ac-0dec4d173ed2", "timestamp": 1711062008865, "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": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, "parent": {"id": "4c81718e-7fef-4268-8d48-16eb09f2e8b7", "name": "tasks/{id}", "item": [{"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8877d279-2593-4197-800b-78f9d285a5e3", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "c4a2544a-77b1-4345-ac5f-c5a5589df233", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "7872a489-46ec-4709-ac6c-7ec09214591e"}}, {"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": "87c1ddea-1f75-41dc-9381-7ef16eed1a57", "timestamp": 1711062008867, "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": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, "parent": {"id": "4c81718e-7fef-4268-8d48-16eb09f2e8b7", "name": "tasks/{id}", "item": [{"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8877d279-2593-4197-800b-78f9d285a5e3", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "c4a2544a-77b1-4345-ac5f-c5a5589df233", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "7872a489-46ec-4709-ac6c-7ec09214591e"}}, {"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": "f630570e-4d54-4f67-941a-df07aeac1379", "timestamp": 1711062008925, "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": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, "parent": {"id": "4c81718e-7fef-4268-8d48-16eb09f2e8b7", "name": "tasks/{id}", "item": [{"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "9c1b781f-4af3-4b99-b7a1-973e8d52f807", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "847a522f-66bb-4f2b-9fec-27bb50e7072a", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}, {"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": "daf7fe09-4ffd-4fbd-bbfc-f728589ba7fb", "timestamp": 1711062008926, "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": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, "parent": {"id": "4c81718e-7fef-4268-8d48-16eb09f2e8b7", "name": "tasks/{id}", "item": [{"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "9c1b781f-4af3-4b99-b7a1-973e8d52f807", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "847a522f-66bb-4f2b-9fec-27bb50e7072a", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}, {"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": "ca3ed8b7-fcc5-4759-8f67-1dde14d23613", "timestamp": 1711062008927, "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": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, "parent": {"id": "4c81718e-7fef-4268-8d48-16eb09f2e8b7", "name": "tasks/{id}", "item": [{"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "9c1b781f-4af3-4b99-b7a1-973e8d52f807", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "847a522f-66bb-4f2b-9fec-27bb50e7072a", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}, {"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": "96210bbf-1768-4865-b335-4866888a98c9", "timestamp": 1711062008975, "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": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}, "parent": {"id": "4c81718e-7fef-4268-8d48-16eb09f2e8b7", "name": "tasks/{id}", "item": [{"id": "83479d81-149f-4c37-b5ee-23c0cd98c3b9", "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": "687afb35-120a-4b1c-98c5-1581caac6f14", "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": "b82bb335-6766-44bd-a3b1-a429a00972f3", "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": "7872a489-46ec-4709-ac6c-7ec09214591e"}}]}, {"id": "58f1389c-ac38-40f4-aae2-3a27a69875e7", "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": "dc21970e-c071-46ec-9f05-a2b777451bca", "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": "0267d73d-ec5d-499c-a3e7-de5a4a1739bc", "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": "3851cf4b-977a-4b3c-ac1c-79c8cc9fae2b", "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": "323fb6dc-8214-4adb-9055-36ff6c72a512"}}]}, {"id": "1a40384c-a89b-43fe-aead-063e3e278c81", "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": "2f608f07-4fbf-46c1-83ef-fe6d3389a631", "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": "59daadc4-8818-47b4-893b-9be426ea7d5e", "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": "1c131223-ec72-4a98-977b-14a03cfb1549"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "6545dafb-f93f-444d-82ca-9dbecdbf3d9f", "length": 5, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "2187c6d1-18f0-4e96-95e1-ca91c9766732", "scriptId": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "execution": "1c131223-ec72-4a98-977b-14a03cfb1549"}}], "error": null}}