{"collection": {"_": {"postman_id": "c8388c44-6e76-4a10-90f3-6210d4d49be8"}, "item": [{"id": "1837a297-83e6-4a0d-90ea-06d327ca41c2", "name": "services", "item": [{"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}], "event": []}, {"id": "aa6f5b0f-e32f-4b6a-85ee-31e30f920319", "name": "services/{id}", "item": [{"id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, {"id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}], "event": [{"listen": "prerequest", "script": {"id": "de1a0c7c-c000-4f04-8ffe-867154701d6d", "type": "text/javascript", "exec": [""], "_lastExecutionId": "c6e71453-0753-4a7f-ac93-652917fd29c3"}}, {"listen": "test", "script": {"id": "5eea6108-316a-48c2-9b5c-03d2fe13e5e7", "type": "text/javascript", "exec": [""], "_lastExecutionId": "68f2429b-0220-44d1-811e-9a589b46c52d"}}]}, {"id": "d5729b7a-4e0d-4d41-bfc7-abac3339dfd3", "name": "messages", "item": [{"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}], "event": []}, {"id": "94701220-fb24-49d5-b468-5bcbd392f5f8", "name": "messages/{id}", "item": [{"id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, {"id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}], "event": []}, {"id": "ce96dc69-7684-4db2-af2d-c9ef52172736", "name": "send_lists", "item": [{"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}], "event": []}, {"id": "4a3751a8-73ed-46e2-9f95-aad980fb812a", "name": "send_lists/{id}", "item": [{"id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, {"id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}], "event": []}, {"id": "8236bc84-32df-4d88-b89d-50ea80be2729", "name": "subscribers", "item": [{"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}], "event": []}, {"id": "2c912c0d-0a32-43c3-8844-2df62add03fe", "name": "subscribers/{id}", "item": [{"id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, {"id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}], "event": []}, {"id": "36dc711b-5a4d-47ea-bbc5-e5e9ca591a41", "name": "cleanup", "item": [{"id": "639533b4-e8aa-4a3c-862a-c93a2e0acd1e", "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": "1ea19fb6-0c06-4b46-8dbb-98dd488d3dd8", "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": "b97315bb-c386-4dcd-a3dc-3654bbe849aa", "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": "f54db2d9-67b5-4e0b-8b3e-d87e545c5187", "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": "a52b0de8-5789-49b3-b1ab-5d3d3555711f"}}]}, {"id": "4647fbd9-4d8e-477b-8166-b233f7748d15", "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": "34b1dd35-dc7f-4790-9d15-d0578785e35a", "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": "0db1e063-ae6b-4dda-911d-5a22e50b2f69", "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": "593f6e1e-ab01-4a4a-b6ff-b12add9da9a9", "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": "8403ed01-c1dc-4b00-adbe-2b2d596d5f50"}}]}, {"id": "aded4e0c-5a0a-4904-9d8a-8cd6fb23ad77", "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": "31b9bbfe-2432-467a-9dbb-6a0844375c51", "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": "14089b6e-8118-4c15-88ba-7375eede6760", "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": "195b2273-449d-41ea-98a4-53ee85b64692", "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": "1a4bd711-0f3c-4626-b7fb-baea34927710"}}]}, {"id": "a8d0e0f0-5da7-41d2-ab2e-c30b675cc792", "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": "9f518dfc-87ec-403b-b0cd-7946789a883f", "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": "2af26d46-f078-415b-91b6-f58e92d87fe4", "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": "1238c5b5-e929-4de7-8dc5-d3287f85b771", "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": "cf25f372-2caf-4302-aa5a-0052aa8b7b77"}}]}], "event": []}], "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "{{authorization}}", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}, "event": [{"listen": "prerequest", "script": {"id": "4428810b-19df-47f7-b5a0-624547ca7775", "type": "text/javascript", "exec": [""], "_lastExecutionId": "a538b2dd-37df-4328-8863-5f58875ecfce"}}, {"listen": "test", "script": {"id": "488c574c-05c1-4df7-8fa9-2a817554e51d", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9dbcc6c2-79c4-4f4d-8429-c7df7b39e9d2"}}], "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": "2c59688b-1edb-4bd0-8361-4345555985ea", "values": []}, "globals": {"id": "42d9d8e3-b150-4ee3-b2f9-f4d4d4b6405c", "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": 28.45, "responseMin": 18, "responseMax": 140, "responseSd": 25.710844015706687, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1712700010307, "completed": 1712700012015}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "8ad32d98-974a-4982-beda-b83efd818ead", "httpRequestId": "009db02c-8e8f-4f39-bf7d-ecea214c2b19"}, "item": {"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, "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": "e0172cac-5237-41ae-86d8-378bb7cd5fcb", "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": "db011a53-67ee-40df-a395-aaf4eff7fc10", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 Apr 2024 22:00:10 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=%2BwWIynkq7rqXOfc7EEGGyIgGLtwh%2FHrRDlHlNvkuRx4pnGOjREFhkjPo8Ydbh%2FBG4jbE5fc0T4%2B%2FnJnKjkodtdpVcpycELuOqk6dSPFsTmfMygwXrQmNoUe4f%2BfWQWRDjcyzves%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": "871dc4b93e769709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 140, "responseSize": 146}, "id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "89f21994-b6e6-46eb-99ae-617ab7f94965", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "1c4206e8-49e0-4f4a-a365-d6dd5e33fb74"}, "item": {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}, "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": "ef351651-8f79-4794-9716-261e49465efa", "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": "016d5802-c76f-41eb-be33-4c8c5e0b79ee", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 Apr 2024 22:00:10 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=5ydfWmBduLLN9PU5sg0sXU%2Fif7Z1nSR7lxzPq2zUoFLD9yIBW2cC7EF81kQkaHxUlPYYgvTyi86GCRDYVur2Q2129EfP3REAvRU7ybqNpmp6cZEkWmFQgsr1pwubaQ4CFnefHxY%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": "871dc4ba0f569709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 22, "responseSize": 146}, "id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "8bc248aa-9279-4f1d-8172-81e87d566aef", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "0f0ee7c8-9b97-4862-88a5-950e536548d0"}, "item": {"id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, "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": "a618d765-8745-4e02-9e06-64ed46c2d542", "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": "044603ff-320e-445f-ae1a-34ed638f2f81", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 Apr 2024 22:00:10 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=DymcFdejvnDS4ToBVYsCqGpITkQAOrDqxugMFC%2Fyw%2BgCQpVXV0ajYL1hcLNy33%2BfjrwTo%2BUFlx8M2NeRXGVFDx%2BZ3HguBFF9ObRleJ3joKnXApKr3Vg9qNVF16kISHpYjFGs9ng%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": "871dc4bac80e9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 23, "responseSize": 146}, "id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "e8aa2970-0c0e-479b-8cf0-0339b281871d", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "54656c4a-9076-42ba-a7e1-10d8129fdd83"}, "item": {"id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}, "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": "ad589a1d-4233-4f02-816f-00293f5ea6fe", "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": "1fde20c2-08ab-4cff-8739-577fc48121ea", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 Apr 2024 22:00:10 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=gqvfKJnTZ%2BsJkOobWJgvWCkXThfYTuPWiDKsN9xJRhKjGxkykCfjC7CkL4P4YFmKPacAqRGOd0f4XrPvqkpkkjtzkwCF4zRgMVqfCnY6RqSTCTfJygjBQETAGanumLy3yRrIU%2FE%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": "871dc4bb488a9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 20, "responseSize": 146}, "id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "de1afe67-c053-4928-ab99-37da037ad95c", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "66498aa9-f058-4f4a-a5ab-3edbda6fe93a"}, "item": {"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, "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": "c14173d2-39e8-4840-95b2-2c3da91936aa", "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": "37e9162c-b1a9-4857-9103-f35a82a41e4e", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 Apr 2024 22:00:10 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=3ZbDlIK6WmBxHE1fCEqBlsJ%2F92nlPxVq6n2bbL5OCnI9%2BmHnJxM3t%2FrDI5mboJtiRvNLf3%2B7EtT2gP4lGl9eSlY7ggQYMpKYyOhxiXQ2E5QcAz74yr4SjvsvIPgJrdWNFiGA2gI%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": "871dc4bbd90f9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 25, "responseSize": 146}, "id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "2248e161-1de6-4f5b-b43d-1ae50183ec27", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "72fe1f9e-673a-410f-bd05-5de91c8e139c"}, "item": {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}, "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": "cf5eb00e-ed4d-4c3e-a7f9-0195c8fb0104", "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": "6099178e-9140-48bc-8720-fc9527934f7f", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 Apr 2024 22:00:10 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=qC2fZcsxeEQHeTJ175sCpUo3lpx8DF8b5XuAorv8Zg6Mr9wNL1i00%2Bc34t0xTb3IeUkNP1KLmXx3SDIdO8NeFkHEtvWcKaH%2FBAfeNI7MtQ9%2BCXkDU0PkTECMAL9lnSAEoueotq4%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": "871dc4bc79a49709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 19, "responseSize": 146}, "id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "7de83693-239a-40e7-9406-dd6e292d06cc", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "77d4b73b-fe18-47df-a0be-b4b8915170fd"}, "item": {"id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, "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": "fea8ec9b-ace6-44f5-8660-81aeae1fa744", "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": "07240d31-c921-40e4-a6f4-07377c831719", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=%2BW8%2B8NJ1PXo2%2FD3mZ4OwpgEM0qIwv%2BFPN3KST7b7HKwjZ0CpB05alGUq8rJ%2BGWYdYR6zkG%2B0vlvhI7a%2BktH7isP5gcGvsT8ivSyrU%2Fdoey33U9Xp%2B6AbfOvP8MiuLBNr7zks8Ao%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": "871dc4bcda129709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 18, "responseSize": 146}, "id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "d3c008b6-cdbd-4cc5-b62c-8baf80c13b8b", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "2564eb5f-ea30-4edf-bea9-81d8262bcdc0"}, "item": {"id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}, "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": "6792d037-e854-457a-bbd0-429cdcedaab5", "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": "e0e1daa0-41b9-4978-8752-a0304c56488b", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=UDd5%2BzmVBftakcebXQV%2FeNo5t389oOE6v06Hv4Wbdi0Qwnh2HSIrZ%2B6MnzSx4WRE1geb3IZ4TXdRxGItGOlAGldDHEgUojPtRv9FhrMFzm61KdbnEf39hQqq%2F%2BHumz3bT%2BY5R4Y%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": "871dc4bd4a759709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 26, "responseSize": 146}, "id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "f753fe9a-eaa0-4585-9a18-f2ea0d98a65f", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "efd62895-cf8d-45ce-8db7-406446ce757a"}, "item": {"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, "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": "e1d73e08-1d9c-440d-b47e-bd83526ff466", "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": "a1676aca-06ff-4ea5-af37-88ca6da01f3d", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=x7UKrAc84%2BEmtR1WFpNzu%2Fy2SxG34oRNg2dZYGfmFF9x8RVaHCjhbtFCZWkixvk5OwZGz5MM9PBzeSNIJz16Rgh0xUAaqrhIVyfSINaZ8UtksNZvLcgX%2BFrx9LgLPBqcF3ca2uI%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": "871dc4bdbb029709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 26, "responseSize": 146}, "id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "8d92d5bd-7949-4560-8eef-7da5519cb5e1", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "14745fd2-fe63-42c5-ab49-eb72471ab033"}, "item": {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}, "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": "f542a50e-c188-443c-bb9d-44563600d537", "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": "e01fd2fb-92cf-455d-9c11-1da3fad37811", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=%2Fl7BMuEJ3e3wjCZRjY6FxGHiKVBxsgs5yk45%2Fw5pulpZkRrqvz3C0Xxh1Eau2MZvv9BK3Jwo614RmHBnfC8WPToGAKzZK%2Fo3G0OkVY4tBY5DxpEv%2BN3VPULnIYVRfsfpunPAV08%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": "871dc4be2b789709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 22, "responseSize": 146}, "id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "d32c2c63-1538-4fb0-b9ee-055269d7ede9", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "fefd25d1-2090-45da-9e5f-f9414d09f0bd"}, "item": {"id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, "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": "83fe40b4-e9ed-4038-8ea1-03da28f3d1f7", "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": "b1dca1c7-eb71-4947-b9aa-95c306417ef0", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=XS4jMUU6lXTga5Y4Wdwa02mLfjp78xonm%2BPwbIwtIDVQqoPgFdE%2FZJYeC0mbs7dBQwHsl7pMkUqX%2FAs1e7whe9JzM0Gx4Xph6G%2BDnwhAzrlFuZEgYt6mPDTyc2Qcr3aj0PkXGCk%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": "871dc4bebc0a9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 24, "responseSize": 146}, "id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "34c82481-2273-4ca9-be9f-1b17fa6001d7", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "08b91852-efaf-4ad2-b824-250768d23030"}, "item": {"id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}, "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": "3a55179e-e500-4554-8891-99a53ec959ca", "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": "99422e9e-c55d-472c-9a88-4204189e4e08", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=HXwevLbP34HmAPER8AI3XlkjTsrEVenb9EUo3z%2Fq1XobwTqZZICrB8qLBqBqwBKj5zRwv2DUVt7ueFmJpYteFVYd8yHPELEd1kvzEDPj72CBT6GTmKSuRwYhqsV3wJrArIroSFI%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": "871dc4bf2caa9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 23, "responseSize": 146}, "id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "13f52c02-58ef-4231-ad10-b6f58c9d9aef", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "79171a24-d09c-4f2a-bfb3-a8f75c1add6e"}, "item": {"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, "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": "42247d33-aef5-4717-ae63-0d5128331954", "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": "48bf4317-94dd-4b48-9677-94637d7d96ec", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=bCDAdOGrlhXsPMv99filV20RpPog2prnWxEr20b%2Bi7fRv%2BxNn25tQxHS7lKPMhGOJXwQclNew1jidIg54%2FSgTno9eDre%2Flw4uYPXttRAGUQgLe0Q21iv2eMoPVGUzSUOEaXC7yo%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": "871dc4bfad679709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 27, "responseSize": 146}, "id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "2245cf0c-6dd8-45fa-849c-1a785a550e10", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "fa4e065b-1bab-4067-b40e-aa442d8a2942"}, "item": {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}, "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": "98eebe69-459a-4c2e-a809-35b9a9435e93", "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": "c1a53ce4-7ab0-498a-a435-72544e6e8948", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=DLyNMa0l9lah5apL7MRN%2Fn8ydbIdH1EuRSAOBfhe7eQf5IGtHN9Y9fxp5BRe6RK1GExFBnlO9e%2BKgeU7nAwI9CP5kmLHB1fMSgfiikK9jg4eGA0jbBZeCk1RanQxewcyOZb1Uqk%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": "871dc4c02ddc9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 22, "responseSize": 146}, "id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "7a36daca-a994-4e4d-ae24-ee0aad3d5c9a", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "bf5cf7fc-2572-4313-999d-289588772223"}, "item": {"id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, "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": "f2e6c8f9-75b2-490d-8dde-0c8bd905c527", "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": "0ded903a-d2cd-45ce-b2c3-ceb2fab71bb1", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=TwGJfkUlwVL3FFSpNHDSViQv7EFOcSh0moEvJ33ZxB1INwX%2FOCsrB0UjlC%2Fl4W%2Bur1kQoBjdRUty0pIOQsCO6CkcJko271FsPs29GATdMrg7tz9me%2Fqx0asibHRMZcMsIcfzUtk%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": "871dc4c09e6a9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 19, "responseSize": 146}, "id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "564389ef-28e3-44e9-b7c8-53fcf9e893aa", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "e0c38fa8-4660-49b0-8d3a-e44283477575"}, "item": {"id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}, "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": "ff72fbf5-f0fe-4e12-931a-b4a0dad6b27f", "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": "be8a03c4-66a2-4266-b604-62761cab032e", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=WpkQGumHssUPsqoBBhJ1IQWIVfL2IUciNtZV9rDtvAyIcJtZY8okWbPw9ALZXv2czyO5XtNGeADdffaT5EhnlMHKJesWD8H0ZhDqsX%2BObIvL%2Bw51O0OEivAvoJNBO392vMurQms%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": "871dc4c11edb9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 25, "responseSize": 146}, "id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "e4723c51-8168-4ee8-9d4a-0c9ae9c8de19", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "f96dc3c1-16ce-4e00-ace9-97ed0c8c47d2"}, "item": {"id": "639533b4-e8aa-4a3c-862a-c93a2e0acd1e", "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": "1ea19fb6-0c06-4b46-8dbb-98dd488d3dd8", "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": "b97315bb-c386-4dcd-a3dc-3654bbe849aa", "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": "f54db2d9-67b5-4e0b-8b3e-d87e545c5187", "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": "a52b0de8-5789-49b3-b1ab-5d3d3555711f"}}]}, "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": "dc14cde6-850e-4f00-b627-5fda305ad0d4", "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": "cbb58c49-c982-4395-8f97-7aec0c171035", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=eoM18U2ixbGTtZ3QHWkafYIvPMEk8cjHByTmlrM%2B%2Fd7%2FK5eCI1mEqtzAaTWbMFTeAYvHTj4%2BW0yYOphYPhdycY1fu9oBMdESZvjT9hI8MedALfFtU%2FuJYyDyWPJCy8YO37YNRGM%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": "871dc4c17f329709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 20, "responseSize": 146}, "id": "639533b4-e8aa-4a3c-862a-c93a2e0acd1e", "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": "d6fd1321-940a-4236-a951-09097f2420dc", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "32fa41e3-c7cb-434a-b852-fec2f3d693f7"}, "item": {"id": "4647fbd9-4d8e-477b-8166-b233f7748d15", "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": "34b1dd35-dc7f-4790-9d15-d0578785e35a", "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": "0db1e063-ae6b-4dda-911d-5a22e50b2f69", "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": "593f6e1e-ab01-4a4a-b6ff-b12add9da9a9", "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": "8403ed01-c1dc-4b00-adbe-2b2d596d5f50"}}]}, "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": "a5caabc5-d5d7-42c2-af46-e01725f9d0af", "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": "fd1e8d6e-0b36-465c-b0ca-dd96fe6e7a5c", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=DEgshum03N2LMKLzPIJ%2F2Lb8arDAeE%2FL7LqSHewz%2Fj7SX4q1rdFzXx%2FVe69Pjs%2BZhnLwhfdjPX0ZUioukcyP3faoaWBMwkUIxwnVBT8E6Nwx5mIziZA13V7tSW7fGATtjfR0eBk%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": "871dc4c1df829709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 24, "responseSize": 146}, "id": "4647fbd9-4d8e-477b-8166-b233f7748d15", "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": "2b97f5ac-05a3-49e8-a8b7-f9629dd42004", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "cbf77339-74dc-4388-886f-30c00e38a878"}, "item": {"id": "aded4e0c-5a0a-4904-9d8a-8cd6fb23ad77", "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": "31b9bbfe-2432-467a-9dbb-6a0844375c51", "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": "14089b6e-8118-4c15-88ba-7375eede6760", "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": "195b2273-449d-41ea-98a4-53ee85b64692", "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": "1a4bd711-0f3c-4626-b7fb-baea34927710"}}]}, "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": "38840e27-d626-49b1-a3c8-9538467c481a", "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": "563bcf66-5867-4e4e-b9ab-7ffcee68b2ce", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=vYPw8wnvwtsKEPgNig3ZONmL9I37H6f8beVJZpA2S3hugBU5no7qBj52E7l1WNFjF9KQIdJhf2LRcM5Goi0PfB%2BjcRHbk74BzJdQjoBTZy7Sv0Y1a4vI0RddnFVwEZprOncy36c%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": "871dc4c24ffa9709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 21, "responseSize": 146}, "id": "aded4e0c-5a0a-4904-9d8a-8cd6fb23ad77", "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": "c89fb046-882c-497b-977e-e93d6ac55c9a", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "f7bf3757-1af4-4744-9a78-d25923158f41"}, "item": {"id": "a8d0e0f0-5da7-41d2-ab2e-c30b675cc792", "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": "9f518dfc-87ec-403b-b0cd-7946789a883f", "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": "2af26d46-f078-415b-91b6-f58e92d87fe4", "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": "1238c5b5-e929-4de7-8dc5-d3287f85b771", "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": "cf25f372-2caf-4302-aa5a-0052aa8b7b77"}}]}, "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": "84e45484-6d37-4000-ba33-2bab2932792c", "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": "a9ecd006-8f29-4ac3-b03d-cba14449d046", "status": "Not Found", "code": 404, "header": [{"key": "Date", "value": "Tue, 09 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=fXjY544w37H6JVLQPhlOEjQcuMiM8kF52cv0U8ho38mjKuAP8k0%2FOZX%2Bo8QkF%2Bn8m%2F36%2BjiF8diR79P9TjuS3wNspVf9gS0Deia5EyYhNFtcPj72EJV%2BrvqVaDK3MiFL5lXwBEU%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": "871dc4c2b8859709-AMS"}, {"key": "Content-Encoding", "value": "br"}, {"key": "alt-svc", "value": "h3=\":443\"; ma=86400"}], "cookie": [], "responseTime": 23, "responseSize": 146}, "id": "a8d0e0f0-5da7-41d2-ab2e-c30b675cc792", "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": "80697ea2-b3b2-4c3b-bc0b-a1903a0410a4", "timestamp": 1712700010514, "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": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, "parent": {"id": "1837a297-83e6-4a0d-90ea-06d327ca41c2", "name": "services", "item": [{"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}], "event": []}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "8ad32d98-974a-4982-beda-b83efd818ead", "httpRequestId": "009db02c-8e8f-4f39-bf7d-ecea214c2b19", "scriptId": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "execution": "367174e2-f425-43a4-aa28-043369523b24"}}, {"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": "545cb277-2403-4f1d-9156-ea7ee5656f79", "timestamp": 1712700010516, "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": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, "parent": {"id": "1837a297-83e6-4a0d-90ea-06d327ca41c2", "name": "services", "item": [{"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}], "event": []}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "8ad32d98-974a-4982-beda-b83efd818ead", "httpRequestId": "009db02c-8e8f-4f39-bf7d-ecea214c2b19", "scriptId": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "execution": "367174e2-f425-43a4-aa28-043369523b24"}}, {"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": "2c1d3445-1675-491a-ae4d-dc833cb783d2", "timestamp": 1712700010518, "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": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, "parent": {"id": "1837a297-83e6-4a0d-90ea-06d327ca41c2", "name": "services", "item": [{"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}], "event": []}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "8ad32d98-974a-4982-beda-b83efd818ead", "httpRequestId": "009db02c-8e8f-4f39-bf7d-ecea214c2b19", "scriptId": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "execution": "367174e2-f425-43a4-aa28-043369523b24"}}, {"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": "4aa8fcf2-2cc6-41a2-840d-fa0ef055ad19", "timestamp": 1712700010611, "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": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}, "parent": {"id": "1837a297-83e6-4a0d-90ea-06d327ca41c2", "name": "services", "item": [{"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}], "event": []}, "cursor": {"ref": "89f21994-b6e6-46eb-99ae-617ab7f94965", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "1c4206e8-49e0-4f4a-a365-d6dd5e33fb74", "scriptId": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "execution": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}, {"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": "19e3ce20-de20-4ba8-b032-468b766fc79a", "timestamp": 1712700010612, "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": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}, "parent": {"id": "1837a297-83e6-4a0d-90ea-06d327ca41c2", "name": "services", "item": [{"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}], "event": []}, "cursor": {"ref": "89f21994-b6e6-46eb-99ae-617ab7f94965", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "1c4206e8-49e0-4f4a-a365-d6dd5e33fb74", "scriptId": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "execution": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}, {"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": "6339e353-d454-43a4-8c48-ecea694249e3", "timestamp": 1712700010616, "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": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}, "parent": {"id": "1837a297-83e6-4a0d-90ea-06d327ca41c2", "name": "services", "item": [{"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}], "event": []}, "cursor": {"ref": "89f21994-b6e6-46eb-99ae-617ab7f94965", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "1c4206e8-49e0-4f4a-a365-d6dd5e33fb74", "scriptId": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "execution": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}, {"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": "bee70aa3-d299-4aa1-9c4d-c10aba7e5384", "timestamp": 1712700010617, "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": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}, "parent": {"id": "1837a297-83e6-4a0d-90ea-06d327ca41c2", "name": "services", "item": [{"id": "40e3f0a8-83e0-4289-82d0-8063d85bd2d2", "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": "fd12c450-45b8-4053-9f75-0b1eb2323e90", "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": "427e87d4-c1ed-4fed-a718-415bcc3e8494", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "367174e2-f425-43a4-aa28-043369523b24"}}]}, {"id": "eeb681cc-341a-48b8-b75d-4fedb3ea2742", "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": "aeed62fb-2098-407b-8c6c-534e4da6fd6a", "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": "ce2328d9-22be-470d-8ff5-361952515932", "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": "c946a843-05c7-40ab-a8a8-f5c0985c0e87", "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": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "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": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}]}], "event": []}, "cursor": {"ref": "89f21994-b6e6-46eb-99ae-617ab7f94965", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "1c4206e8-49e0-4f4a-a365-d6dd5e33fb74", "scriptId": "aa864c78-a5f2-41a7-be88-c9d6736e225f", "execution": "318651d3-0d65-4ae7-841b-e2bcb85e1e2e"}}, {"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": "f42d79ff-a207-4192-bb30-9f9f29bbd817", "timestamp": 1712700010733, "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": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, "parent": {"id": "aa6f5b0f-e32f-4b6a-85ee-31e30f920319", "name": "services/{id}", "item": [{"id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, {"id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}], "event": [{"listen": "prerequest", "script": {"id": "de1a0c7c-c000-4f04-8ffe-867154701d6d", "type": "text/javascript", "exec": [""], "_lastExecutionId": "c6e71453-0753-4a7f-ac93-652917fd29c3"}}, {"listen": "test", "script": {"id": "5eea6108-316a-48c2-9b5c-03d2fe13e5e7", "type": "text/javascript", "exec": [""], "_lastExecutionId": "68f2429b-0220-44d1-811e-9a589b46c52d"}}]}, "cursor": {"ref": "8bc248aa-9279-4f1d-8172-81e87d566aef", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "0f0ee7c8-9b97-4862-88a5-950e536548d0", "scriptId": "43c9076e-d5d1-4ae4-9590-e0893becef36", "execution": "d176efcb-8b2d-4333-8664-e94509c0de09"}}, {"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": "4fc7a745-2810-416f-93b6-5af6dc65e029", "timestamp": 1712700010734, "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": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, "parent": {"id": "aa6f5b0f-e32f-4b6a-85ee-31e30f920319", "name": "services/{id}", "item": [{"id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, {"id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}], "event": [{"listen": "prerequest", "script": {"id": "de1a0c7c-c000-4f04-8ffe-867154701d6d", "type": "text/javascript", "exec": [""], "_lastExecutionId": "c6e71453-0753-4a7f-ac93-652917fd29c3"}}, {"listen": "test", "script": {"id": "5eea6108-316a-48c2-9b5c-03d2fe13e5e7", "type": "text/javascript", "exec": [""], "_lastExecutionId": "68f2429b-0220-44d1-811e-9a589b46c52d"}}]}, "cursor": {"ref": "8bc248aa-9279-4f1d-8172-81e87d566aef", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "0f0ee7c8-9b97-4862-88a5-950e536548d0", "scriptId": "43c9076e-d5d1-4ae4-9590-e0893becef36", "execution": "d176efcb-8b2d-4333-8664-e94509c0de09"}}, {"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": "e5d9b023-5f70-427c-98ab-5da2af43e39e", "timestamp": 1712700010735, "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": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, "parent": {"id": "aa6f5b0f-e32f-4b6a-85ee-31e30f920319", "name": "services/{id}", "item": [{"id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, {"id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}], "event": [{"listen": "prerequest", "script": {"id": "de1a0c7c-c000-4f04-8ffe-867154701d6d", "type": "text/javascript", "exec": [""], "_lastExecutionId": "c6e71453-0753-4a7f-ac93-652917fd29c3"}}, {"listen": "test", "script": {"id": "5eea6108-316a-48c2-9b5c-03d2fe13e5e7", "type": "text/javascript", "exec": [""], "_lastExecutionId": "68f2429b-0220-44d1-811e-9a589b46c52d"}}]}, "cursor": {"ref": "8bc248aa-9279-4f1d-8172-81e87d566aef", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "0f0ee7c8-9b97-4862-88a5-950e536548d0", "scriptId": "43c9076e-d5d1-4ae4-9590-e0893becef36", "execution": "d176efcb-8b2d-4333-8664-e94509c0de09"}}, {"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": "01d3dee4-50cc-424d-8ef4-4bb5808ede3d", "timestamp": 1712700010817, "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": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}, "parent": {"id": "aa6f5b0f-e32f-4b6a-85ee-31e30f920319", "name": "services/{id}", "item": [{"id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, {"id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}], "event": [{"listen": "prerequest", "script": {"id": "de1a0c7c-c000-4f04-8ffe-867154701d6d", "type": "text/javascript", "exec": [""], "_lastExecutionId": "c6e71453-0753-4a7f-ac93-652917fd29c3"}}, {"listen": "test", "script": {"id": "5eea6108-316a-48c2-9b5c-03d2fe13e5e7", "type": "text/javascript", "exec": [""], "_lastExecutionId": "68f2429b-0220-44d1-811e-9a589b46c52d"}}]}, "cursor": {"ref": "e8aa2970-0c0e-479b-8cf0-0339b281871d", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "54656c4a-9076-42ba-a7e1-10d8129fdd83", "scriptId": "69cb77ff-6ee3-4249-867f-ca883d920019", "execution": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}, {"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": "a31a36f4-5fa0-4ef0-ace8-751a35ad9c2c", "timestamp": 1712700010818, "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": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}, "parent": {"id": "aa6f5b0f-e32f-4b6a-85ee-31e30f920319", "name": "services/{id}", "item": [{"id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, {"id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}], "event": [{"listen": "prerequest", "script": {"id": "de1a0c7c-c000-4f04-8ffe-867154701d6d", "type": "text/javascript", "exec": [""], "_lastExecutionId": "c6e71453-0753-4a7f-ac93-652917fd29c3"}}, {"listen": "test", "script": {"id": "5eea6108-316a-48c2-9b5c-03d2fe13e5e7", "type": "text/javascript", "exec": [""], "_lastExecutionId": "68f2429b-0220-44d1-811e-9a589b46c52d"}}]}, "cursor": {"ref": "e8aa2970-0c0e-479b-8cf0-0339b281871d", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "54656c4a-9076-42ba-a7e1-10d8129fdd83", "scriptId": "69cb77ff-6ee3-4249-867f-ca883d920019", "execution": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}, {"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": "4cc66825-090d-40fd-96ea-481ec1f52782", "timestamp": 1712700010818, "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": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}, "parent": {"id": "aa6f5b0f-e32f-4b6a-85ee-31e30f920319", "name": "services/{id}", "item": [{"id": "5bd2d7fc-33b5-468c-a591-6be031a9180f", "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": "55f7b851-0907-4962-bf42-0ba15596119f", "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": "05d69fc9-6322-4cb1-9c1c-27d61c0b707a", "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": "43c9076e-d5d1-4ae4-9590-e0893becef36", "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": "d176efcb-8b2d-4333-8664-e94509c0de09"}}]}, {"id": "53e3f2d4-2a7b-4001-aef3-c9c66905bf72", "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": "d4790c7a-3022-4ae3-8e9c-d7dfac189067", "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": "8dbd9666-82cd-46f7-951d-979a44c19b91", "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": "ad7bd11d-3d67-4cff-9859-6a276211aa01", "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": "69cb77ff-6ee3-4249-867f-ca883d920019", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}]}], "event": [{"listen": "prerequest", "script": {"id": "de1a0c7c-c000-4f04-8ffe-867154701d6d", "type": "text/javascript", "exec": [""], "_lastExecutionId": "c6e71453-0753-4a7f-ac93-652917fd29c3"}}, {"listen": "test", "script": {"id": "5eea6108-316a-48c2-9b5c-03d2fe13e5e7", "type": "text/javascript", "exec": [""], "_lastExecutionId": "68f2429b-0220-44d1-811e-9a589b46c52d"}}]}, "cursor": {"ref": "e8aa2970-0c0e-479b-8cf0-0339b281871d", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "54656c4a-9076-42ba-a7e1-10d8129fdd83", "scriptId": "69cb77ff-6ee3-4249-867f-ca883d920019", "execution": "0fe8d0bc-01dc-4b07-bd0a-8eb7091b1ccb"}}, {"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": "f2eaccdd-1ae7-46f1-8aea-12b884d89acd", "timestamp": 1712700010895, "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": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, "parent": {"id": "d5729b7a-4e0d-4d41-bfc7-abac3339dfd3", "name": "messages", "item": [{"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}], "event": []}, "cursor": {"ref": "de1afe67-c053-4928-ab99-37da037ad95c", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "66498aa9-f058-4f4a-a5ab-3edbda6fe93a", "scriptId": "0e47b8c7-f07c-49a5-a094-69e103536c89", "execution": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}, {"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": "e38b63e0-50ec-4b3e-9526-c2302f54cc99", "timestamp": 1712700010896, "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": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, "parent": {"id": "d5729b7a-4e0d-4d41-bfc7-abac3339dfd3", "name": "messages", "item": [{"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}], "event": []}, "cursor": {"ref": "de1afe67-c053-4928-ab99-37da037ad95c", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "66498aa9-f058-4f4a-a5ab-3edbda6fe93a", "scriptId": "0e47b8c7-f07c-49a5-a094-69e103536c89", "execution": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}, {"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": "12a3e869-ca65-41e5-9dad-f3d6ee51c082", "timestamp": 1712700010897, "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": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, "parent": {"id": "d5729b7a-4e0d-4d41-bfc7-abac3339dfd3", "name": "messages", "item": [{"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}], "event": []}, "cursor": {"ref": "de1afe67-c053-4928-ab99-37da037ad95c", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "66498aa9-f058-4f4a-a5ab-3edbda6fe93a", "scriptId": "0e47b8c7-f07c-49a5-a094-69e103536c89", "execution": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}, {"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": "5dfef962-a8bd-476b-bb39-f465723b3929", "timestamp": 1712700010984, "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": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}, "parent": {"id": "d5729b7a-4e0d-4d41-bfc7-abac3339dfd3", "name": "messages", "item": [{"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}], "event": []}, "cursor": {"ref": "2248e161-1de6-4f5b-b43d-1ae50183ec27", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "72fe1f9e-673a-410f-bd05-5de91c8e139c", "scriptId": "381e69be-86f7-4aba-a0f5-006081782fca", "execution": "36e63111-88ad-4218-b717-c651fbcad8a5"}}, {"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": "a9010dbb-607b-445b-88cb-567dbec27b32", "timestamp": 1712700010985, "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": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}, "parent": {"id": "d5729b7a-4e0d-4d41-bfc7-abac3339dfd3", "name": "messages", "item": [{"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}], "event": []}, "cursor": {"ref": "2248e161-1de6-4f5b-b43d-1ae50183ec27", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "72fe1f9e-673a-410f-bd05-5de91c8e139c", "scriptId": "381e69be-86f7-4aba-a0f5-006081782fca", "execution": "36e63111-88ad-4218-b717-c651fbcad8a5"}}, {"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": "6fe01d7a-231f-4913-8d9d-635a8a2f1b41", "timestamp": 1712700010987, "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": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}, "parent": {"id": "d5729b7a-4e0d-4d41-bfc7-abac3339dfd3", "name": "messages", "item": [{"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}], "event": []}, "cursor": {"ref": "2248e161-1de6-4f5b-b43d-1ae50183ec27", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "72fe1f9e-673a-410f-bd05-5de91c8e139c", "scriptId": "381e69be-86f7-4aba-a0f5-006081782fca", "execution": "36e63111-88ad-4218-b717-c651fbcad8a5"}}, {"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": "2bece6f6-8709-4964-b4b7-700665db092d", "timestamp": 1712700010987, "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": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}, "parent": {"id": "d5729b7a-4e0d-4d41-bfc7-abac3339dfd3", "name": "messages", "item": [{"id": "2752b0fd-6db5-4ef0-b6b4-f050b4d35bb6", "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": "9c33abd5-4568-4093-980b-26c061f37ea5", "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": "0e47b8c7-f07c-49a5-a094-69e103536c89", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "93ffb9a3-d9c6-492c-bd22-87d8b2e3b327"}}]}, {"id": "2c845fc8-2a2c-421c-bdc7-c6dfb20d93de", "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": "01f311aa-39a3-48b0-ab03-1d66b38c8ecf", "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": "e34e8bb2-d8c8-4a90-ad8b-c8072f6958bf", "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": "9c8e9e05-bfba-46e0-bbf6-6fc4d9807d81", "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": "381e69be-86f7-4aba-a0f5-006081782fca", "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": "36e63111-88ad-4218-b717-c651fbcad8a5"}}]}], "event": []}, "cursor": {"ref": "2248e161-1de6-4f5b-b43d-1ae50183ec27", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "72fe1f9e-673a-410f-bd05-5de91c8e139c", "scriptId": "381e69be-86f7-4aba-a0f5-006081782fca", "execution": "36e63111-88ad-4218-b717-c651fbcad8a5"}}, {"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": "336b8d27-3903-4cbd-affd-515a6c51a479", "timestamp": 1712700011046, "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": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, "parent": {"id": "94701220-fb24-49d5-b468-5bcbd392f5f8", "name": "messages/{id}", "item": [{"id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, {"id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}], "event": []}, "cursor": {"ref": "7de83693-239a-40e7-9406-dd6e292d06cc", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "77d4b73b-fe18-47df-a0be-b4b8915170fd", "scriptId": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "execution": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}, {"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": "2ad81dcd-ca1a-4771-8b9b-944cc7204a3d", "timestamp": 1712700011047, "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": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, "parent": {"id": "94701220-fb24-49d5-b468-5bcbd392f5f8", "name": "messages/{id}", "item": [{"id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, {"id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}], "event": []}, "cursor": {"ref": "7de83693-239a-40e7-9406-dd6e292d06cc", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "77d4b73b-fe18-47df-a0be-b4b8915170fd", "scriptId": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "execution": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}, {"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": "affcea71-0921-484f-bc1e-8e6d2ac51eb5", "timestamp": 1712700011047, "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": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, "parent": {"id": "94701220-fb24-49d5-b468-5bcbd392f5f8", "name": "messages/{id}", "item": [{"id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, {"id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}], "event": []}, "cursor": {"ref": "7de83693-239a-40e7-9406-dd6e292d06cc", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "77d4b73b-fe18-47df-a0be-b4b8915170fd", "scriptId": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "execution": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}, {"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": "c4f1ae91-b0c9-43ce-b734-79d83eac4880", "timestamp": 1712700011122, "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": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}, "parent": {"id": "94701220-fb24-49d5-b468-5bcbd392f5f8", "name": "messages/{id}", "item": [{"id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, {"id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}], "event": []}, "cursor": {"ref": "d3c008b6-cdbd-4cc5-b62c-8baf80c13b8b", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "2564eb5f-ea30-4edf-bea9-81d8262bcdc0", "scriptId": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "execution": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}, {"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": "8a83b87a-3d5b-4814-a0aa-421ecb6eb824", "timestamp": 1712700011124, "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": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}, "parent": {"id": "94701220-fb24-49d5-b468-5bcbd392f5f8", "name": "messages/{id}", "item": [{"id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, {"id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}], "event": []}, "cursor": {"ref": "d3c008b6-cdbd-4cc5-b62c-8baf80c13b8b", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "2564eb5f-ea30-4edf-bea9-81d8262bcdc0", "scriptId": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "execution": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}, {"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": "5c408fb0-3259-40de-a98b-e74c3ac8d8d0", "timestamp": 1712700011125, "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": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}, "parent": {"id": "94701220-fb24-49d5-b468-5bcbd392f5f8", "name": "messages/{id}", "item": [{"id": "907bf72f-3a23-43bc-9009-32d2e6a9235b", "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": "f16e8ab2-02d2-4b40-9f16-2fcc03e1f7d9", "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": "482e8023-080f-4391-ac81-11b13a1062d6", "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": "2a71bb64-f555-4ec3-8fba-b55a5c31c92e", "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": "d952b8a9-4745-4da4-bba9-882fee0ab8d5"}}]}, {"id": "504d3851-bc3d-4faa-ad9c-76fd53da958f", "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": "0a0f0213-ee80-4fed-971a-36df11b68fce", "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": "123902e0-6b7e-41a6-a4dc-e2e1ef764b5b", "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": "57ce1cda-66e7-492b-bc0a-cd611a1eb30f", "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": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}]}], "event": []}, "cursor": {"ref": "d3c008b6-cdbd-4cc5-b62c-8baf80c13b8b", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "2564eb5f-ea30-4edf-bea9-81d8262bcdc0", "scriptId": "6b746d28-d0c9-4a24-a573-3b5d46b1730b", "execution": "6f55747b-f0e9-4932-9b2d-1dab460b086b"}}, {"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": "438ca450-b36d-4d66-bfec-21eae219b55d", "timestamp": 1712700011191, "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": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, "parent": {"id": "ce96dc69-7684-4db2-af2d-c9ef52172736", "name": "send_lists", "item": [{"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}], "event": []}, "cursor": {"ref": "f753fe9a-eaa0-4585-9a18-f2ea0d98a65f", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "efd62895-cf8d-45ce-8db7-406446ce757a", "scriptId": "6334f552-a9c6-43d8-8359-869dc470da7c", "execution": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}, {"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": "5f87f117-737d-4394-ae2f-c486428d50a2", "timestamp": 1712700011192, "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": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, "parent": {"id": "ce96dc69-7684-4db2-af2d-c9ef52172736", "name": "send_lists", "item": [{"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}], "event": []}, "cursor": {"ref": "f753fe9a-eaa0-4585-9a18-f2ea0d98a65f", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "efd62895-cf8d-45ce-8db7-406446ce757a", "scriptId": "6334f552-a9c6-43d8-8359-869dc470da7c", "execution": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}, {"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": "09e726b8-6669-410f-8e51-cb1f02cf9c49", "timestamp": 1712700011194, "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": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, "parent": {"id": "ce96dc69-7684-4db2-af2d-c9ef52172736", "name": "send_lists", "item": [{"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}], "event": []}, "cursor": {"ref": "f753fe9a-eaa0-4585-9a18-f2ea0d98a65f", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "efd62895-cf8d-45ce-8db7-406446ce757a", "scriptId": "6334f552-a9c6-43d8-8359-869dc470da7c", "execution": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}, {"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": "a0e3d518-7d93-49df-b33e-5a32d7be22a1", "timestamp": 1712700011262, "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": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}, "parent": {"id": "ce96dc69-7684-4db2-af2d-c9ef52172736", "name": "send_lists", "item": [{"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}], "event": []}, "cursor": {"ref": "8d92d5bd-7949-4560-8eef-7da5519cb5e1", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "14745fd2-fe63-42c5-ab49-eb72471ab033", "scriptId": "9fe7efc6-d062-47e2-933c-406fac56577c", "execution": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}, {"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": "cf5463fa-2de0-451a-bedb-b72335a5adc3", "timestamp": 1712700011263, "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": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}, "parent": {"id": "ce96dc69-7684-4db2-af2d-c9ef52172736", "name": "send_lists", "item": [{"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}], "event": []}, "cursor": {"ref": "8d92d5bd-7949-4560-8eef-7da5519cb5e1", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "14745fd2-fe63-42c5-ab49-eb72471ab033", "scriptId": "9fe7efc6-d062-47e2-933c-406fac56577c", "execution": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}, {"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": "6afb2cf2-74ef-4dbc-b431-18f3e1504d0f", "timestamp": 1712700011270, "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": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}, "parent": {"id": "ce96dc69-7684-4db2-af2d-c9ef52172736", "name": "send_lists", "item": [{"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}], "event": []}, "cursor": {"ref": "8d92d5bd-7949-4560-8eef-7da5519cb5e1", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "14745fd2-fe63-42c5-ab49-eb72471ab033", "scriptId": "9fe7efc6-d062-47e2-933c-406fac56577c", "execution": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}, {"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": "665c621d-56e6-4e65-a2e6-a10637a8cf8f", "timestamp": 1712700011271, "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": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}, "parent": {"id": "ce96dc69-7684-4db2-af2d-c9ef52172736", "name": "send_lists", "item": [{"id": "1b87b179-b187-45a8-b26a-2df817e75f32", "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": "6334f552-a9c6-43d8-8359-869dc470da7c", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "141417fd-6ae0-4495-97b0-4d8c45dc1aca"}}]}, {"id": "e98b057c-1ae4-45a5-8889-ad110910452a", "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": "ed6f4e74-644e-4c09-91ab-b353bff142aa", "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": "8282c4f3-a2fc-4fe8-b93d-810d6cd8eb8a", "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": "00472c3a-97d9-4ee7-9df7-d14ef0b5e8ad", "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": "9fe7efc6-d062-47e2-933c-406fac56577c", "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": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}]}], "event": []}, "cursor": {"ref": "8d92d5bd-7949-4560-8eef-7da5519cb5e1", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "14745fd2-fe63-42c5-ab49-eb72471ab033", "scriptId": "9fe7efc6-d062-47e2-933c-406fac56577c", "execution": "4c84d9da-d41c-4bf1-bfa5-c69bf5801222"}}, {"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": "5c548af5-1596-4cb8-971e-e587c002a415", "timestamp": 1712700011357, "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": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, "parent": {"id": "4a3751a8-73ed-46e2-9f95-aad980fb812a", "name": "send_lists/{id}", "item": [{"id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, {"id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}], "event": []}, "cursor": {"ref": "d32c2c63-1538-4fb0-b9ee-055269d7ede9", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "fefd25d1-2090-45da-9e5f-f9414d09f0bd", "scriptId": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "execution": "75210a51-814a-4842-9337-f51ecf4e6b13"}}, {"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": "3073b665-4430-4948-a3da-b920de9204e7", "timestamp": 1712700011357, "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": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, "parent": {"id": "4a3751a8-73ed-46e2-9f95-aad980fb812a", "name": "send_lists/{id}", "item": [{"id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, {"id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}], "event": []}, "cursor": {"ref": "d32c2c63-1538-4fb0-b9ee-055269d7ede9", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "fefd25d1-2090-45da-9e5f-f9414d09f0bd", "scriptId": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "execution": "75210a51-814a-4842-9337-f51ecf4e6b13"}}, {"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": "4ab7287b-c1af-4d6b-92e3-1de571ca2885", "timestamp": 1712700011358, "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": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, "parent": {"id": "4a3751a8-73ed-46e2-9f95-aad980fb812a", "name": "send_lists/{id}", "item": [{"id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, {"id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}], "event": []}, "cursor": {"ref": "d32c2c63-1538-4fb0-b9ee-055269d7ede9", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "fefd25d1-2090-45da-9e5f-f9414d09f0bd", "scriptId": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "execution": "75210a51-814a-4842-9337-f51ecf4e6b13"}}, {"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": "122ef211-3e40-4db8-bafc-b079ce00978e", "timestamp": 1712700011433, "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": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}, "parent": {"id": "4a3751a8-73ed-46e2-9f95-aad980fb812a", "name": "send_lists/{id}", "item": [{"id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, {"id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}], "event": []}, "cursor": {"ref": "34c82481-2273-4ca9-be9f-1b17fa6001d7", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "08b91852-efaf-4ad2-b824-250768d23030", "scriptId": "16f81ffc-afa3-4582-920b-e90b417b3da0", "execution": "2e18eda3-741b-4c99-9641-a05186afac7c"}}, {"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": "1c375178-e4c0-4e65-aeaf-2acccc1e5298", "timestamp": 1712700011434, "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": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}, "parent": {"id": "4a3751a8-73ed-46e2-9f95-aad980fb812a", "name": "send_lists/{id}", "item": [{"id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, {"id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}], "event": []}, "cursor": {"ref": "34c82481-2273-4ca9-be9f-1b17fa6001d7", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "08b91852-efaf-4ad2-b824-250768d23030", "scriptId": "16f81ffc-afa3-4582-920b-e90b417b3da0", "execution": "2e18eda3-741b-4c99-9641-a05186afac7c"}}, {"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": "6b4b1d1b-52fd-4137-93ee-1ec584a4c795", "timestamp": 1712700011435, "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": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}, "parent": {"id": "4a3751a8-73ed-46e2-9f95-aad980fb812a", "name": "send_lists/{id}", "item": [{"id": "7150f055-0617-440c-8084-cf0a8c166b88", "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": "10afa850-b3e6-4ddb-b6e3-d76a8a3e23d0", "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": "38a60361-6d0f-4646-ab36-78e3a0a3d1aa", "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": "06f030e9-ce7e-4687-8dfe-b6e6d8c4d6d8", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "75210a51-814a-4842-9337-f51ecf4e6b13"}}]}, {"id": "b8b0e199-bb18-488d-987f-5f2cc4afcd4a", "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": "70dd4b43-d2b7-4c56-b442-30eef57ad671", "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": "d37ee0b5-682a-44a9-933e-e41cbb5404be", "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": "558770b3-b0d4-40a4-a3d5-bfef437e1982", "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": "16f81ffc-afa3-4582-920b-e90b417b3da0", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2e18eda3-741b-4c99-9641-a05186afac7c"}}]}], "event": []}, "cursor": {"ref": "34c82481-2273-4ca9-be9f-1b17fa6001d7", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "08b91852-efaf-4ad2-b824-250768d23030", "scriptId": "16f81ffc-afa3-4582-920b-e90b417b3da0", "execution": "2e18eda3-741b-4c99-9641-a05186afac7c"}}, {"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": "bee8a626-34f4-44ff-85bc-e9523870e5e2", "timestamp": 1712700011505, "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": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, "parent": {"id": "8236bc84-32df-4d88-b89d-50ea80be2729", "name": "subscribers", "item": [{"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}], "event": []}, "cursor": {"ref": "13f52c02-58ef-4231-ad10-b6f58c9d9aef", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "79171a24-d09c-4f2a-bfb3-a8f75c1add6e", "scriptId": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "execution": "bd064f65-db10-496a-94b7-2913b668b4b2"}}, {"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": "8fba99fc-df08-48f6-95c8-2c2095ce28d1", "timestamp": 1712700011506, "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": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, "parent": {"id": "8236bc84-32df-4d88-b89d-50ea80be2729", "name": "subscribers", "item": [{"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}], "event": []}, "cursor": {"ref": "13f52c02-58ef-4231-ad10-b6f58c9d9aef", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "79171a24-d09c-4f2a-bfb3-a8f75c1add6e", "scriptId": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "execution": "bd064f65-db10-496a-94b7-2913b668b4b2"}}, {"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": "05055296-8382-4d42-aaea-7e5808c98045", "timestamp": 1712700011507, "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": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, "parent": {"id": "8236bc84-32df-4d88-b89d-50ea80be2729", "name": "subscribers", "item": [{"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}], "event": []}, "cursor": {"ref": "13f52c02-58ef-4231-ad10-b6f58c9d9aef", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "79171a24-d09c-4f2a-bfb3-a8f75c1add6e", "scriptId": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "execution": "bd064f65-db10-496a-94b7-2913b668b4b2"}}, {"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": "a3f61cf8-3b23-41f2-ab47-7eb4a85570d1", "timestamp": 1712700011588, "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": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}, "parent": {"id": "8236bc84-32df-4d88-b89d-50ea80be2729", "name": "subscribers", "item": [{"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}], "event": []}, "cursor": {"ref": "2245cf0c-6dd8-45fa-849c-1a785a550e10", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "fa4e065b-1bab-4067-b40e-aa442d8a2942", "scriptId": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "execution": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}, {"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": "c4e4561f-acca-415b-b987-6ee23d934f1e", "timestamp": 1712700011589, "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": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}, "parent": {"id": "8236bc84-32df-4d88-b89d-50ea80be2729", "name": "subscribers", "item": [{"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}], "event": []}, "cursor": {"ref": "2245cf0c-6dd8-45fa-849c-1a785a550e10", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "fa4e065b-1bab-4067-b40e-aa442d8a2942", "scriptId": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "execution": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}, {"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": "de778778-6a84-44de-84d8-e777cca21af4", "timestamp": 1712700011591, "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": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}, "parent": {"id": "8236bc84-32df-4d88-b89d-50ea80be2729", "name": "subscribers", "item": [{"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}], "event": []}, "cursor": {"ref": "2245cf0c-6dd8-45fa-849c-1a785a550e10", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "fa4e065b-1bab-4067-b40e-aa442d8a2942", "scriptId": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "execution": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}, {"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": "6afbc734-4bdf-4ce6-95bb-cefdd6b842ab", "timestamp": 1712700011591, "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": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}, "parent": {"id": "8236bc84-32df-4d88-b89d-50ea80be2729", "name": "subscribers", "item": [{"id": "bb9db4ce-11fb-421b-9190-5a5928dd4ef0", "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": "7458e7d3-cc6c-41ac-ac1d-1db0b746c4a1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "bd064f65-db10-496a-94b7-2913b668b4b2"}}]}, {"id": "1290bb81-aa80-42a2-8362-915aec324e5a", "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": "4acc0501-5467-44e3-a5fe-b21c49b050cd", "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": "fa076e48-8335-4ed3-ac5e-d90377d0b71a", "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": "e779b82b-74ce-4581-8c87-8c64c8d561b6", "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": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "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": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}]}], "event": []}, "cursor": {"ref": "2245cf0c-6dd8-45fa-849c-1a785a550e10", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "fa4e065b-1bab-4067-b40e-aa442d8a2942", "scriptId": "432c19e4-4cbd-4f06-98ae-7dd1971381e5", "execution": "43b9db7f-1ad4-4988-b7e6-49592aee7beb"}}, {"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": "9cbce5a6-34df-4f83-8f10-ffddabd9f85d", "timestamp": 1712700011657, "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": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, "parent": {"id": "2c912c0d-0a32-43c3-8844-2df62add03fe", "name": "subscribers/{id}", "item": [{"id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, {"id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}], "event": []}, "cursor": {"ref": "7a36daca-a994-4e4d-ae24-ee0aad3d5c9a", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "bf5cf7fc-2572-4313-999d-289588772223", "scriptId": "bee9f38e-7963-4a56-85a9-35ca78e62459", "execution": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}, {"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": "d0c39cbf-3efa-445c-8b80-82fa668a99a7", "timestamp": 1712700011659, "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": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, "parent": {"id": "2c912c0d-0a32-43c3-8844-2df62add03fe", "name": "subscribers/{id}", "item": [{"id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, {"id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}], "event": []}, "cursor": {"ref": "7a36daca-a994-4e4d-ae24-ee0aad3d5c9a", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "bf5cf7fc-2572-4313-999d-289588772223", "scriptId": "bee9f38e-7963-4a56-85a9-35ca78e62459", "execution": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}, {"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": "12fc36d2-7f59-4e0a-aa60-8edaf8d51c34", "timestamp": 1712700011662, "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": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, "parent": {"id": "2c912c0d-0a32-43c3-8844-2df62add03fe", "name": "subscribers/{id}", "item": [{"id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, {"id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}], "event": []}, "cursor": {"ref": "7a36daca-a994-4e4d-ae24-ee0aad3d5c9a", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "bf5cf7fc-2572-4313-999d-289588772223", "scriptId": "bee9f38e-7963-4a56-85a9-35ca78e62459", "execution": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}, {"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": "3082f285-b457-4d96-b1fd-6b17c4cfea53", "timestamp": 1712700011730, "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": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}, "parent": {"id": "2c912c0d-0a32-43c3-8844-2df62add03fe", "name": "subscribers/{id}", "item": [{"id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, {"id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}], "event": []}, "cursor": {"ref": "564389ef-28e3-44e9-b7c8-53fcf9e893aa", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "e0c38fa8-4660-49b0-8d3a-e44283477575", "scriptId": "a16170ca-eee7-40e8-a2be-0d879726d09d", "execution": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}, {"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": "ceac315b-6fc5-4113-a535-d08b38d16801", "timestamp": 1712700011731, "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": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}, "parent": {"id": "2c912c0d-0a32-43c3-8844-2df62add03fe", "name": "subscribers/{id}", "item": [{"id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, {"id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}], "event": []}, "cursor": {"ref": "564389ef-28e3-44e9-b7c8-53fcf9e893aa", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "e0c38fa8-4660-49b0-8d3a-e44283477575", "scriptId": "a16170ca-eee7-40e8-a2be-0d879726d09d", "execution": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}, {"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": "a407c443-7ab7-4649-bb59-ba7dc0e7ffe9", "timestamp": 1712700011732, "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": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}, "parent": {"id": "2c912c0d-0a32-43c3-8844-2df62add03fe", "name": "subscribers/{id}", "item": [{"id": "d5ef5033-4511-4f77-85c0-d3dba697d7f1", "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": "6937f595-f717-442a-86a4-e949e729d602", "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": "05f32f17-e4a9-4af1-af64-698fb6212d2e", "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": "bee9f38e-7963-4a56-85a9-35ca78e62459", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "99d3a50e-2d9c-4369-8388-f82fc1789ee1"}}]}, {"id": "f532d62d-c2a0-4ee4-8f53-5f2cbf5de84f", "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": "b3c6914b-8a4e-4197-83ba-009ab641e903", "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": "c76db3f9-a6bf-4350-8963-03ad98fc2f2c", "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": "6007bf97-6d23-4977-871c-dbf9917db99d", "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": "a16170ca-eee7-40e8-a2be-0d879726d09d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}]}], "event": []}, "cursor": {"ref": "564389ef-28e3-44e9-b7c8-53fcf9e893aa", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "e0c38fa8-4660-49b0-8d3a-e44283477575", "scriptId": "a16170ca-eee7-40e8-a2be-0d879726d09d", "execution": "8b69f071-fa3a-4fc7-8ed5-526c9392bd3a"}}, {"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": "3726db3e-0c5e-4dc2-a6ae-b93feac2e984", "timestamp": 1712700011788, "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": "639533b4-e8aa-4a3c-862a-c93a2e0acd1e", "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": "1ea19fb6-0c06-4b46-8dbb-98dd488d3dd8", "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": "b97315bb-c386-4dcd-a3dc-3654bbe849aa", "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": "f54db2d9-67b5-4e0b-8b3e-d87e545c5187", "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": "a52b0de8-5789-49b3-b1ab-5d3d3555711f"}}]}, "parent": {"id": "36dc711b-5a4d-47ea-bbc5-e5e9ca591a41", "name": "cleanup", "item": [{"id": "639533b4-e8aa-4a3c-862a-c93a2e0acd1e", "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": "1ea19fb6-0c06-4b46-8dbb-98dd488d3dd8", "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": "b97315bb-c386-4dcd-a3dc-3654bbe849aa", "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": "f54db2d9-67b5-4e0b-8b3e-d87e545c5187", "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": "a52b0de8-5789-49b3-b1ab-5d3d3555711f"}}]}, {"id": "4647fbd9-4d8e-477b-8166-b233f7748d15", "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": "34b1dd35-dc7f-4790-9d15-d0578785e35a", "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": "0db1e063-ae6b-4dda-911d-5a22e50b2f69", "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": "593f6e1e-ab01-4a4a-b6ff-b12add9da9a9", "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": "8403ed01-c1dc-4b00-adbe-2b2d596d5f50"}}]}, {"id": "aded4e0c-5a0a-4904-9d8a-8cd6fb23ad77", "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": "31b9bbfe-2432-467a-9dbb-6a0844375c51", "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": "14089b6e-8118-4c15-88ba-7375eede6760", "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": "195b2273-449d-41ea-98a4-53ee85b64692", "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": "1a4bd711-0f3c-4626-b7fb-baea34927710"}}]}, {"id": "a8d0e0f0-5da7-41d2-ab2e-c30b675cc792", "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": "9f518dfc-87ec-403b-b0cd-7946789a883f", "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": "2af26d46-f078-415b-91b6-f58e92d87fe4", "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": "1238c5b5-e929-4de7-8dc5-d3287f85b771", "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": "cf25f372-2caf-4302-aa5a-0052aa8b7b77"}}]}], "event": []}, "cursor": {"ref": "e4723c51-8168-4ee8-9d4a-0c9ae9c8de19", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "f96dc3c1-16ce-4e00-ace9-97ed0c8c47d2", "scriptId": "f54db2d9-67b5-4e0b-8b3e-d87e545c5187", "execution": "a52b0de8-5789-49b3-b1ab-5d3d3555711f"}}, {"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": "93064374-d22e-4053-bb2f-5d81ac504b15", "timestamp": 1712700011856, "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": "4647fbd9-4d8e-477b-8166-b233f7748d15", "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": "34b1dd35-dc7f-4790-9d15-d0578785e35a", "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": "0db1e063-ae6b-4dda-911d-5a22e50b2f69", "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": "593f6e1e-ab01-4a4a-b6ff-b12add9da9a9", "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": "8403ed01-c1dc-4b00-adbe-2b2d596d5f50"}}]}, "parent": {"id": "36dc711b-5a4d-47ea-bbc5-e5e9ca591a41", "name": "cleanup", "item": [{"id": "639533b4-e8aa-4a3c-862a-c93a2e0acd1e", "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": "1ea19fb6-0c06-4b46-8dbb-98dd488d3dd8", "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": "b97315bb-c386-4dcd-a3dc-3654bbe849aa", "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": "f54db2d9-67b5-4e0b-8b3e-d87e545c5187", "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": "a52b0de8-5789-49b3-b1ab-5d3d3555711f"}}]}, {"id": "4647fbd9-4d8e-477b-8166-b233f7748d15", "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": "34b1dd35-dc7f-4790-9d15-d0578785e35a", "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": "0db1e063-ae6b-4dda-911d-5a22e50b2f69", "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": "593f6e1e-ab01-4a4a-b6ff-b12add9da9a9", "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": "8403ed01-c1dc-4b00-adbe-2b2d596d5f50"}}]}, {"id": "aded4e0c-5a0a-4904-9d8a-8cd6fb23ad77", "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": "31b9bbfe-2432-467a-9dbb-6a0844375c51", "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": "14089b6e-8118-4c15-88ba-7375eede6760", "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": "195b2273-449d-41ea-98a4-53ee85b64692", "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": "1a4bd711-0f3c-4626-b7fb-baea34927710"}}]}, {"id": "a8d0e0f0-5da7-41d2-ab2e-c30b675cc792", "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": "9f518dfc-87ec-403b-b0cd-7946789a883f", "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": "2af26d46-f078-415b-91b6-f58e92d87fe4", "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": "1238c5b5-e929-4de7-8dc5-d3287f85b771", "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": "cf25f372-2caf-4302-aa5a-0052aa8b7b77"}}]}], "event": []}, "cursor": {"ref": "d6fd1321-940a-4236-a951-09097f2420dc", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "32fa41e3-c7cb-434a-b852-fec2f3d693f7", "scriptId": "593f6e1e-ab01-4a4a-b6ff-b12add9da9a9", "execution": "8403ed01-c1dc-4b00-adbe-2b2d596d5f50"}}, {"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": "bb6bcd80-b01f-45f3-8fe1-3bb2e89eb6dc", "timestamp": 1712700011930, "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": "aded4e0c-5a0a-4904-9d8a-8cd6fb23ad77", "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": "31b9bbfe-2432-467a-9dbb-6a0844375c51", "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": "14089b6e-8118-4c15-88ba-7375eede6760", "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": "195b2273-449d-41ea-98a4-53ee85b64692", "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": "1a4bd711-0f3c-4626-b7fb-baea34927710"}}]}, "parent": {"id": "36dc711b-5a4d-47ea-bbc5-e5e9ca591a41", "name": "cleanup", "item": [{"id": "639533b4-e8aa-4a3c-862a-c93a2e0acd1e", "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": "1ea19fb6-0c06-4b46-8dbb-98dd488d3dd8", "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": "b97315bb-c386-4dcd-a3dc-3654bbe849aa", "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": "f54db2d9-67b5-4e0b-8b3e-d87e545c5187", "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": "a52b0de8-5789-49b3-b1ab-5d3d3555711f"}}]}, {"id": "4647fbd9-4d8e-477b-8166-b233f7748d15", "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": "34b1dd35-dc7f-4790-9d15-d0578785e35a", "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": "0db1e063-ae6b-4dda-911d-5a22e50b2f69", "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": "593f6e1e-ab01-4a4a-b6ff-b12add9da9a9", "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": "8403ed01-c1dc-4b00-adbe-2b2d596d5f50"}}]}, {"id": "aded4e0c-5a0a-4904-9d8a-8cd6fb23ad77", "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": "31b9bbfe-2432-467a-9dbb-6a0844375c51", "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": "14089b6e-8118-4c15-88ba-7375eede6760", "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": "195b2273-449d-41ea-98a4-53ee85b64692", "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": "1a4bd711-0f3c-4626-b7fb-baea34927710"}}]}, {"id": "a8d0e0f0-5da7-41d2-ab2e-c30b675cc792", "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": "9f518dfc-87ec-403b-b0cd-7946789a883f", "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": "2af26d46-f078-415b-91b6-f58e92d87fe4", "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": "1238c5b5-e929-4de7-8dc5-d3287f85b771", "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": "cf25f372-2caf-4302-aa5a-0052aa8b7b77"}}]}], "event": []}, "cursor": {"ref": "2b97f5ac-05a3-49e8-a8b7-f9629dd42004", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "cbf77339-74dc-4388-886f-30c00e38a878", "scriptId": "195b2273-449d-41ea-98a4-53ee85b64692", "execution": "1a4bd711-0f3c-4626-b7fb-baea34927710"}}, {"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": "a57960d8-7a14-4b4c-a765-542b11ced737", "timestamp": 1712700012004, "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": "a8d0e0f0-5da7-41d2-ab2e-c30b675cc792", "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": "9f518dfc-87ec-403b-b0cd-7946789a883f", "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": "2af26d46-f078-415b-91b6-f58e92d87fe4", "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": "1238c5b5-e929-4de7-8dc5-d3287f85b771", "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": "cf25f372-2caf-4302-aa5a-0052aa8b7b77"}}]}, "parent": {"id": "36dc711b-5a4d-47ea-bbc5-e5e9ca591a41", "name": "cleanup", "item": [{"id": "639533b4-e8aa-4a3c-862a-c93a2e0acd1e", "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": "1ea19fb6-0c06-4b46-8dbb-98dd488d3dd8", "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": "b97315bb-c386-4dcd-a3dc-3654bbe849aa", "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": "f54db2d9-67b5-4e0b-8b3e-d87e545c5187", "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": "a52b0de8-5789-49b3-b1ab-5d3d3555711f"}}]}, {"id": "4647fbd9-4d8e-477b-8166-b233f7748d15", "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": "34b1dd35-dc7f-4790-9d15-d0578785e35a", "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": "0db1e063-ae6b-4dda-911d-5a22e50b2f69", "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": "593f6e1e-ab01-4a4a-b6ff-b12add9da9a9", "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": "8403ed01-c1dc-4b00-adbe-2b2d596d5f50"}}]}, {"id": "aded4e0c-5a0a-4904-9d8a-8cd6fb23ad77", "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": "31b9bbfe-2432-467a-9dbb-6a0844375c51", "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": "14089b6e-8118-4c15-88ba-7375eede6760", "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": "195b2273-449d-41ea-98a4-53ee85b64692", "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": "1a4bd711-0f3c-4626-b7fb-baea34927710"}}]}, {"id": "a8d0e0f0-5da7-41d2-ab2e-c30b675cc792", "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": "9f518dfc-87ec-403b-b0cd-7946789a883f", "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": "2af26d46-f078-415b-91b6-f58e92d87fe4", "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": "1238c5b5-e929-4de7-8dc5-d3287f85b771", "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": "cf25f372-2caf-4302-aa5a-0052aa8b7b77"}}]}], "event": []}, "cursor": {"ref": "c89fb046-882c-497b-977e-e93d6ac55c9a", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "f7bf3757-1af4-4744-9a78-d25923158f41", "scriptId": "1238c5b5-e929-4de7-8dc5-d3287f85b771", "execution": "cf25f372-2caf-4302-aa5a-0052aa8b7b77"}}], "error": null}}