{"collection": {"_": {"postman_id": "c8388c44-6e76-4a10-90f3-6210d4d49be8"}, "item": [{"id": "97c03149-f3b1-4200-9dcd-33ded60326e7", "name": "services", "item": [{"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}], "event": []}, {"id": "e8d3614e-cb46-4997-9dff-2952ac1ce7dd", "name": "services/{id}", "item": [{"id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, {"id": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}], "event": [{"listen": "prerequest", "script": {"id": "c57cb8ec-3a3f-45f0-a43d-a526daeca938", "type": "text/javascript", "exec": [""], "_lastExecutionId": "6c5e0b0c-f2e1-4c81-aed0-51f6ea2c17d7"}}, {"listen": "test", "script": {"id": "3a60d3ac-8630-4a0a-b82e-d6622dcb3272", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7509f384-88bc-41b3-89af-abb701bdfb50"}}]}, {"id": "9c984698-59fa-4781-b0b6-9730e1cf4c4f", "name": "messages", "item": [{"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}], "event": []}, {"id": "9a10da6f-9267-45e0-b9c3-1c49fdd069a2", "name": "messages/{id}", "item": [{"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}], "event": []}, {"id": "6ba16e0e-5c11-43cd-9824-446a50491779", "name": "send_lists", "item": [{"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}], "event": []}, {"id": "4faa26cc-7240-4122-9b52-ba6392354011", "name": "send_lists/{id}", "item": [{"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}], "event": []}, {"id": "e52e2d6c-d8b1-4793-91e0-ccfc3baa447b", "name": "subscribers", "item": [{"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}], "event": []}, {"id": "4e311494-b0c0-4db3-b5ce-864f8be866fb", "name": "subscribers/{id}", "item": [{"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}], "event": []}, {"id": "d6387a2d-02ea-44c8-a75d-2f18221f07e2", "name": "cleanup", "item": [{"id": "d0e85d6d-0e7e-4284-bdbf-d9bd75e8a2d2", "name": "Removes the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6601e026-d18a-4d3e-a588-cb8309ddc3f4", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "bdb777f0-a86b-4931-a623-aee0629f18f7", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "860c1f01-93a0-40bb-a953-1a6d177618f7", "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": "bcbd87fd-0596-4869-aacf-f0430ddfd345"}}]}, {"id": "f0cf7f3f-9d5b-465a-b8c4-0cd6d21f2eff", "name": "Removes the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "5be96453-17c0-45c8-91a6-c07de881e861", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b3b4183-9375-4858-9053-068654e112e6", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "c1f9bd66-fbef-4e99-ad9c-4217349f1501", "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": "0db1bc72-bf3e-426c-bb7c-11c326232a2a"}}]}, {"id": "1a68c833-a50d-4151-896a-4179fd9fb736", "name": "Removes the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9750b6a1-335c-4af6-8245-b6af697312ab", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "3a42d9c9-240f-40d6-ada8-09191866d7b5", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7ab67ecd-d9b6-4842-a312-12e53fead3cf", "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": "2dafbac0-1185-46e6-9f5c-b4a425958f02"}}]}, {"id": "3b262165-415c-40da-a322-a0e00af2ae83", "name": "Removes the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d0749fc4-acbc-4953-a546-295c3066f469", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "0ec70b19-d481-42d6-9904-1868a18fefc5", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "0a57f5b6-308a-4ed2-926c-137065b71f80", "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": "845adb35-ddf8-47e3-b7d0-be40b5b308a3"}}]}], "event": []}], "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "{{authorization}}", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}, "event": [{"listen": "prerequest", "script": {"id": "4b29dbdc-39b4-4578-b43e-4e882ae08322", "type": "text/javascript", "exec": [""], "_lastExecutionId": "306c3a50-a740-4314-8e37-f8b3de365c27"}}, {"listen": "test", "script": {"id": "91a713a9-5156-418b-92d2-58139af27ebb", "type": "text/javascript", "exec": [""], "_lastExecutionId": "62bd7d13-6785-48ba-af48-766b7f41a480"}}], "variable": [{"type": "any", "value": "https://dev.zuid-drecht.nl/api/v1/bs", "key": "baseUrl"}, {"type": "any", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "authorization"}], "info": {"_postman_id": "c8388c44-6e76-4a10-90f3-6210d4d49be8", "name": "Berichten Service", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": {"content": "API Details\n- Component: Berichten Service\n- Reference: bs\n- Enviroment: dev\n- Version: V.0.1\n- Repository: [online](https://github.com/ConductionNL/Proto-component-commonground) / [zip](https://github.com/ConductionNL/Proto-component-commonground/archive/master.zip)\n- Docker Image: [online](https://hub.docker.com/repository/docker/conduction/bs-php) \n- Datamodel: [postman](/schema/bs.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": "45427fbf-3f82-4ba9-87fb-7843c4d607d3", "values": []}, "globals": {"id": "c0b5b381-c3d7-4766-bdf7-57f6ef0cfb36", "values": []}, "run": {"stats": {"iterations": {"total": 1, "pending": 0, "failed": 0}, "items": {"total": 20, "pending": 0, "failed": 0}, "scripts": {"total": 64, "pending": 0, "failed": 0}, "prerequests": {"total": 20, "pending": 0, "failed": 0}, "requests": {"total": 20, "pending": 0, "failed": 0}, "tests": {"total": 20, "pending": 0, "failed": 0}, "assertions": {"total": 56, "pending": 0, "failed": 56}, "testScripts": {"total": 42, "pending": 0, "failed": 0}, "prerequestScripts": {"total": 22, "pending": 0, "failed": 0}}, "timings": {"responseAverage": 27.55, "responseMin": 17, "responseMax": 125, "responseSd": 23.26472651891701, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1713132011446, "completed": 1713132013068}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "eddabaa2-9fdf-4c81-bdcb-df048596b738", "httpRequestId": "3e01ffad-a9d9-47e8-990e-2fdb1ad0a2df"}, "item": {"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "services"], "host": ["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": "42b9e75f-b461-43e1-921a-54be5f568410", "system": true}, {"key": "Host", "value": "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": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": {"id": "706b97da-d445-4084-b239-7f91de8dd14b", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:11 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=GH8o%2BAOJSohQHp9p4d0%2Ft%2Fs7GInOqW9aALKM0ouap2VAJ0K0uuybPS6JeqS%2BCfPjeMZ2pHsJqXU5USCg2%2BMHYQ7sTEbKLTLrGoVKeLYKx96P4gLLOX9I%2Fb5fCllKGblTCoVrWv4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a06d8d9fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 125, "responseSize": 146}, "id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "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": "33562913-2a14-4d2e-b169-a4ae2e1f4a89", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "50f199bf-96dd-4904-a99d-fcdb6d0a7408"}, "item": {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "services"], "host": ["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": "30c5ddb8-b310-4b3d-86b2-95161f57b0d4", "system": true}, {"key": "Host", "value": "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": "149", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "1fe4f981-6767-4fc8-bc9c-09b2274aeedc", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:11 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=b%2BlVdwYBNS6G%2FvZk5HyQ26uNaiDdKtoTvBt%2BtbBcXRr2855WSQOT1WN4TtxqAarZmASc5JsLPxUxm9sUpie1qk%2F9Zhqk29hIgs40rsIZyH1wOFr%2Buc4dlrcZ3HBu0VqoVR3IQK0%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a12e4c9fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 21, "responseSize": 146}, "id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "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<html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<html>\n^\n at Object.eval sandbox-script.js:4:2)"}}]}, {"cursor": {"ref": "6a41d52e-95fd-4f01-b691-77edd1272165", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "c20d5851-8b5b-4d34-a50c-d7ffd4d5650f"}, "item": {"id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "services", "%7B%7Bservice%7D%7D"], "host": ["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": "11a2adc8-9a91-46f5-b226-595beba9e657", "system": true}, {"key": "Host", "value": "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": "7802890c-ba55-4321-b532-5d590eb978c4", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:11 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=no%2FPtIdPmizN4dyK1QaVxmFUdcz8%2FgJfaByv8B9mFLVZHb%2FdX4YtKW%2BO%2FWhX5%2BSrpF5EGlDF2IRF%2BgVumgJeZZRR%2FfqCjE8cqKxJ4iX40ifVRxj9CgLaXqXSfgJGyGHYnpp0Xl8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a1aee09fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 18, "responseSize": 146}, "id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "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": "c90911fa-49fa-4602-92fa-eae6dc1848e6", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "bc9a4461-265b-4eba-b72b-3da01a9f7620"}, "item": {"id": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "services", "%7B%7Bservice%7D%7D"], "host": ["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": "e7205c09-fcfc-417b-9128-a8eb0cdddd3b", "system": true}, {"key": "Host", "value": "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": "144", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "93fdf47e-df88-4868-b5ce-f100e20fc778", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:11 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=wddGleUKDdHE33M3%2BwMZi1zAN4Sx1kZtflrZmbSkxq8J1Q2AGP21qYle4M8z2oTsBeZMZfUJOU7terINGTMc%2BI854IeL805U%2B2IfU0af35jYKVE0x9HfRK1%2FExq6IOJL1jhRH2A%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a24f8e9fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 23, "responseSize": 146}, "id": "810f755c-dc0a-4f65-a32e-f174be496b10", "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": "ac49beeb-5257-4ac3-9790-89226723c88e", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "b980d466-ee3b-49f8-8c35-4add952b1553"}, "item": {"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "messages"], "host": ["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": "4c4bbac6-17b1-441c-86b6-e28faa937118", "system": true}, {"key": "Host", "value": "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": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": {"id": "6b23e988-20a7-41aa-986c-a6befcd98a6c", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:11 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=AvEXWA%2FchR6JpDeR%2BDDugMEc7PeAV8jm%2FbPNi7%2BXIGzv1iit3lts3mujgvJUmfvOF1pQjb%2BLtyYu6gSL0VhjZdTY4YByELV%2Ft3bifwDAKKlGNI6cL3ZjSjjUKtR%2Bl9u1a7GEwas%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a2e8669fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 26, "responseSize": 146}, "id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "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:5)"}}, {"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:5)"}}, {"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:5)"}}]}, {"cursor": {"ref": "6a89a475-32d1-4dba-8363-9297a4dca348", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "d7ab0f74-90fd-476b-85d7-435ba650d46d"}, "item": {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "messages"], "host": ["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": "208ea0cb-54bd-4e7e-830d-ba589b0d41ea", "system": true}, {"key": "Host", "value": "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": "406", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "7781ac99-f1bf-4616-a0e8-62805deae336", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=hvTG0dX5O4XNNM%2B51babjnSFbYB3pNkTu9gdcGEn9oxVda1Ep654ZvduqgHVkiAe4NHNnzOZeb3CKvlYv7cWyaYmO4vROS46SeaFdUPGqzLmDgGj4Spbbpm6PFdJ%2BfDX3%2BKjdNs%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a359429fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 18, "responseSize": 146}, "id": "08516da2-47ed-4312-9b60-e3bc40026c60", "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:6)"}}, {"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:6)"}}, {"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:6)"}}, {"assertion": "Set ID", "skipped": false, "error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<html>\n^\n at Object.eval sandbox-script.js:4:6)"}}]}, {"cursor": {"ref": "c9a906af-96a6-450d-8e69-c489eeba7c85", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "31588c81-b924-4256-8e53-ee9d72311efe"}, "item": {"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "messages", "%7B%7Bmessage%7D%7D"], "host": ["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": "2af9df80-ed32-4cdf-b9e9-7bf76ccdc404", "system": true}, {"key": "Host", "value": "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": "5df3959e-d3c2-4f31-9017-211887d4a50d", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=MPheinalZgmVWhL4Fug3hkkcP%2Bmbb2dWBCoiMcNzuL8NbpDA7PIkRfJRPbdBySpC4MVfLp1A2HCHuZVQk5QcRuccT1deRbHKjgmvyLU%2Bh4X49aaFOb5SOTZudQ%2Bb1vUeXkekNZ4%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a3fa169fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 19, "responseSize": 146}, "id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "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:7)"}}, {"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:7)"}}, {"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:7)"}}]}, {"cursor": {"ref": "4e1e6369-5425-4ddb-b22d-6178ee20af90", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "35ae3cf7-8379-4692-a684-3077e21515e1"}, "item": {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "messages", "%7B%7Bmessage%7D%7D"], "host": ["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": "757eec94-0584-49dc-bbfb-be4daf6ce669", "system": true}, {"key": "Host", "value": "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": "404", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "c4a18cdc-3da8-4f0b-9ca8-a0f3ad424365", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=uCcnvAo7avMSkomDTUtBI3G7XZi92w78MF4JqRGZuX1MlBWPulO38IMnqDkyX8DzZm%2BclM5z6x8ZM6jRFSQJMWxmV7d%2FSgvHPi2bgLTX8IVsFBX3k01chMgpgqV9os%2FAQDWP2DA%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a47b089fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 30, "responseSize": 146}, "id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "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:8)"}}, {"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:8)"}}, {"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:8)"}}]}, {"cursor": {"ref": "9bc444c7-bd82-4b14-a61c-d49504183bf9", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "6927f761-bb34-4817-8ef6-805b44651a0d"}, "item": {"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "send_lists"], "host": ["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": "8d33c911-8ace-47d1-9221-f1691599b7ef", "system": true}, {"key": "Host", "value": "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": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": {"id": "1dfbd50e-6f67-4c39-b664-8ba6235e5ff0", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=FzZ%2BKkdhZ0GNQw2Hr%2FIAkkmVnZcXkDvQ6sShD715s5rN2mFY%2BJoGk88JDvZe9tvo6KJrtN3PBPWrb5UriSYVdWY6PWgqHav8bPRk05MaUa%2BrGO9DsTZ008zrkc2x5QWFrAeQSKw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a4ec1a9fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 27, "responseSize": 146}, "id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "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:9)"}}, {"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:9)"}}, {"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:9)"}}]}, {"cursor": {"ref": "97f8f2cd-a17d-4671-ada2-84c907826756", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "bcbbfe30-4f5e-4631-9eaa-89ff9da5768e"}, "item": {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "send_lists"], "host": ["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": "0814f7a9-4043-4cae-bc31-f1ddb14a15d0", "system": true}, {"key": "Host", "value": "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": "210", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "b44f406b-261b-408e-b758-0713c01f455c", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=C1YXAQE%2B5%2BFEpLrRY7zHqcFasfrpG%2FMAJ6%2FZLXW7Z5cJOnmxM%2FIlFaZ%2BHzqcVceqQkdtm2DSHLKCGjGxh4ftSEBrHunCGRMIps317sR4bA32ale6iUtlULuMBGsGBU4qn2pxTg8%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a55c7c9fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 23, "responseSize": 146}, "id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "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:10)"}}, {"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:10)"}}, {"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:10)"}}, {"assertion": "Set ID", "skipped": false, "error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<html>\n^\n at Object.eval sandbox-script.js:4:10)"}}]}, {"cursor": {"ref": "dc2deed7-3bca-4ce8-b067-cd73572cf0fb", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "88a5293e-fa69-44f5-9eb2-a7e6eeb197d5"}, "item": {"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "send_lists", "%7B%7Bsend_list%7D%7D"], "host": ["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": "c5c94e4e-f6a2-4d7d-bd79-73c68360206d", "system": true}, {"key": "Host", "value": "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": "239f9356-2749-4f91-a80e-6d750a7d1940", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=KV1da0s5VCYbk5XA7bzxhdc%2FM3I89PbC%2B%2B8O7ChL9i3tB3pkljLqvDewY50MwQtBrofn0%2FIzAcgyp0diluwoLc5xa8BE%2FcWyXSL62ft4w4lmC1mhOv%2B5cKsly6pbso%2BDZhCHIXY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a5ed2a9fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 20, "responseSize": 146}, "id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "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:11)"}}, {"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:11)"}}, {"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:11)"}}]}, {"cursor": {"ref": "bef920fe-7bf9-44c5-a1ba-fb5bc1e02b74", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "9903c6da-665c-4e7a-89d7-9fbe57a2b21f"}, "item": {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "send_lists", "%7B%7Bsend_list%7D%7D"], "host": ["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": "b101171c-8b13-4a36-9d60-53c049a21e63", "system": true}, {"key": "Host", "value": "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": "210", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "d7bfe84b-d8e2-45f4-827d-c521f12b1797", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=PZGI8Im7L%2FHXnQgyujuOjcYBW0fy9bJlnwPLiW8dm3PbWIj9%2BPOJfeUTFyv9dX8ZXvw4KIBVKzkC6wdyTp%2FAnGvSMt1fqr3YI13IkDyWCD5HF%2FF1WYU8%2FWgBteIgy0ipganb3HI%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a64e109fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 19, "responseSize": 146}, "id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "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:12)"}}, {"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:12)"}}, {"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:12)"}}]}, {"cursor": {"ref": "3a80fc36-5295-4a45-adb8-4f409d58348a", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "eec19266-7c3e-4fdf-821c-18ddfa802926"}, "item": {"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "subscribers"], "host": ["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": "c61d170d-0060-4f04-9ad5-ce7a37a81522", "system": true}, {"key": "Host", "value": "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": "81da3614-5e76-410d-953c-4be82d61e9ba", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=%2Flq03GEeQLseDeErMqzjl%2FATbMu%2FnlO%2BGXSDtnCotcT7Ow3tvKwFIrDzO3MKP%2F38kwCs9ov7cBZfZFI5FylWYx7nF8%2FWoJ%2FOlQ88BtUNQgB%2B2ppcrLwKaVVOqyDobJDk27le9gg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a6ae559fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 21, "responseSize": 146}, "id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "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:13)"}}, {"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:13)"}}, {"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:13)"}}]}, {"cursor": {"ref": "9fe4e957-7420-4a0e-b712-608331d2bae3", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "cb2fd697-d253-40e0-889c-043f93d01c23"}, "item": {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "subscribers"], "host": ["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": "a7740b80-d05e-4c8f-9c32-f45c3e281f4e", "system": true}, {"key": "Host", "value": "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": "205", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": {"id": "1cbc4b59-88bd-4778-a3a2-a6633e56ff4b", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=1%2Bf8wLzKy4FPmW4U1KNN6rp6CaJqRs1EiXkQuhYyMohkQO7KEWlfGR27IiAjswRW3XxVUQet17BeGX4D6S%2FXLfYraJM2jeEdowKcr6D%2BlRJSQj7MDW8YLQnqfKRsZOvmO7xMlEE%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a71ec99fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 19, "responseSize": 146}, "id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "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:14)"}}, {"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:14)"}}, {"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:14)"}}, {"assertion": "Set ID", "skipped": false, "error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<html>\n^\n at Object.eval sandbox-script.js:4:14)"}}]}, {"cursor": {"ref": "ffee9289-a523-4956-b087-7a07da364ac2", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "46c6d76b-09f8-453d-9652-3b3df9ab87ce"}, "item": {"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "subscribers", "%7B%7Bsubscriber%7D%7D"], "host": ["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": "d1aaeb65-4ab7-4e8a-95f7-492754cce9eb", "system": true}, {"key": "Host", "value": "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": "422ae273-f084-4847-b894-5367843ed0ea", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=ZJumoL%2BH%2F056Qp93YqsGyPQvlPTACxHvyIXsKTzgnk3ZtVVhOoqJvZwuA%2FNsYX5HFarRx%2BdSZByqfsSTXoAhAKoVko16HGoIng8Lb%2BNTsNetSnMQtHn39%2F2g50lxaceW%2BXrtvsY%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a76f059fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 17, "responseSize": 146}, "id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "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:15)"}}, {"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:15)"}}, {"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:15)"}}]}, {"cursor": {"ref": "d2b44bcf-100e-4005-9074-39dd22c9e639", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "cf0bba5d-2939-4371-992f-9460e9c4b04e"}, "item": {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "subscribers", "%7B%7Bsubscriber%7D%7D"], "host": ["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": "84813165-1c4b-4095-a3e5-52ebe5f747d5", "system": true}, {"key": "Host", "value": "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": "94", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "f2baead5-6bd1-4a75-a086-7b7edc3a2d43", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=DDpZchEADYEhxAvb1S%2FLJvEmvaq29b0UD7i6tLHRSNCzfEjzi5Lon2wCXfEmnFEXzZHQv0fY6h%2FYIqNTwypy3yCKjrd6OB30V1IrsgstoOyX4OzXWa4cRSbLdfP2gmHQzUlISas%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a7efb39fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 46, "responseSize": 146}, "id": "81997735-f9e3-4796-b990-6e8eaadeed97", "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:16)"}}, {"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:16)"}}, {"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:16)"}}]}, {"cursor": {"ref": "1cefad4e-52c5-4f54-809f-ce11dd18df7a", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "60423cb3-bc2a-4245-a7a5-5e41ed028c46"}, "item": {"id": "d0e85d6d-0e7e-4284-bdbf-d9bd75e8a2d2", "name": "Removes the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6601e026-d18a-4d3e-a588-cb8309ddc3f4", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "bdb777f0-a86b-4931-a623-aee0629f18f7", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "860c1f01-93a0-40bb-a953-1a6d177618f7", "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": "bcbd87fd-0596-4869-aacf-f0430ddfd345"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "subscribers", "%7B%7Bsubscriber%7D%7D"], "host": ["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": "bbfe4aeb-bda6-49b4-8880-5e02e969620f", "system": true}, {"key": "Host", "value": "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": "4d3451f7-49fa-4898-9ca5-989eadc4a238", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=a337DjbuaHqpa5Lv65fhbfPILw%2Fnt%2BRqvUnH0f7m9IdehbiF1GO1BcXmtIFlfpUY6gi8sdeqtL%2B42Q7IUorLTxXJQsCVgcU4XdsBKajLbrcFzyQnFylKoQ%2FV9n5McOKE2BUjlyw%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a858369fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 17, "responseSize": 146}, "id": "d0e85d6d-0e7e-4284-bdbf-d9bd75e8a2d2", "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:17)"}}]}, {"cursor": {"ref": "8a423e71-d2d3-4d6e-96b2-86a2209075a1", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "bcda36f6-ebe7-4669-81c7-525ed6da31f7"}, "item": {"id": "f0cf7f3f-9d5b-465a-b8c4-0cd6d21f2eff", "name": "Removes the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "5be96453-17c0-45c8-91a6-c07de881e861", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b3b4183-9375-4858-9053-068654e112e6", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "c1f9bd66-fbef-4e99-ad9c-4217349f1501", "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": "0db1bc72-bf3e-426c-bb7c-11c326232a2a"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "send_lists", "%7B%7Bsend_list%7D%7D"], "host": ["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": "96a20b60-b549-43d1-9e06-c5601151b32d", "system": true}, {"key": "Host", "value": "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": "df5879d9-0cf7-4bd7-a09a-939edddaf8b5", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=sow0qS9fy8Md9x7%2BCSwO4oYacfmWnfhz%2BcSNmUUwVcIsRDIXD4%2BQVeovLptlrvhtzf0kM2Lush7wF4n%2Bicfl6wcoGbAZzzqFW%2BPDV%2FQPjvaGAx%2B3QR20XmyFqmGYmAt4xVM9zqQ%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a8a8a39fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 25, "responseSize": 146}, "id": "f0cf7f3f-9d5b-465a-b8c4-0cd6d21f2eff", "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:18)"}}]}, {"cursor": {"ref": "6ae868ac-ba8b-4a86-b189-70abf73452f8", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "ee09ec6f-8e7e-44eb-a185-f4d71181e5b8"}, "item": {"id": "1a68c833-a50d-4151-896a-4179fd9fb736", "name": "Removes the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9750b6a1-335c-4af6-8245-b6af697312ab", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "3a42d9c9-240f-40d6-ada8-09191866d7b5", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7ab67ecd-d9b6-4842-a312-12e53fead3cf", "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": "2dafbac0-1185-46e6-9f5c-b4a425958f02"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "messages", "%7B%7Bmessage%7D%7D"], "host": ["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": "cf5445fd-0e72-4f43-8f27-c1e714346f76", "system": true}, {"key": "Host", "value": "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": "71f1923a-f164-44df-a8f5-0aafdbf93476", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:12 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=MXRkiHGNnE2lKrvf8Vl7ndZ%2F3NhgVTAUkA8I1L0pYC4SZwD%2BwtKDRwWmepyCizkSg4X%2BeV6S4OCLpNysnjFruU9SuOLEWr6LlWF3%2BtluiUsghjdwp21%2Bz2LbMxSFcwyX73Ow1Ss%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a919629fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 19, "responseSize": 146}, "id": "1a68c833-a50d-4151-896a-4179fd9fb736", "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:19)"}}]}, {"cursor": {"ref": "3a31bf6e-c0c5-48f5-8efc-4d6f620c0b26", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "86b71d87-0b85-4c20-97b8-07ed5de68b4d"}, "item": {"id": "3b262165-415c-40da-a322-a0e00af2ae83", "name": "Removes the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d0749fc4-acbc-4953-a546-295c3066f469", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "0ec70b19-d481-42d6-9904-1868a18fefc5", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "0a57f5b6-308a-4ed2-926c-137065b71f80", "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": "845adb35-ddf8-47e3-b7d0-be40b5b308a3"}}]}, "request": {"url": {"protocol": "https", "path": ["api", "v1", "bs", "services", "%7B%7Bservice%7D%7D"], "host": ["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": "8a997000-8024-4328-903a-6e34e89360e2", "system": true}, {"key": "Host", "value": "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": "2ea5941a-73cf-4199-8e2d-9a6e683bb8a1", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Sun, 14 Apr 2024 22:00:13 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "CF-Cache-Status", "value": "DYNAMIC"}, {"key": "Report-To", "value": "{\"endpoints\":[{\"url\":\"https:\\/\\/a.nel.cloudflare.com\\/report\\/v4?s=KX3ELMO%2BvXxj5oxi2gXrmAey6lBCeO%2BPsPTzc7eAukNfuMhAGbj2BOtdPTh5SV1OtPnQ7XooHzE2g5lfzKVIitxZ8mCdkrPPRqY0WFo9xkAveVCGp6IrYcrsMENfxJAp%2FF1BNGg%3D\"}],\"group\":\"cf-nel\",\"max_age\":604800}"}, {"key": "NEL", "value": "{\"success_fraction\":0,\"report_to\":\"cf-nel\",\"max_age\":604800}"}, {"key": "Server", "value": "cloudflare"}, {"key": "CF-RAY", "value": "8746f7a969cd9fd0-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 18, "responseSize": 146}, "id": "3b262165-415c-40da-a322-a0e00af2ae83", "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:20)"}}]}], "transfers": {"responseTotal": 2920}, "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": "440e9bf0-95aa-46a2-a406-744542b7567d", "timestamp": 1713132011655, "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": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, "parent": {"id": "97c03149-f3b1-4200-9dcd-33ded60326e7", "name": "services", "item": [{"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}], "event": []}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "eddabaa2-9fdf-4c81-bdcb-df048596b738", "httpRequestId": "3e01ffad-a9d9-47e8-990e-2fdb1ad0a2df", "scriptId": "88626f9b-fce3-4cbf-81ea-be11419254ae", "execution": "47e2e432-1016-47cd-92e5-32606267f1c6"}}, {"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": "889d3c5f-d9f0-43e4-a60b-1dcdbea6005b", "timestamp": 1713132011659, "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": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, "parent": {"id": "97c03149-f3b1-4200-9dcd-33ded60326e7", "name": "services", "item": [{"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}], "event": []}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "eddabaa2-9fdf-4c81-bdcb-df048596b738", "httpRequestId": "3e01ffad-a9d9-47e8-990e-2fdb1ad0a2df", "scriptId": "88626f9b-fce3-4cbf-81ea-be11419254ae", "execution": "47e2e432-1016-47cd-92e5-32606267f1c6"}}, {"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": "703bd35e-680f-459f-b045-5f80575c460e", "timestamp": 1713132011660, "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": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, "parent": {"id": "97c03149-f3b1-4200-9dcd-33ded60326e7", "name": "services", "item": [{"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}], "event": []}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "eddabaa2-9fdf-4c81-bdcb-df048596b738", "httpRequestId": "3e01ffad-a9d9-47e8-990e-2fdb1ad0a2df", "scriptId": "88626f9b-fce3-4cbf-81ea-be11419254ae", "execution": "47e2e432-1016-47cd-92e5-32606267f1c6"}}, {"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": "5bdf29d7-93f8-418a-8934-d522f2eb8b00", "timestamp": 1713132011740, "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": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}, "parent": {"id": "97c03149-f3b1-4200-9dcd-33ded60326e7", "name": "services", "item": [{"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}], "event": []}, "cursor": {"ref": "33562913-2a14-4d2e-b169-a4ae2e1f4a89", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "50f199bf-96dd-4904-a99d-fcdb6d0a7408", "scriptId": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "execution": "0fa322b8-c233-4209-976e-e4ce30912365"}}, {"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": "bdb8e3c5-255c-431b-91b7-7f5aefe89101", "timestamp": 1713132011742, "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": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}, "parent": {"id": "97c03149-f3b1-4200-9dcd-33ded60326e7", "name": "services", "item": [{"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}], "event": []}, "cursor": {"ref": "33562913-2a14-4d2e-b169-a4ae2e1f4a89", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "50f199bf-96dd-4904-a99d-fcdb6d0a7408", "scriptId": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "execution": "0fa322b8-c233-4209-976e-e4ce30912365"}}, {"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": "d5065f02-1cfa-4a82-b685-3d82501da865", "timestamp": 1713132011745, "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": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}, "parent": {"id": "97c03149-f3b1-4200-9dcd-33ded60326e7", "name": "services", "item": [{"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}], "event": []}, "cursor": {"ref": "33562913-2a14-4d2e-b169-a4ae2e1f4a89", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "50f199bf-96dd-4904-a99d-fcdb6d0a7408", "scriptId": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "execution": "0fa322b8-c233-4209-976e-e4ce30912365"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<html>\n^\n at Object.eval sandbox-script.js:4:2)", "checksum": "3871bef123aed803caa4b1a5a90c1cae", "id": "b3de51dc-5785-45da-ba49-8b8e077eb785", "timestamp": 1713132011745, "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": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}, "parent": {"id": "97c03149-f3b1-4200-9dcd-33ded60326e7", "name": "services", "item": [{"id": "b5745c75-01b1-4e2e-8ce2-d53cc311477b", "name": "Retrieves the collection of Service resources.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fe0aaae7-3175-407e-80c0-a96ea3211c07", "name": "Service collection response", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "88626f9b-fce3-4cbf-81ea-be11419254ae", "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": "47e2e432-1016-47cd-92e5-32606267f1c6"}}]}, {"id": "279581b7-f0bc-41a0-925c-43c1c8e0d433", "name": "Creates a Service resource.", "request": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"messagebird\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "275f1356-d02c-4904-8995-746409e8015c", "name": "Invalid input", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "1743ae4c-2c30-4dac-875d-441660f9670a", "name": "Service resource created", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "89a0e712-df09-4352-b83e-e06c59a6d307", "name": "Resource not found", "originalRequest": {"url": {"path": ["services"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "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(\"service\", jsonData.id);\r", "});"], "_lastExecutionId": "0fa322b8-c233-4209-976e-e4ce30912365"}}]}], "event": []}, "cursor": {"ref": "33562913-2a14-4d2e-b169-a4ae2e1f4a89", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "50f199bf-96dd-4904-a99d-fcdb6d0a7408", "scriptId": "af130a6a-2a64-4671-aa35-c3eaf72455b4", "execution": "0fa322b8-c233-4209-976e-e4ce30912365"}}, {"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": "935c0368-4569-40b0-a740-b1b6f25f02c8", "timestamp": 1713132011836, "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": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, "parent": {"id": "e8d3614e-cb46-4997-9dff-2952ac1ce7dd", "name": "services/{id}", "item": [{"id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, {"id": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}], "event": [{"listen": "prerequest", "script": {"id": "c57cb8ec-3a3f-45f0-a43d-a526daeca938", "type": "text/javascript", "exec": [""], "_lastExecutionId": "6c5e0b0c-f2e1-4c81-aed0-51f6ea2c17d7"}}, {"listen": "test", "script": {"id": "3a60d3ac-8630-4a0a-b82e-d6622dcb3272", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7509f384-88bc-41b3-89af-abb701bdfb50"}}]}, "cursor": {"ref": "6a41d52e-95fd-4f01-b691-77edd1272165", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "c20d5851-8b5b-4d34-a50c-d7ffd4d5650f", "scriptId": "5243ded8-efd8-49d9-b4c2-3a7615724945", "execution": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}, {"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": "e54230da-0fb9-42c7-9b0e-01a85dedbe71", "timestamp": 1713132011837, "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": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, "parent": {"id": "e8d3614e-cb46-4997-9dff-2952ac1ce7dd", "name": "services/{id}", "item": [{"id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, {"id": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}], "event": [{"listen": "prerequest", "script": {"id": "c57cb8ec-3a3f-45f0-a43d-a526daeca938", "type": "text/javascript", "exec": [""], "_lastExecutionId": "6c5e0b0c-f2e1-4c81-aed0-51f6ea2c17d7"}}, {"listen": "test", "script": {"id": "3a60d3ac-8630-4a0a-b82e-d6622dcb3272", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7509f384-88bc-41b3-89af-abb701bdfb50"}}]}, "cursor": {"ref": "6a41d52e-95fd-4f01-b691-77edd1272165", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "c20d5851-8b5b-4d34-a50c-d7ffd4d5650f", "scriptId": "5243ded8-efd8-49d9-b4c2-3a7615724945", "execution": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}, {"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": "8fc2f746-0e60-44e9-ba44-ea6084e1f378", "timestamp": 1713132011838, "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": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, "parent": {"id": "e8d3614e-cb46-4997-9dff-2952ac1ce7dd", "name": "services/{id}", "item": [{"id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, {"id": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}], "event": [{"listen": "prerequest", "script": {"id": "c57cb8ec-3a3f-45f0-a43d-a526daeca938", "type": "text/javascript", "exec": [""], "_lastExecutionId": "6c5e0b0c-f2e1-4c81-aed0-51f6ea2c17d7"}}, {"listen": "test", "script": {"id": "3a60d3ac-8630-4a0a-b82e-d6622dcb3272", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7509f384-88bc-41b3-89af-abb701bdfb50"}}]}, "cursor": {"ref": "6a41d52e-95fd-4f01-b691-77edd1272165", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "c20d5851-8b5b-4d34-a50c-d7ffd4d5650f", "scriptId": "5243ded8-efd8-49d9-b4c2-3a7615724945", "execution": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}, {"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": "51dbe1c4-adc7-453f-a771-0eb3bd94f0b7", "timestamp": 1713132011951, "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": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}, "parent": {"id": "e8d3614e-cb46-4997-9dff-2952ac1ce7dd", "name": "services/{id}", "item": [{"id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, {"id": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}], "event": [{"listen": "prerequest", "script": {"id": "c57cb8ec-3a3f-45f0-a43d-a526daeca938", "type": "text/javascript", "exec": [""], "_lastExecutionId": "6c5e0b0c-f2e1-4c81-aed0-51f6ea2c17d7"}}, {"listen": "test", "script": {"id": "3a60d3ac-8630-4a0a-b82e-d6622dcb3272", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7509f384-88bc-41b3-89af-abb701bdfb50"}}]}, "cursor": {"ref": "c90911fa-49fa-4602-92fa-eae6dc1848e6", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "bc9a4461-265b-4eba-b72b-3da01a9f7620", "scriptId": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "execution": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}, {"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": "eef398f8-aaea-4eaf-8d93-98efbf41f24c", "timestamp": 1713132011952, "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": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}, "parent": {"id": "e8d3614e-cb46-4997-9dff-2952ac1ce7dd", "name": "services/{id}", "item": [{"id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, {"id": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}], "event": [{"listen": "prerequest", "script": {"id": "c57cb8ec-3a3f-45f0-a43d-a526daeca938", "type": "text/javascript", "exec": [""], "_lastExecutionId": "6c5e0b0c-f2e1-4c81-aed0-51f6ea2c17d7"}}, {"listen": "test", "script": {"id": "3a60d3ac-8630-4a0a-b82e-d6622dcb3272", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7509f384-88bc-41b3-89af-abb701bdfb50"}}]}, "cursor": {"ref": "c90911fa-49fa-4602-92fa-eae6dc1848e6", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "bc9a4461-265b-4eba-b72b-3da01a9f7620", "scriptId": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "execution": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}, {"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": "c482ad62-07e7-4fe0-90d5-d9b8e40c9405", "timestamp": 1713132011953, "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": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}, "parent": {"id": "e8d3614e-cb46-4997-9dff-2952ac1ce7dd", "name": "services/{id}", "item": [{"id": "0c74e9b4-890c-46ff-83e2-683dce04382c", "name": "Retrieves a Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "7d8710c9-8f67-4f05-b2a8-2d2955491c69", "name": "Service resource response", "originalRequest": {"url": {"path": ["services", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "aaa56648-c857-4e1c-b849-f765e22732ca", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "5243ded8-efd8-49d9-b4c2-3a7615724945", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "28da43fe-5030-4733-8ffb-f203ba889cdd"}}]}, {"id": "810f755c-dc0a-4f65-a32e-f174be496b10", "name": "Replaces the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\t\"type\": \"mailer\",\r\n\t\"organization\": \"002851234\",\r\n\t\"authorization\": \"013276cc-1483-46b4-ad5b-1cba5acf6d9f\",\r\n\t\"configuration\": [\"string\"]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70a9db5a-06a8-4568-b546-09a2adc1f41e", "name": "Resource not found", "originalRequest": {"url": {"path": ["services", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "750ddf6a-eb27-4880-84fc-f71b10f35ec4", "name": "Service resource updated", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "923b4de2-3126-4e71-a5af-67eb63344515", "name": "Invalid input", "originalRequest": {"url": {"path": ["services", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "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": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}]}], "event": [{"listen": "prerequest", "script": {"id": "c57cb8ec-3a3f-45f0-a43d-a526daeca938", "type": "text/javascript", "exec": [""], "_lastExecutionId": "6c5e0b0c-f2e1-4c81-aed0-51f6ea2c17d7"}}, {"listen": "test", "script": {"id": "3a60d3ac-8630-4a0a-b82e-d6622dcb3272", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7509f384-88bc-41b3-89af-abb701bdfb50"}}]}, "cursor": {"ref": "c90911fa-49fa-4602-92fa-eae6dc1848e6", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "bc9a4461-265b-4eba-b72b-3da01a9f7620", "scriptId": "40e007d3-d691-4202-a5ec-0445bcaefb4e", "execution": "c64b238e-f2d3-4287-beeb-c694211f3bc3"}}, {"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:5)", "checksum": "d251a7df0618aa0b7d7d2356eec65e19", "id": "98682577-d4f5-4258-8b3c-9314bcde1b18", "timestamp": 1713132012021, "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": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, "parent": {"id": "9c984698-59fa-4781-b0b6-9730e1cf4c4f", "name": "messages", "item": [{"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}], "event": []}, "cursor": {"ref": "ac49beeb-5257-4ac3-9790-89226723c88e", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "b980d466-ee3b-49f8-8c35-4add952b1553", "scriptId": "5545b36a-927a-4778-a421-c009ffb510c9", "execution": "3e5a6365-b68c-4a83-9386-7e8653678029"}}, {"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:5)", "checksum": "38f4193d690752db74e73ae362390c02", "id": "fdbd8737-db68-4937-91f7-18c030a52954", "timestamp": 1713132012022, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 5, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, "parent": {"id": "9c984698-59fa-4781-b0b6-9730e1cf4c4f", "name": "messages", "item": [{"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}], "event": []}, "cursor": {"ref": "ac49beeb-5257-4ac3-9790-89226723c88e", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "b980d466-ee3b-49f8-8c35-4add952b1553", "scriptId": "5545b36a-927a-4778-a421-c009ffb510c9", "execution": "3e5a6365-b68c-4a83-9386-7e8653678029"}}, {"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:5)", "checksum": "720430d821e901752154ef110b562449", "id": "034195ac-29c5-4c20-a15e-5a28b16b201f", "timestamp": 1713132012023, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 5, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, "parent": {"id": "9c984698-59fa-4781-b0b6-9730e1cf4c4f", "name": "messages", "item": [{"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}], "event": []}, "cursor": {"ref": "ac49beeb-5257-4ac3-9790-89226723c88e", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "b980d466-ee3b-49f8-8c35-4add952b1553", "scriptId": "5545b36a-927a-4778-a421-c009ffb510c9", "execution": "3e5a6365-b68c-4a83-9386-7e8653678029"}}, {"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:6)", "checksum": "d7a841d394190e37c00cbc6fe2082ec0", "id": "1db0a7e1-dd16-4ba1-9d46-937b54e54bc2", "timestamp": 1713132012105, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 6, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}, "parent": {"id": "9c984698-59fa-4781-b0b6-9730e1cf4c4f", "name": "messages", "item": [{"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}], "event": []}, "cursor": {"ref": "6a89a475-32d1-4dba-8363-9297a4dca348", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "d7ab0f74-90fd-476b-85d7-435ba650d46d", "scriptId": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "execution": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}, {"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:6)", "checksum": "7aca91c66728760661625a6a40b494e1", "id": "15e46482-3996-42f6-8b60-994da85afd6c", "timestamp": 1713132012106, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 6, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}, "parent": {"id": "9c984698-59fa-4781-b0b6-9730e1cf4c4f", "name": "messages", "item": [{"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}], "event": []}, "cursor": {"ref": "6a89a475-32d1-4dba-8363-9297a4dca348", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "d7ab0f74-90fd-476b-85d7-435ba650d46d", "scriptId": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "execution": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}, {"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:6)", "checksum": "db36de7a586abae7109406a2b9354e6b", "id": "cb2eb7cd-bfd2-4438-8dc3-f8a035e84a78", "timestamp": 1713132012108, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 6, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}, "parent": {"id": "9c984698-59fa-4781-b0b6-9730e1cf4c4f", "name": "messages", "item": [{"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}], "event": []}, "cursor": {"ref": "6a89a475-32d1-4dba-8363-9297a4dca348", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "d7ab0f74-90fd-476b-85d7-435ba650d46d", "scriptId": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "execution": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<html>\n^\n at Object.eval sandbox-script.js:4:6)", "checksum": "a7415024dcec7620677453a8485a1ea5", "id": "cf1e5fa8-564d-48ce-b236-64f74ac8c68f", "timestamp": 1713132012109, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 4, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 6, "native": false}]}, "at": "assertion:3 in test-script", "source": {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}, "parent": {"id": "9c984698-59fa-4781-b0b6-9730e1cf4c4f", "name": "messages", "item": [{"id": "7ca21f5d-99f0-404f-ae5e-bf062992aebf", "name": "Retrieves the collection of Message resources.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "description": {"content": "The collection page number", "type": "text/plain"}, "key": "page", "value": "1"}, {"disabled": true, "description": {"content": "An array of nested objects to include in the return object", "type": "text/plain"}, "key": "extend[]", "value": "<array>"}, {"disabled": true, "description": {"content": "An array of fields to return in output, wil return all fields is not supplied", "type": "text/plain"}, "key": "fields[]", "value": "<array>"}, {"disabled": true, "description": {"content": "Returns object as valid on a given date time", "type": "text/plain"}, "key": "validOn", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid from a given date time", "type": "text/plain"}, "key": "validFrom", "value": "<dateTime>"}, {"disabled": true, "description": {"content": "Returns objects valid until a given date time", "type": "text/plain"}, "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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42f909f2-1156-4a6a-83fd-c3185fb7e0df", "name": "Message collection response", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [{"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/hal+json"}], "body": "[\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n },\n {\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n }\n]", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5545b36a-927a-4778-a421-c009ffb510c9", "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": "3e5a6365-b68c-4a83-9386-7e8653678029"}}]}, {"id": "08516da2-47ed-4312-9b60-e3bc40026c60", "name": "Creates a Message resource.", "request": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"https://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "42a8b63f-0948-4095-8df1-a579d349392e", "name": "Message resource created", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "1a46b236-25d4-4300-8841-938d10b5353a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7e5ce239-fadd-45a6-b41f-0a2576a73964", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "POST", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "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(\"message\", jsonData.id);\r", "});"], "_lastExecutionId": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}]}], "event": []}, "cursor": {"ref": "6a89a475-32d1-4dba-8363-9297a4dca348", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "d7ab0f74-90fd-476b-85d7-435ba650d46d", "scriptId": "4a0c157b-47bd-4e39-ae01-3d0d5eabc6c9", "execution": "4e1ae5f6-fbc6-4a42-9477-5dfdd916295a"}}, {"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:7)", "checksum": "373b04f03fa0a90f0ac84682861d371b", "id": "d1aba207-b107-4fda-be58-b5130a7397b7", "timestamp": 1713132012184, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 7, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, "parent": {"id": "9a10da6f-9267-45e0-b9c3-1c49fdd069a2", "name": "messages/{id}", "item": [{"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}], "event": []}, "cursor": {"ref": "c9a906af-96a6-450d-8e69-c489eeba7c85", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "31588c81-b924-4256-8e53-ee9d72311efe", "scriptId": "ee8f6830-c0b2-4514-b27f-c62525d58659", "execution": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}, {"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:7)", "checksum": "a8d06b364da3ea16878ca9cea5e90d1b", "id": "9e7cb109-1e06-4d31-94c4-b55f96fc7724", "timestamp": 1713132012185, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 7, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, "parent": {"id": "9a10da6f-9267-45e0-b9c3-1c49fdd069a2", "name": "messages/{id}", "item": [{"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}], "event": []}, "cursor": {"ref": "c9a906af-96a6-450d-8e69-c489eeba7c85", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "31588c81-b924-4256-8e53-ee9d72311efe", "scriptId": "ee8f6830-c0b2-4514-b27f-c62525d58659", "execution": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}, {"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:7)", "checksum": "ab9dced1cd18a7aed19f3e4211e9c7b0", "id": "c98c82ff-0679-47e2-a828-b7ab54f4f141", "timestamp": 1713132012187, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 7, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, "parent": {"id": "9a10da6f-9267-45e0-b9c3-1c49fdd069a2", "name": "messages/{id}", "item": [{"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}], "event": []}, "cursor": {"ref": "c9a906af-96a6-450d-8e69-c489eeba7c85", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "31588c81-b924-4256-8e53-ee9d72311efe", "scriptId": "ee8f6830-c0b2-4514-b27f-c62525d58659", "execution": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}, {"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:8)", "checksum": "37390725e41de1427642c510650e2908", "id": "5ff056b3-dbb4-4d9b-be94-91d97c875033", "timestamp": 1713132012273, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 8, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}, "parent": {"id": "9a10da6f-9267-45e0-b9c3-1c49fdd069a2", "name": "messages/{id}", "item": [{"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}], "event": []}, "cursor": {"ref": "4e1e6369-5425-4ddb-b22d-6178ee20af90", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "35ae3cf7-8379-4692-a684-3077e21515e1", "scriptId": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "execution": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}, {"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:8)", "checksum": "d84cf9c9bd70a367eae7b0d7b1e3ff76", "id": "08593d53-7968-4ad7-8aba-49c79a02f202", "timestamp": 1713132012275, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 8, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}, "parent": {"id": "9a10da6f-9267-45e0-b9c3-1c49fdd069a2", "name": "messages/{id}", "item": [{"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}], "event": []}, "cursor": {"ref": "4e1e6369-5425-4ddb-b22d-6178ee20af90", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "35ae3cf7-8379-4692-a684-3077e21515e1", "scriptId": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "execution": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}, {"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:8)", "checksum": "491deb8d75c5ee742ae00258acc0032c", "id": "7b04c746-4eb8-4911-908a-fb964c106065", "timestamp": 1713132012276, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 8, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}, "parent": {"id": "9a10da6f-9267-45e0-b9c3-1c49fdd069a2", "name": "messages/{id}", "item": [{"id": "4ff9667e-a41e-4c63-b605-6cfa858803ac", "name": "Retrieves a Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "f584390d-0252-426b-827d-3269c1f71f55", "name": "Message resource response", "originalRequest": {"url": {"path": ["messages", ":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"}]}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b30b6fc1-c53a-453a-95d1-b173aa74f51a", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "ee8f6830-c0b2-4514-b27f-c62525d58659", "type": "text/javascript", "exec": ["// example using pm.response.to.have", "pm.test(\"response is ok\", function () {", " pm.response.to.have.status(200);", "});", "", "// example using response assertions", "pm.test(\"response should be okay to process\", function () {", " pm.response.to.not.be.error;", " pm.response.to.not.have.jsonBody(\"error\");", "});", "", "// example using pm.response.to.be*", "pm.test(\"response must be valid and have a body\", function () {", " // assert that the status code is 200", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants", " // assert that the response has a valid JSON body", " pm.response.to.be.withBody;", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed", "});"], "_lastExecutionId": "1357a121-448c-4de2-80c1-1d1f22d3abab"}}]}, {"id": "a20f093b-4b1f-4e9a-b58a-35be16380785", "name": "Replaces the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "{\r\n\"reciever\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"sender\": \"http://cc.dev.zuid-drecht.nl/people/f7f9afcf-9aaf-4e36-8911-4cf1ebf3270f\",\r\n\"content\": \"http://wrc.dev.zuid-drecht.nl/templates/01cb91e9-7211-45b8-aee9-6f044f3b41dc\",\r\n\"externalServiceId\": \"013276cc-1483-46b4-ad5b-1cbcf69f\",\r\n\"send\": null,\r\n\"status\": \"concept\",\r\n\"service\":\"/services/{{service}}\"\r\n\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "90119fd8-6cef-470c-aee5-faf2399fde88", "name": "Resource not found", "originalRequest": {"url": {"path": ["messages", ":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": ""}, {"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4862b8aa-9dd7-4970-b1f9-0b987f149186", "name": "Message resource updated", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "{\n \"id\": \"<string>\",\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"id\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "d54e433b-260c-4701-b23c-10ea387a75d0", "name": "Invalid input", "originalRequest": {"url": {"path": ["messages", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"reciever\": \"<string>\",\n \"sender\": \"<string>\",\n \"content\": \"<string>\",\n \"status\": \"<string>\",\n \"service\": {\n \"organization\": \"<string>\",\n \"authorization\": \"<string>\",\n \"type\": \"<string>\",\n \"configuration\": \"<string>\"\n },\n \"data\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "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": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}]}], "event": []}, "cursor": {"ref": "4e1e6369-5425-4ddb-b22d-6178ee20af90", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "35ae3cf7-8379-4692-a684-3077e21515e1", "scriptId": "a18176fc-17f0-4a74-9a59-d0c9021d28b3", "execution": "d463ad56-b46b-4f42-85b1-54464b1a734b"}}, {"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:9)", "checksum": "e596ad8aaf8229376dc0e0e6924171c6", "id": "83b18182-f390-4962-97ac-e8e8cd828c0e", "timestamp": 1713132012340, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 9, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, "parent": {"id": "6ba16e0e-5c11-43cd-9824-446a50491779", "name": "send_lists", "item": [{"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}], "event": []}, "cursor": {"ref": "9bc444c7-bd82-4b14-a61c-d49504183bf9", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "6927f761-bb34-4817-8ef6-805b44651a0d", "scriptId": "b9788511-d6bf-442d-b0c2-6da9c480830e", "execution": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}, {"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:9)", "checksum": "31b287bf00f697d350586c3c3d9c297e", "id": "d82f91e0-fb3b-480d-9803-91c763112cbf", "timestamp": 1713132012341, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 9, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, "parent": {"id": "6ba16e0e-5c11-43cd-9824-446a50491779", "name": "send_lists", "item": [{"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}], "event": []}, "cursor": {"ref": "9bc444c7-bd82-4b14-a61c-d49504183bf9", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "6927f761-bb34-4817-8ef6-805b44651a0d", "scriptId": "b9788511-d6bf-442d-b0c2-6da9c480830e", "execution": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}, {"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:9)", "checksum": "68f00f5243e4ff316c98d38f7429d28a", "id": "1ae5317f-e1c3-4502-9480-0c9e72e10f50", "timestamp": 1713132012342, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 9, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, "parent": {"id": "6ba16e0e-5c11-43cd-9824-446a50491779", "name": "send_lists", "item": [{"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}], "event": []}, "cursor": {"ref": "9bc444c7-bd82-4b14-a61c-d49504183bf9", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "6927f761-bb34-4817-8ef6-805b44651a0d", "scriptId": "b9788511-d6bf-442d-b0c2-6da9c480830e", "execution": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}, {"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:10)", "checksum": "033432d866370ff67ee0f2e2371b4ec1", "id": "f632c06c-82e4-4d4e-adc1-e5e5adf6c23a", "timestamp": 1713132012406, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 10, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}, "parent": {"id": "6ba16e0e-5c11-43cd-9824-446a50491779", "name": "send_lists", "item": [{"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}], "event": []}, "cursor": {"ref": "97f8f2cd-a17d-4671-ada2-84c907826756", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "bcbbfe30-4f5e-4631-9eaa-89ff9da5768e", "scriptId": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "execution": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}, {"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:10)", "checksum": "f2317a92a08c810884217ae9770f793b", "id": "46116d73-8f2f-4e24-96b4-18f35140585a", "timestamp": 1713132012406, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 10, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}, "parent": {"id": "6ba16e0e-5c11-43cd-9824-446a50491779", "name": "send_lists", "item": [{"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}], "event": []}, "cursor": {"ref": "97f8f2cd-a17d-4671-ada2-84c907826756", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "bcbbfe30-4f5e-4631-9eaa-89ff9da5768e", "scriptId": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "execution": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}, {"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:10)", "checksum": "0ab85286745867e5769da17e1abe69df", "id": "0a15755b-6882-4d5d-89fa-5856e9e0de4a", "timestamp": 1713132012409, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 10, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}, "parent": {"id": "6ba16e0e-5c11-43cd-9824-446a50491779", "name": "send_lists", "item": [{"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}], "event": []}, "cursor": {"ref": "97f8f2cd-a17d-4671-ada2-84c907826756", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "bcbbfe30-4f5e-4631-9eaa-89ff9da5768e", "scriptId": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "execution": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<html>\n^\n at Object.eval sandbox-script.js:4:10)", "checksum": "994813a47ae28e4ec17d93ea22c45089", "id": "9b278da6-bd72-4afc-ad8f-fc6bc2010f95", "timestamp": 1713132012409, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 4, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 10, "native": false}]}, "at": "assertion:3 in test-script", "source": {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}, "parent": {"id": "6ba16e0e-5c11-43cd-9824-446a50491779", "name": "send_lists", "item": [{"id": "33a2a1a2-4e6a-4f02-8aa1-e633910a5c8b", "name": "Retrieves the collection of SendList resources.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [{"disabled": true, "key": "organization", "value": "https://dev.zuid-drecht.nl/api/v1/wrc/organizations/4d1eded3-fbdf-438f-9536-8747dd8ab591"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "b9788511-d6bf-442d-b0c2-6da9c480830e", "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": "fba56626-2cbf-4173-83d3-3beeefbf7c68"}}]}, {"id": "4c3222ae-37c8-43b2-b0b9-42d3e5c93caa", "name": "Creates a SendList resource.", "request": {"url": {"path": ["send_lists"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "41d8d854-781c-4162-81a5-4ba7a8d8e197", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "034399e3-912a-49b1-9dbe-61fca7a55d7f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2621441b-84e9-4d6f-aec7-ee5a842d4042", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "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", "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(\"send_list\", jsonData.id);\r", "});"], "_lastExecutionId": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}]}], "event": []}, "cursor": {"ref": "97f8f2cd-a17d-4671-ada2-84c907826756", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "bcbbfe30-4f5e-4631-9eaa-89ff9da5768e", "scriptId": "58ebfdfe-d006-4e0f-adba-cb89454fc6b8", "execution": "b95f9598-1f7c-4774-8b5d-c0b669bd3f68"}}, {"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:11)", "checksum": "4f9f1adcfbbffe4d2e8f76806093a3cb", "id": "34f00bd2-87d8-448e-b1b4-e600b909a081", "timestamp": 1713132012494, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 11, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, "parent": {"id": "4faa26cc-7240-4122-9b52-ba6392354011", "name": "send_lists/{id}", "item": [{"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}], "event": []}, "cursor": {"ref": "dc2deed7-3bca-4ce8-b067-cd73572cf0fb", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "88a5293e-fa69-44f5-9eb2-a7e6eeb197d5", "scriptId": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "execution": "f4485da1-63bb-4453-8a68-33ad44228f28"}}, {"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:11)", "checksum": "c38dc475a67081c203975f102eb8be23", "id": "2a41a525-70f4-4096-8abc-281360586d21", "timestamp": 1713132012495, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 11, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, "parent": {"id": "4faa26cc-7240-4122-9b52-ba6392354011", "name": "send_lists/{id}", "item": [{"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}], "event": []}, "cursor": {"ref": "dc2deed7-3bca-4ce8-b067-cd73572cf0fb", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "88a5293e-fa69-44f5-9eb2-a7e6eeb197d5", "scriptId": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "execution": "f4485da1-63bb-4453-8a68-33ad44228f28"}}, {"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:11)", "checksum": "25dd4442ae41782e8d3788e70ea92783", "id": "2ec1db2c-0753-40bf-b974-2f74178eaa94", "timestamp": 1713132012496, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 11, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, "parent": {"id": "4faa26cc-7240-4122-9b52-ba6392354011", "name": "send_lists/{id}", "item": [{"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}], "event": []}, "cursor": {"ref": "dc2deed7-3bca-4ce8-b067-cd73572cf0fb", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "88a5293e-fa69-44f5-9eb2-a7e6eeb197d5", "scriptId": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "execution": "f4485da1-63bb-4453-8a68-33ad44228f28"}}, {"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:12)", "checksum": "641419c9059447b3f5be47f21b62d7ea", "id": "23ca92d6-b457-49cd-9800-691f6288bee3", "timestamp": 1713132012558, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 12, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}, "parent": {"id": "4faa26cc-7240-4122-9b52-ba6392354011", "name": "send_lists/{id}", "item": [{"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}], "event": []}, "cursor": {"ref": "bef920fe-7bf9-44c5-a1ba-fb5bc1e02b74", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "9903c6da-665c-4e7a-89d7-9fbe57a2b21f", "scriptId": "7771c32b-a635-41b8-8c21-64264f9df4fc", "execution": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}, {"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:12)", "checksum": "4a4e479405e579d77fa90ee32f38411b", "id": "1e1b103e-5392-4dc5-9f6c-4efa00c0e2f4", "timestamp": 1713132012559, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 12, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}, "parent": {"id": "4faa26cc-7240-4122-9b52-ba6392354011", "name": "send_lists/{id}", "item": [{"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}], "event": []}, "cursor": {"ref": "bef920fe-7bf9-44c5-a1ba-fb5bc1e02b74", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "9903c6da-665c-4e7a-89d7-9fbe57a2b21f", "scriptId": "7771c32b-a635-41b8-8c21-64264f9df4fc", "execution": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}, {"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:12)", "checksum": "25468b38749fae5af32cc0b8269cf5eb", "id": "6242747b-ba67-485a-be3a-0707f7ad5181", "timestamp": 1713132012559, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 12, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}, "parent": {"id": "4faa26cc-7240-4122-9b52-ba6392354011", "name": "send_lists/{id}", "item": [{"id": "8ec523d2-46e2-477f-98b4-8cc6634f91ec", "name": "Retrieves a SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "232cda1f-175b-42fc-9a8a-fd24eca44b46", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8fee069a-da50-42e4-9d9a-336f509f1ca3", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "7bcfc3be-bcef-4f62-b9f3-0d0d2b8c9cc3", "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": "f4485da1-63bb-4453-8a68-33ad44228f28"}}]}, {"id": "11df05eb-b728-4bc5-877f-0f15f2c8d785", "name": "Replaces the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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\": \"News email\",\n \"description\": \"Mailing list for sending news\",\n \"mail\": true,\n \"organization\": \"https://dev.zuid-drecht.nl/api/v1/wrc/organizations/360e17fb-1a98-48b7-a2a8-212c79a5f51a\"\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4b8feb40-9a1e-47d8-8c86-8683d48af8df", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "fee4d1fd-9097-47a3-8354-cc1bbf02efe8", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "454feb59-4c16-4848-9b1b-1bb31f9c282f", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7771c32b-a635-41b8-8c21-64264f9df4fc", "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": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}]}], "event": []}, "cursor": {"ref": "bef920fe-7bf9-44c5-a1ba-fb5bc1e02b74", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "9903c6da-665c-4e7a-89d7-9fbe57a2b21f", "scriptId": "7771c32b-a635-41b8-8c21-64264f9df4fc", "execution": "443c216e-8dcd-47c6-a801-6036a7cefc27"}}, {"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:13)", "checksum": "f101c8f118866de4a2c3c4cb88f131f5", "id": "fd697285-a093-45ba-ac8f-cb7bb485579e", "timestamp": 1713132012623, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 13, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, "parent": {"id": "e52e2d6c-d8b1-4793-91e0-ccfc3baa447b", "name": "subscribers", "item": [{"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}], "event": []}, "cursor": {"ref": "3a80fc36-5295-4a45-adb8-4f409d58348a", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "eec19266-7c3e-4fdf-821c-18ddfa802926", "scriptId": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "execution": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}, {"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:13)", "checksum": "96ccb993cdca35d5d80a8afa7a3da886", "id": "0073a151-47d0-49ac-af74-7e51c93eaa8e", "timestamp": 1713132012624, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 13, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, "parent": {"id": "e52e2d6c-d8b1-4793-91e0-ccfc3baa447b", "name": "subscribers", "item": [{"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}], "event": []}, "cursor": {"ref": "3a80fc36-5295-4a45-adb8-4f409d58348a", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "eec19266-7c3e-4fdf-821c-18ddfa802926", "scriptId": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "execution": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}, {"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:13)", "checksum": "1acf489b87caac927cd7a2bd34cfb456", "id": "f2a41668-d1aa-453f-8478-91e2fe6068b7", "timestamp": 1713132012625, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 13, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, "parent": {"id": "e52e2d6c-d8b1-4793-91e0-ccfc3baa447b", "name": "subscribers", "item": [{"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}], "event": []}, "cursor": {"ref": "3a80fc36-5295-4a45-adb8-4f409d58348a", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "eec19266-7c3e-4fdf-821c-18ddfa802926", "scriptId": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "execution": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}, {"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:14)", "checksum": "213bfe2c31d365e3da51a28fcfb95275", "id": "e28137b2-2aef-460c-beae-9ff2fc71e5c6", "timestamp": 1713132012681, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 14, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}, "parent": {"id": "e52e2d6c-d8b1-4793-91e0-ccfc3baa447b", "name": "subscribers", "item": [{"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}], "event": []}, "cursor": {"ref": "9fe4e957-7420-4a0e-b712-608331d2bae3", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "cb2fd697-d253-40e0-889c-043f93d01c23", "scriptId": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "execution": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}, {"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:14)", "checksum": "507c825e7d0387fa409dec16afa66504", "id": "8f9d63d7-0d23-46fa-81c5-7fe1c282c572", "timestamp": 1713132012682, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 14, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}, "parent": {"id": "e52e2d6c-d8b1-4793-91e0-ccfc3baa447b", "name": "subscribers", "item": [{"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}], "event": []}, "cursor": {"ref": "9fe4e957-7420-4a0e-b712-608331d2bae3", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "cb2fd697-d253-40e0-889c-043f93d01c23", "scriptId": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "execution": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}, {"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:14)", "checksum": "7fabde8a55889e2e84dc6059107696ab", "id": "0d279aca-b83d-425a-9d27-722efc4907f6", "timestamp": 1713132012684, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 14, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}, "parent": {"id": "e52e2d6c-d8b1-4793-91e0-ccfc3baa447b", "name": "subscribers", "item": [{"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}], "event": []}, "cursor": {"ref": "9fe4e957-7420-4a0e-b712-608331d2bae3", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "cb2fd697-d253-40e0-889c-043f93d01c23", "scriptId": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "execution": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<html>\n^\n at Object.eval sandbox-script.js:4:14)", "checksum": "0077dcc426959657d3b53571eeaccf9b", "id": "4e316f11-4269-4f80-969c-52df14c0fe66", "timestamp": 1713132012685, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 4, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 14, "native": false}]}, "at": "assertion:3 in test-script", "source": {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}, "parent": {"id": "e52e2d6c-d8b1-4793-91e0-ccfc3baa447b", "name": "subscribers", "item": [{"id": "ace43819-ac2f-4338-91a9-d260ff916ecc", "name": "Retrieves the collection of Subscriber resources.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [], "event": [{"listen": "test", "script": {"id": "91cf206d-0ea4-40ab-9cae-101caf8142ed", "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": "338d28cd-3d2e-474a-82b7-ec4a5099b087"}}]}, {"id": "31198b0c-39a4-4b0d-8b1b-5a52a4f82982", "name": "Creates a Subscriber resource.", "request": {"url": {"path": ["subscribers"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"aSuperRandomEmailToMakeSureThisIsNotAnExistingSubscriberForPostmanTests@mail.com\",\n \"person\": \"https://dev.zuid-drecht.nl\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "Authorization", "key": "key"}, {"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "e243e73b-85f9-4a74-b302-4cb5c2df587b", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "18b14d7a-052e-4621-9754-423977e9f18d", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "57bc0f65-15c6-4c40-ab04-d5e66dd590fb", "name": "Challenge resource created", "originalRequest": {"url": {"path": ["challenges"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "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", "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(\"subscriber\", jsonData.id);\r", "});"], "_lastExecutionId": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}]}], "event": []}, "cursor": {"ref": "9fe4e957-7420-4a0e-b712-608331d2bae3", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "cb2fd697-d253-40e0-889c-043f93d01c23", "scriptId": "ced69a4f-fa1a-42f5-9d3c-f842cba1cd30", "execution": "84da63cd-8f90-4e0f-93f3-12237d663d40"}}, {"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:15)", "checksum": "2b241cf30644b557f9d25bb0710eab25", "id": "ad4a25a3-2e01-4159-80cc-2d3dc4bcb2e5", "timestamp": 1713132012741, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 15, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, "parent": {"id": "4e311494-b0c0-4db3-b5ce-864f8be866fb", "name": "subscribers/{id}", "item": [{"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}], "event": []}, "cursor": {"ref": "ffee9289-a523-4956-b087-7a07da364ac2", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "46c6d76b-09f8-453d-9652-3b3df9ab87ce", "scriptId": "6f6646ee-3fce-4964-a085-c532d814c7c3", "execution": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}, {"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:15)", "checksum": "e2ec952fce04827b947c70ec980c2078", "id": "0fea4a10-9f27-4472-8b0e-1f1d9d3450a5", "timestamp": 1713132012742, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 15, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, "parent": {"id": "4e311494-b0c0-4db3-b5ce-864f8be866fb", "name": "subscribers/{id}", "item": [{"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}], "event": []}, "cursor": {"ref": "ffee9289-a523-4956-b087-7a07da364ac2", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "46c6d76b-09f8-453d-9652-3b3df9ab87ce", "scriptId": "6f6646ee-3fce-4964-a085-c532d814c7c3", "execution": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}, {"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:15)", "checksum": "b96cfb24329f17839bc4f25ddde2f51c", "id": "e8ce0cc8-fa42-46be-8458-00bdc552193d", "timestamp": 1713132012742, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 15, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, "parent": {"id": "4e311494-b0c0-4db3-b5ce-864f8be866fb", "name": "subscribers/{id}", "item": [{"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}], "event": []}, "cursor": {"ref": "ffee9289-a523-4956-b087-7a07da364ac2", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "46c6d76b-09f8-453d-9652-3b3df9ab87ce", "scriptId": "6f6646ee-3fce-4964-a085-c532d814c7c3", "execution": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}, {"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:16)", "checksum": "560f02e1b38fdd2b0084b4f2f68ce47f", "id": "3f8ad254-fd44-4d34-9334-447ec1a10854", "timestamp": 1713132012827, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 16, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}, "parent": {"id": "4e311494-b0c0-4db3-b5ce-864f8be866fb", "name": "subscribers/{id}", "item": [{"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}], "event": []}, "cursor": {"ref": "d2b44bcf-100e-4005-9074-39dd22c9e639", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "cf0bba5d-2939-4371-992f-9460e9c4b04e", "scriptId": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "execution": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}, {"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:16)", "checksum": "32ce05746493cd16384fd715fc67df23", "id": "eb7cf026-3511-47e6-913b-9af4e0a6673a", "timestamp": 1713132012828, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 2, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 16, "native": false}]}, "at": "assertion:1 in test-script", "source": {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}, "parent": {"id": "4e311494-b0c0-4db3-b5ce-864f8be866fb", "name": "subscribers/{id}", "item": [{"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}], "event": []}, "cursor": {"ref": "d2b44bcf-100e-4005-9074-39dd22c9e639", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "cf0bba5d-2939-4371-992f-9460e9c4b04e", "scriptId": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "execution": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}, {"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:16)", "checksum": "98a515db47c17160e7f178860b3bf5ba", "id": "2711c96b-61a7-4ab8-86e7-6683a04be60e", "timestamp": 1713132012829, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 3, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 16, "native": false}]}, "at": "assertion:2 in test-script", "source": {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}, "parent": {"id": "4e311494-b0c0-4db3-b5ce-864f8be866fb", "name": "subscribers/{id}", "item": [{"id": "b52bd522-eccd-444d-a88f-ee85a72892fd", "name": "Retrieves a Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "67978787-c89b-4e58-95db-192e748f7f06", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "a6f0a1c6-4d7f-40b3-af23-e42322b6ded7", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6f6646ee-3fce-4964-a085-c532d814c7c3", "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": "61c14d86-c9bf-441d-85ee-ffa89de6d0e2"}}]}, {"id": "81997735-f9e3-4796-b990-6e8eaadeed97", "name": "Replaces the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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 \"email\": \"test@mail.com\",\n \"sendLists\": [\n \"/send_lists/{{send_list}}\"\n ]\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "df0582d9-0faa-4e3d-8c62-450a3e9d693d", "name": "Invalid input", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "6113fc48-d078-40d6-9cfc-bc479f89ef02", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "81eea244-713a-42b2-97a9-f15979fcc1ba", "name": "Challenge resource updated", "originalRequest": {"url": {"path": ["challenges", ":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 \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"challenge\": {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Pitch-write detected>\"\n }\n ]\n }\n }\n ]\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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "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": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}]}], "event": []}, "cursor": {"ref": "d2b44bcf-100e-4005-9074-39dd22c9e639", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "cf0bba5d-2939-4371-992f-9460e9c4b04e", "scriptId": "5dc6fc35-9a72-429f-99fa-459ec7af949d", "execution": "18915a06-04be-4b7b-9e0e-1ef7917c56cc"}}, {"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:17)", "checksum": "0e8a35a2b8e849d444f99da2448e340e", "id": "e5040e3a-1792-45db-a1a3-557d54a25494", "timestamp": 1713132012875, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 17, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "d0e85d6d-0e7e-4284-bdbf-d9bd75e8a2d2", "name": "Removes the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6601e026-d18a-4d3e-a588-cb8309ddc3f4", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "bdb777f0-a86b-4931-a623-aee0629f18f7", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "860c1f01-93a0-40bb-a953-1a6d177618f7", "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": "bcbd87fd-0596-4869-aacf-f0430ddfd345"}}]}, "parent": {"id": "d6387a2d-02ea-44c8-a75d-2f18221f07e2", "name": "cleanup", "item": [{"id": "d0e85d6d-0e7e-4284-bdbf-d9bd75e8a2d2", "name": "Removes the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6601e026-d18a-4d3e-a588-cb8309ddc3f4", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "bdb777f0-a86b-4931-a623-aee0629f18f7", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "860c1f01-93a0-40bb-a953-1a6d177618f7", "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": "bcbd87fd-0596-4869-aacf-f0430ddfd345"}}]}, {"id": "f0cf7f3f-9d5b-465a-b8c4-0cd6d21f2eff", "name": "Removes the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "5be96453-17c0-45c8-91a6-c07de881e861", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b3b4183-9375-4858-9053-068654e112e6", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "c1f9bd66-fbef-4e99-ad9c-4217349f1501", "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": "0db1bc72-bf3e-426c-bb7c-11c326232a2a"}}]}, {"id": "1a68c833-a50d-4151-896a-4179fd9fb736", "name": "Removes the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9750b6a1-335c-4af6-8245-b6af697312ab", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "3a42d9c9-240f-40d6-ada8-09191866d7b5", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7ab67ecd-d9b6-4842-a312-12e53fead3cf", "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": "2dafbac0-1185-46e6-9f5c-b4a425958f02"}}]}, {"id": "3b262165-415c-40da-a322-a0e00af2ae83", "name": "Removes the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d0749fc4-acbc-4953-a546-295c3066f469", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "0ec70b19-d481-42d6-9904-1868a18fefc5", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "0a57f5b6-308a-4ed2-926c-137065b71f80", "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": "845adb35-ddf8-47e3-b7d0-be40b5b308a3"}}]}], "event": []}, "cursor": {"ref": "1cefad4e-52c5-4f54-809f-ce11dd18df7a", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "60423cb3-bc2a-4245-a7a5-5e41ed028c46", "scriptId": "860c1f01-93a0-40bb-a953-1a6d177618f7", "execution": "bcbd87fd-0596-4869-aacf-f0430ddfd345"}}, {"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:18)", "checksum": "8e74bdaea5c7d616354ee78f6f75fe93", "id": "637a7814-6415-4aa9-ab29-9d03fa83129e", "timestamp": 1713132012942, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 18, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "f0cf7f3f-9d5b-465a-b8c4-0cd6d21f2eff", "name": "Removes the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "5be96453-17c0-45c8-91a6-c07de881e861", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b3b4183-9375-4858-9053-068654e112e6", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "c1f9bd66-fbef-4e99-ad9c-4217349f1501", "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": "0db1bc72-bf3e-426c-bb7c-11c326232a2a"}}]}, "parent": {"id": "d6387a2d-02ea-44c8-a75d-2f18221f07e2", "name": "cleanup", "item": [{"id": "d0e85d6d-0e7e-4284-bdbf-d9bd75e8a2d2", "name": "Removes the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6601e026-d18a-4d3e-a588-cb8309ddc3f4", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "bdb777f0-a86b-4931-a623-aee0629f18f7", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "860c1f01-93a0-40bb-a953-1a6d177618f7", "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": "bcbd87fd-0596-4869-aacf-f0430ddfd345"}}]}, {"id": "f0cf7f3f-9d5b-465a-b8c4-0cd6d21f2eff", "name": "Removes the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "5be96453-17c0-45c8-91a6-c07de881e861", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b3b4183-9375-4858-9053-068654e112e6", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "c1f9bd66-fbef-4e99-ad9c-4217349f1501", "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": "0db1bc72-bf3e-426c-bb7c-11c326232a2a"}}]}, {"id": "1a68c833-a50d-4151-896a-4179fd9fb736", "name": "Removes the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9750b6a1-335c-4af6-8245-b6af697312ab", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "3a42d9c9-240f-40d6-ada8-09191866d7b5", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7ab67ecd-d9b6-4842-a312-12e53fead3cf", "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": "2dafbac0-1185-46e6-9f5c-b4a425958f02"}}]}, {"id": "3b262165-415c-40da-a322-a0e00af2ae83", "name": "Removes the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d0749fc4-acbc-4953-a546-295c3066f469", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "0ec70b19-d481-42d6-9904-1868a18fefc5", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "0a57f5b6-308a-4ed2-926c-137065b71f80", "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": "845adb35-ddf8-47e3-b7d0-be40b5b308a3"}}]}], "event": []}, "cursor": {"ref": "8a423e71-d2d3-4d6e-96b2-86a2209075a1", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "bcda36f6-ebe7-4669-81c7-525ed6da31f7", "scriptId": "c1f9bd66-fbef-4e99-ad9c-4217349f1501", "execution": "0db1bc72-bf3e-426c-bb7c-11c326232a2a"}}, {"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:19)", "checksum": "28128a54e6e95c1b3aa3b3c470ad4586", "id": "f93e8a78-a626-4b5f-8d8a-7dc9a5831ae6", "timestamp": 1713132013010, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 19, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "1a68c833-a50d-4151-896a-4179fd9fb736", "name": "Removes the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9750b6a1-335c-4af6-8245-b6af697312ab", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "3a42d9c9-240f-40d6-ada8-09191866d7b5", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7ab67ecd-d9b6-4842-a312-12e53fead3cf", "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": "2dafbac0-1185-46e6-9f5c-b4a425958f02"}}]}, "parent": {"id": "d6387a2d-02ea-44c8-a75d-2f18221f07e2", "name": "cleanup", "item": [{"id": "d0e85d6d-0e7e-4284-bdbf-d9bd75e8a2d2", "name": "Removes the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6601e026-d18a-4d3e-a588-cb8309ddc3f4", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "bdb777f0-a86b-4931-a623-aee0629f18f7", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "860c1f01-93a0-40bb-a953-1a6d177618f7", "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": "bcbd87fd-0596-4869-aacf-f0430ddfd345"}}]}, {"id": "f0cf7f3f-9d5b-465a-b8c4-0cd6d21f2eff", "name": "Removes the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "5be96453-17c0-45c8-91a6-c07de881e861", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b3b4183-9375-4858-9053-068654e112e6", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "c1f9bd66-fbef-4e99-ad9c-4217349f1501", "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": "0db1bc72-bf3e-426c-bb7c-11c326232a2a"}}]}, {"id": "1a68c833-a50d-4151-896a-4179fd9fb736", "name": "Removes the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9750b6a1-335c-4af6-8245-b6af697312ab", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "3a42d9c9-240f-40d6-ada8-09191866d7b5", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7ab67ecd-d9b6-4842-a312-12e53fead3cf", "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": "2dafbac0-1185-46e6-9f5c-b4a425958f02"}}]}, {"id": "3b262165-415c-40da-a322-a0e00af2ae83", "name": "Removes the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d0749fc4-acbc-4953-a546-295c3066f469", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "0ec70b19-d481-42d6-9904-1868a18fefc5", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "0a57f5b6-308a-4ed2-926c-137065b71f80", "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": "845adb35-ddf8-47e3-b7d0-be40b5b308a3"}}]}], "event": []}, "cursor": {"ref": "6ae868ac-ba8b-4a86-b189-70abf73452f8", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "ee09ec6f-8e7e-44eb-a185-f4d71181e5b8", "scriptId": "7ab67ecd-d9b6-4842-a312-12e53fead3cf", "execution": "2dafbac0-1185-46e6-9f5c-b4a425958f02"}}, {"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:20)", "checksum": "b8d36bb787535b17f926034b4a5a7221", "id": "52df4511-0218-4949-8a97-20d8ec17c568", "timestamp": 1713132013062, "stacktrace": [{"fileName": "sandbox-script.js", "lineNumber": 1, "functionName": "Object.eval", "typeName": "Object", "methodName": "eval", "columnNumber": 20, "native": false}]}, "at": "assertion:0 in test-script", "source": {"id": "3b262165-415c-40da-a322-a0e00af2ae83", "name": "Removes the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d0749fc4-acbc-4953-a546-295c3066f469", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "0ec70b19-d481-42d6-9904-1868a18fefc5", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "0a57f5b6-308a-4ed2-926c-137065b71f80", "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": "845adb35-ddf8-47e3-b7d0-be40b5b308a3"}}]}, "parent": {"id": "d6387a2d-02ea-44c8-a75d-2f18221f07e2", "name": "cleanup", "item": [{"id": "d0e85d6d-0e7e-4284-bdbf-d9bd75e8a2d2", "name": "Removes the Subscriber resource.", "request": {"url": {"path": ["subscribers", "{{subscriber}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6601e026-d18a-4d3e-a588-cb8309ddc3f4", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "bdb777f0-a86b-4931-a623-aee0629f18f7", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "860c1f01-93a0-40bb-a953-1a6d177618f7", "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": "bcbd87fd-0596-4869-aacf-f0430ddfd345"}}]}, {"id": "f0cf7f3f-9d5b-465a-b8c4-0cd6d21f2eff", "name": "Removes the SendList resource.", "request": {"url": {"path": ["send_lists", "{{send_list}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "5be96453-17c0-45c8-91a6-c07de881e861", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b3b4183-9375-4858-9053-068654e112e6", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "c1f9bd66-fbef-4e99-ad9c-4217349f1501", "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": "0db1bc72-bf3e-426c-bb7c-11c326232a2a"}}]}, {"id": "1a68c833-a50d-4151-896a-4179fd9fb736", "name": "Removes the Message resource.", "request": {"url": {"path": ["messages", "{{message}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9750b6a1-335c-4af6-8245-b6af697312ab", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": []}, {"_": {"postman_previewlanguage": "json"}, "id": "3a42d9c9-240f-40d6-ada8-09191866d7b5", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7ab67ecd-d9b6-4842-a312-12e53fead3cf", "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": "2dafbac0-1185-46e6-9f5c-b4a425958f02"}}]}, {"id": "3b262165-415c-40da-a322-a0e00af2ae83", "name": "Removes the Service resource.", "request": {"url": {"path": ["services", "{{service}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-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": "DELETE", "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d0749fc4-acbc-4953-a546-295c3066f469", "name": "Challenge resource response", "originalRequest": {"url": {"path": ["challenges", ":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\": \"<string>\",\n \"description\": \"<string>\",\n \"catchPhrase\": \"<string>\",\n \"dateClose\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"submitters\": [\n \"<string>\",\n \"<string>\"\n ],\n \"pitches\": [\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<string>\",\n \"description\": \"<string>\",\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\",\n \"challenge\": {\n \"value\": \"<Circular reference to #/components/schemas/Challenge:jsonld-read detected>\"\n }\n }\n ]\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "0ec70b19-d481-42d6-9904-1868a18fefc5", "name": "Resource not found", "originalRequest": {"url": {"path": ["challenges", ":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": "0a57f5b6-308a-4ed2-926c-137065b71f80", "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": "845adb35-ddf8-47e3-b7d0-be40b5b308a3"}}]}], "event": []}, "cursor": {"ref": "3a31bf6e-c0c5-48f5-8efc-4d6f620c0b26", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "86b71d87-0b85-4c20-97b8-07ed5de68b4d", "scriptId": "0a57f5b6-308a-4ed2-926c-137065b71f80", "execution": "845adb35-ddf8-47e3-b7d0-be40b5b308a3"}}], "error": null}}