{"collection": {"_": {"postman_id": "ce780685-c88d-445e-b804-9a8b9cfe25ac"}, "item": [{"id": "4c81cf50-9581-45dd-831e-57cbfa6fc679", "name": "tasks", "item": [{"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "6422b870-178c-43a9-a372-9a92a8809bb0", "name": "tasks/{id}", "item": [{"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}], "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": "348d5dce-27c6-4f6e-9e98-772281f2df0b"}}, {"listen": "test", "script": {"id": "55a0d7f0-5c94-4005-8584-09f935e27353", "type": "text/javascript", "exec": [""], "_lastExecutionId": "19d87925-ac65-4963-a5db-4ce2c3168595"}}], "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": "293212ea-d7a1-47b6-a68a-6cc8821b0e47", "values": []}, "globals": {"id": "a41c0bc8-93d6-4446-a3fc-77aad96d1d42", "values": []}, "run": {"stats": {"iterations": {"total": 1, "pending": 0, "failed": 0}, "items": {"total": 5, "pending": 0, "failed": 0}, "scripts": {"total": 15, "pending": 0, "failed": 0}, "prerequests": {"total": 5, "pending": 0, "failed": 0}, "requests": {"total": 5, "pending": 0, "failed": 0}, "tests": {"total": 5, "pending": 0, "failed": 0}, "assertions": {"total": 14, "pending": 0, "failed": 14}, "testScripts": {"total": 10, "pending": 0, "failed": 0}, "prerequestScripts": {"total": 5, "pending": 0, "failed": 0}}, "timings": {"responseAverage": 28, "responseMin": 7, "responseMax": 96, "responseSd": 34.21695486158872, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1711234812172, "completed": 1711234812675}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "4a459d69-3f86-415c-aeb9-bd09b21e6716", "httpRequestId": "f0e567d0-babc-45fe-ad5a-ab0c541a5fd0"}, "item": {"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, "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": "8fb48db6-0aa7-4127-9787-de552d517341", "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": "a86c693b-671d-4fc8-9a1a-8b3f2156eba7", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 23 Mar 2024 23:00:12 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": 96, "responseSize": 2538}, "id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "83a07a6d-65fa-44b1-baeb-6368c91f2c06", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3e6902e7-5643-4a73-81a4-72fbaeb5176f"}, "item": {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}, "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": "9b88479e-0436-436f-bd7a-d2165b90bb4f", "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": "7e5a674b-4b01-4e3f-926f-8fbf68178afc", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 23 Mar 2024 23:00:12 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": 11, "responseSize": 2538}, "id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "45b86920-cd5b-48b9-89f2-3b753f7be823", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "75670928-73a5-4b17-8e45-5db089b956a7"}, "item": {"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, "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": "ad99f7a2-683f-4f13-b218-aa31f039138b", "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": "fcde2748-f9cf-4747-968c-6f0517f1c108", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 23 Mar 2024 23:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 18, "responseSize": 2538}, "id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "7d5598d1-671a-48e0-b990-88c9d0e3dd5f", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "0ce2ac71-ed25-49e5-ab59-23351fe1768f"}, "item": {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, "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": "35419083-4c11-41aa-889f-28797b0c9a4b", "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": "e797eed9-78b0-4c5e-af92-3a6d55659a77", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 23 Mar 2024 23:00:12 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": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "5a50f018-9090-4c7b-ac78-887e5a8408e7", "length": 5, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "bb116281-8daa-4bff-a0d2-3983dd9537c8"}, "item": {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}, "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": "e16b0060-1965-4dfa-910f-d6e63bcbb74f", "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": "8d1a5bf1-6505-4796-bcde-ad3aa2f3e93e", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 23 Mar 2024 23:00:12 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": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "1aaee263-2f1f-4ae1-827d-e380823732ff", "timestamp": 1711234812371, "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": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, "parent": {"id": "4c81cf50-9581-45dd-831e-57cbfa6fc679", "name": "tasks", "item": [{"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "4a459d69-3f86-415c-aeb9-bd09b21e6716", "httpRequestId": "f0e567d0-babc-45fe-ad5a-ab0c541a5fd0", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}, {"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": "fa2cae6e-8104-40ad-906b-0cf3089aaab9", "timestamp": 1711234812374, "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": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, "parent": {"id": "4c81cf50-9581-45dd-831e-57cbfa6fc679", "name": "tasks", "item": [{"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "4a459d69-3f86-415c-aeb9-bd09b21e6716", "httpRequestId": "f0e567d0-babc-45fe-ad5a-ab0c541a5fd0", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}, {"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": "0d5f94a7-b5a6-4870-bd4b-9faf582394ad", "timestamp": 1711234812375, "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": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, "parent": {"id": "4c81cf50-9581-45dd-831e-57cbfa6fc679", "name": "tasks", "item": [{"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 5, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "4a459d69-3f86-415c-aeb9-bd09b21e6716", "httpRequestId": "f0e567d0-babc-45fe-ad5a-ab0c541a5fd0", "scriptId": "0cc84332-6ad9-4278-9fcc-836f25f08d93", "execution": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}, {"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": "11993cbf-f3d3-4d81-9949-5029a66a6d4b", "timestamp": 1711234812445, "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": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}, "parent": {"id": "4c81cf50-9581-45dd-831e-57cbfa6fc679", "name": "tasks", "item": [{"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "83a07a6d-65fa-44b1-baeb-6368c91f2c06", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3e6902e7-5643-4a73-81a4-72fbaeb5176f", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}, {"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": "fd0329cc-d702-46f1-80c6-41da17ba6e20", "timestamp": 1711234812446, "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": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}, "parent": {"id": "4c81cf50-9581-45dd-831e-57cbfa6fc679", "name": "tasks", "item": [{"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "83a07a6d-65fa-44b1-baeb-6368c91f2c06", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3e6902e7-5643-4a73-81a4-72fbaeb5176f", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}, {"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": "265ff1be-8866-4764-9736-6cdaa688abd3", "timestamp": 1711234812457, "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": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}, "parent": {"id": "4c81cf50-9581-45dd-831e-57cbfa6fc679", "name": "tasks", "item": [{"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "83a07a6d-65fa-44b1-baeb-6368c91f2c06", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3e6902e7-5643-4a73-81a4-72fbaeb5176f", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}, {"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": "add7da2d-013e-4ee8-ad63-c85af75fcd35", "timestamp": 1711234812458, "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": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}, "parent": {"id": "4c81cf50-9581-45dd-831e-57cbfa6fc679", "name": "tasks", "item": [{"id": "c1363f8d-a57e-4748-a168-f51df63b56a9", "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": "f8df4926-6400-4372-b550-318eac148407", "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": "ab6c2efd-478b-4a6c-b604-db04aef30022"}}]}, {"id": "f5b207db-7afc-45f5-ad82-a172740e1e13", "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": "68eb5ff4-2fe0-4397-ab33-75cfdd1f66ef", "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": "2b3aecab-3519-4a6d-85e2-35f6f3950992", "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": "c0ace120-a88f-4679-aff5-91acf93c7b43", "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": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "83a07a6d-65fa-44b1-baeb-6368c91f2c06", "length": 5, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "3e6902e7-5643-4a73-81a4-72fbaeb5176f", "scriptId": "4cda9669-b7ed-4e87-b7e9-da9870186568", "execution": "8ad10b6f-1e38-464e-8a32-9dcd5f05abe9"}}, {"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": "2768f4d0-1c44-4acb-95ed-2dd7cccad7d8", "timestamp": 1711234812529, "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": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, "parent": {"id": "6422b870-178c-43a9-a372-9a92a8809bb0", "name": "tasks/{id}", "item": [{"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "45b86920-cd5b-48b9-89f2-3b753f7be823", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "75670928-73a5-4b17-8e45-5db089b956a7", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}, {"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": "fc7079cb-002d-4ebd-bedb-16b9c4303dbb", "timestamp": 1711234812530, "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": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, "parent": {"id": "6422b870-178c-43a9-a372-9a92a8809bb0", "name": "tasks/{id}", "item": [{"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "45b86920-cd5b-48b9-89f2-3b753f7be823", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "75670928-73a5-4b17-8e45-5db089b956a7", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}, {"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": "f2efe4c3-8345-4f35-9f88-e0698ac720a5", "timestamp": 1711234812531, "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": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, "parent": {"id": "6422b870-178c-43a9-a372-9a92a8809bb0", "name": "tasks/{id}", "item": [{"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "45b86920-cd5b-48b9-89f2-3b753f7be823", "length": 5, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "75670928-73a5-4b17-8e45-5db089b956a7", "scriptId": "28be647a-6545-403c-a5f8-096a8e4a5c6c", "execution": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}, {"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": "7ad6922f-5275-41e1-9e9c-4a4174ad4950", "timestamp": 1711234812600, "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": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, "parent": {"id": "6422b870-178c-43a9-a372-9a92a8809bb0", "name": "tasks/{id}", "item": [{"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7d5598d1-671a-48e0-b990-88c9d0e3dd5f", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "0ce2ac71-ed25-49e5-ab59-23351fe1768f", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}, {"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": "0c26910e-3398-4797-9d17-3e4ca333968d", "timestamp": 1711234812601, "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": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, "parent": {"id": "6422b870-178c-43a9-a372-9a92a8809bb0", "name": "tasks/{id}", "item": [{"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7d5598d1-671a-48e0-b990-88c9d0e3dd5f", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "0ce2ac71-ed25-49e5-ab59-23351fe1768f", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}, {"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": "d690e56f-bc2d-438f-83ba-1abee141fc58", "timestamp": 1711234812602, "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": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, "parent": {"id": "6422b870-178c-43a9-a372-9a92a8809bb0", "name": "tasks/{id}", "item": [{"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7d5598d1-671a-48e0-b990-88c9d0e3dd5f", "length": 5, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "0ce2ac71-ed25-49e5-ab59-23351fe1768f", "scriptId": "51309032-1040-4e4b-a1db-1a0d70659281", "execution": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}, {"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": "3de4b5db-346a-4739-909e-862346126aca", "timestamp": 1711234812667, "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": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}, "parent": {"id": "6422b870-178c-43a9-a372-9a92a8809bb0", "name": "tasks/{id}", "item": [{"id": "976e6085-f670-4294-ba60-b4baddacf32b", "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": "a41a98d0-e0e1-49c7-8c5f-1b0fd26ad61e", "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": "23e09bbe-bdc5-4d6e-b8c2-f7b902ba30bb", "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": "05e38c14-b05f-4138-866a-d0fa0ecba5d8"}}]}, {"id": "3c1cb17e-d716-497f-a2bb-ef453e0a46c8", "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": "561fef66-1af3-4ae7-bc6f-4d9786b2875c", "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": "56da1897-a381-421f-937e-e1be7d744ae8", "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": "a66c3480-6911-48a1-841a-20892e658a81", "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": "83f6bf37-7ae2-49a8-8150-45c900e0943e"}}]}, {"id": "356ae3b5-9b70-4763-94d9-241bbe0944dd", "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": "7099a336-a239-4ac8-a03b-24852484b261", "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": "5558f479-cdb1-41e3-8d4e-9a10e9c6ca29", "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": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "5a50f018-9090-4c7b-ac78-887e5a8408e7", "length": 5, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "bb116281-8daa-4bff-a0d2-3983dd9537c8", "scriptId": "77d54c2e-c056-43c7-a9e3-5c902c47e439", "execution": "6873cb66-925a-4db1-ab83-fb38fa67f065"}}], "error": null}}