{"collection": {"_": {"postman_id": "fede9159-9c64-4b1e-b5b0-6422b1e6eb8a"}, "item": [{"id": "5486d1ec-7195-4acd-b8a9-fbe35372180e", "name": "requests", "item": [{"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b04aa1e4-5360-4c36-8dd1-90eba38e336f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "526d3b86-1d84-4893-b7d7-57f188c35798"}}], "protocolProfileBehavior": {}}, {"id": "36625b85-fb23-4393-a7c7-537d983e6891", "name": "requests/{id}", "item": [{"id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, {"id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "e5d48000-738e-48cf-ae16-1aef05b942ce", "name": "submitters", "item": [{"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "28e41769-73a8-4c01-a677-268632f459c9", "name": "submitters/{id}", "item": [{"id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, {"id": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "f0540fc4-46ad-47b3-b4cf-93921c8e3540", "name": "labels", "item": [{"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "4b7ceb53-ff9f-41fa-928d-72f3eb011544", "name": "labels/{id}", "item": [{"id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, {"id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "b68fa2e6-c624-4111-94db-aa8b2d71990e", "name": "roles", "item": [{"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "0565a25a-4bc0-462f-a629-544cad2400f8", "name": "roles/{id}", "item": [{"id": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, {"id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "27a807d5-e4ab-4e84-bd9e-2c79fdd7d7fa", "name": "Clear up", "item": [{"id": "1e87fcfd-fd00-40a3-adc4-c95399a4e10f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "28a0b25b-d27b-4444-8f61-5a6498547f4b", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "4e1c0754-fdf9-4f41-810b-58f819afdf24", "name": "Submitter resource deleted", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "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": "dd58afcd-25d9-45ba-aa0e-7f47180b408b"}}]}, {"id": "d00aa3aa-4a67-47fb-8a74-e2f4bc85d1ad", "name": "Removes the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "c2a01b8c-1dfd-4615-b865-788c20c084ee", "name": "Role resource deleted", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "277cd7b3-f5f7-4c39-bdea-61984c741c52", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "61d37bcf-e148-4345-bef7-7dfb628bc585", "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": "4d29ba71-73d1-4ba3-9cb3-12b0bc4fdb77"}}]}, {"id": "210dc6fb-fb94-41f6-a33e-fec8d72dd25d", "name": "Removes the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "afcdcb51-db40-4a81-855e-5a943cc99a24", "name": "Label resource deleted", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7ac3df42-547b-438c-9812-04ccf20f5e35", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "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": "52f828da-894e-4567-af8d-fdc0b161143b"}}]}, {"id": "43970c49-09e7-43ef-beee-a3812e5a8f61", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "ad6dd1ea-8904-4875-bc9d-508507f84788", "name": "Request resource deleted", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b3b5fad5-6596-4492-bf8f-740975ede59b", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "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", " pm.expect(pm.response.code).to.be.oneOf([204,500]); //this should be deleted as soon as possible, just a quick hack to get things running\r", "});\r", ""], "_lastExecutionId": "8fbe14aa-b7ad-4bf4-b564-d41275fc9d77"}}]}], "event": [], "protocolProfileBehavior": {}}], "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}, "event": [{"listen": "prerequest", "script": {"id": "d803c5eb-0792-47ff-993e-1342a37cda65", "type": "text/javascript", "exec": [""], "_lastExecutionId": "ea46664d-255b-486b-845c-349da23da877"}}, {"listen": "test", "script": {"id": "d13b04df-6cff-4412-aac7-91ad0bb09595", "type": "text/javascript", "exec": [""], "_lastExecutionId": "92f25862-4186-4f6f-a39d-068ec35c9101"}}], "protocolProfileBehavior": {}, "variable": [{"id": "3884757c-73b7-4b26-8722-6748939fe822", "type": "string", "value": "vrc.dev.zuid-drecht.nl", "key": "baseUrl"}], "info": {"_postman_id": "fede9159-9c64-4b1e-b5b0-6422b1e6eb8a", "name": "Verzoek Registratie Component (VRC)", "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json", "description": {"content": " \n", "type": "text/plain"}}}, "environment": {"id": "a375634a-f497-46ae-9a6c-c1276d37d2df", "values": []}, "globals": {"id": "2fb3f44e-767b-48c5-9fed-09c75de14ff6", "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": 25.2, "responseMin": 11, "responseMax": 184, "responseSd": 36.82336214959191, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1684965604295, "completed": 1684965606528}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "77fcb0ed-3a15-4ba4-9041-35ac34d741c5", "httpRequestId": "d21e71c5-6a89-4ad7-b919-e346cafdeb2e"}, "item": {"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, "request": {"url": {"protocol": "http", "path": ["requests"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "7230b5b6-f0e9-4e2b-9535-890b4570191f", "system": true}, {"key": "Host", "value": "vrc.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": "e0f95ff8-9e63-472a-84d3-b69d6254fe94", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 184, "responseSize": 2538}, "id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "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": "af5fbf68-f3be-4426-aee6-6fe6fde3de34", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "edc49ce6-e6c1-4f65-9da7-25e53579c258"}, "item": {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}, "request": {"url": {"protocol": "http", "path": ["requests"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "dc8a05a6-9eb7-4e75-a326-f0429dff498b", "system": true}, {"key": "Host", "value": "vrc.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": "838", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "c630242a-6a0c-43ed-b687-c00ea1729cc7", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 31, "responseSize": 2538}, "id": "9a232861-004b-4829-90de-21a97f24bb64", "assertions": [{"assertion": "response is ok", "skipped": false, "error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected response to have status code 201 but got 404", "stack": "AssertionError: expected response to have status code 201 but got 404\n at Object.eval sandbox-script.js:1:2)"}}, {"assertion": "response should be okay to process", "skipped": false, "error": {"name": "AssertionError", "index": 1, "test": "response should be okay to process", "message": "expected response code to not be 4XX or 5XX", "stack": "AssertionError: expected response code to not be 4XX or 5XX\n at Object.eval sandbox-script.js:2:2)"}}, {"assertion": "response must be valid and have a body", "skipped": false, "error": {"name": "AssertionError", "index": 2, "test": "response must be valid and have a body", "message": "expected response body to be a valid json but got error Unexpected token '<' at 1:1", "stack": "AssertionError: expected response body to be a valid json but got error Unexpected token '<' at 1:1\n at Object.eval sandbox-script.js:3:2)"}}, {"assertion": "Set ID", "skipped": false, "error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:2)"}}]}, {"cursor": {"ref": "21b65afe-95dc-4a30-90e9-111de4eb43ca", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "aad43a4c-7901-4756-b1f6-03cd4f4bf21e"}, "item": {"id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, "request": {"url": {"protocol": "http", "path": ["requests", "%7B%7Brequest%7D%7D"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "cbce077d-92f2-4e53-952b-23dee983434c", "system": true}, {"key": "Host", "value": "vrc.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": "ae9e488a-4769-44ce-8114-a15aa8ad5076", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 22, "responseSize": 2538}, "id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "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": "2dc04e14-a7cc-4abc-872c-dda2aff7b8ef", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "dc350532-de20-4a43-89c8-bed19cbecfa9"}, "item": {"id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}, "request": {"url": {"protocol": "http", "path": ["requests", "%7B%7Brequest%7D%7D"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "be15c36c-bd26-472c-a667-1b0296193153", "system": true}, {"key": "Host", "value": "vrc.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": "739", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "3b04d262-ae9d-443c-8dcc-d00283b13540", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 12, "responseSize": 2538}, "id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "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": "0a8500e6-cfab-48fa-8a90-0f763bfd970f", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "5239b8c9-66d1-4191-a8cd-4eaa1bd5a4c0"}, "item": {"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, "request": {"url": {"protocol": "http", "path": ["submitters"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "66fd7a4b-f1bd-44c6-b222-a0451693b75b", "system": true}, {"key": "Host", "value": "vrc.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": "531a29f5-c9c0-4f9d-836b-17fc65ddf7a0", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 20, "responseSize": 2538}, "id": "2abf64a2-76bd-4432-94fd-42f81921e859", "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": "25692244-7d6d-4174-b64c-43479019f15c", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "c27386db-a369-4a4b-9cbe-2d04b59423d5"}, "item": {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}, "request": {"url": {"protocol": "http", "path": ["submitters"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "8abc37cf-008a-45ea-a5ba-aa567a3a3334", "system": true}, {"key": "Host", "value": "vrc.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": "279", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "f6779601-b360-4434-82cb-d40968b02314", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 14, "responseSize": 2538}, "id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "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<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:6)"}}]}, {"cursor": {"ref": "87930c4c-b0fa-4c6d-9a9d-0dbdcc0b61e9", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "fc0db5f6-ad6a-4456-a982-9710850b038e"}, "item": {"id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, "request": {"url": {"protocol": "http", "path": ["submitters", "%7B%7Bid%7D%7D"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "ad88cb58-aa19-4eb7-b37c-680daccc529e", "system": true}, {"key": "Host", "value": "vrc.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": "32073a18-c55e-41fd-abf7-9bfb8ec15b0b", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 16, "responseSize": 2538}, "id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "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": "8f43cebe-d189-459d-8e90-ee18c921935e", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "63005a0d-ad03-412c-b7e5-80a085dce454"}, "item": {"id": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}, "request": {"url": {"protocol": "http", "path": ["submitters", "%7B%7Bid%7D%7D"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "e7550891-fe33-4117-ad74-639b8528638c", "system": true}, {"key": "Host", "value": "vrc.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": "279", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "898170cc-0e00-4ac0-bee1-ef827361d2f8", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 13, "responseSize": 2538}, "id": "562fd9c5-7507-4744-8c12-0ddb60207678", "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": "3411344c-79c7-4598-9421-7949cee99166", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "1549fc4e-eed8-4567-8dea-41fd4be3aa60"}, "item": {"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, "request": {"url": {"protocol": "http", "path": ["labels"], "host": ["vrc", "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": "03f749d9-3ad4-42a2-a253-92cb8a5c4871", "system": true}, {"key": "Host", "value": "vrc.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": "d9de11e8-b5d4-4123-9178-f9dc08fb80c5", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 16, "responseSize": 2538}, "id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "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": "ca16a849-ad50-48eb-8bd9-c84cac73f6d0", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "0ebe6225-7595-43ed-afca-af3ee47ae3b4"}, "item": {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}, "request": {"url": {"protocol": "http", "path": ["labels"], "host": ["vrc", "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": "fce04eb1-3e5e-4d6a-b954-40e8b87f81e2", "system": true}, {"key": "Host", "value": "vrc.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": "110", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "a4b8920e-1fec-4e89-82cc-bd61a30f60ce", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 14, "responseSize": 2538}, "id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "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<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:10)"}}]}, {"cursor": {"ref": "edbd2c96-c807-42a5-8088-3c3190cf3d98", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "c5f2a035-30bd-4b4d-9f71-748b061cad65"}, "item": {"id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, "request": {"url": {"protocol": "http", "path": ["labels", "%7B%7Blabel%7D%7D"], "host": ["vrc", "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": "9ddd6c53-efc7-4c86-9a3f-be964aa92cb0", "system": true}, {"key": "Host", "value": "vrc.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": "677b08c4-00f4-4577-aec9-a97ff13ee0b3", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 29, "responseSize": 2538}, "id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "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": "d3756a40-4946-4213-9153-b84f84aac33c", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "4d7e0f8f-de32-42d6-a9a6-11b7001704d7"}, "item": {"id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}, "request": {"url": {"protocol": "http", "path": ["labels", "%7B%7Blabel%7D%7D"], "host": ["vrc", "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": "137dd94b-5bb5-4263-8315-0671157de275", "system": true}, {"key": "Host", "value": "vrc.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": "110", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"name\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "3d0ac864-0655-4144-85c7-55b7b8c6aedf", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 19, "responseSize": 2538}, "id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "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": "ff84722d-17d2-4f34-8bdd-5aa9673ba4bf", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "cdda95ab-c399-4131-9450-a361d3a4c798"}, "item": {"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, "request": {"url": {"protocol": "http", "path": ["roles"], "host": ["vrc", "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": "f20e01e6-02cd-40a8-bf3d-5230b2c81402", "system": true}, {"key": "Host", "value": "vrc.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": "0386cea0-c928-4695-93c7-0501ed38b0ed", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 18, "responseSize": 2538}, "id": "46307210-e25e-4992-86aa-45371dd66de4", "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": "b9b21a0c-9dd6-454b-9fdc-d7767a6764f9", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "7a6ba3be-182b-4cd0-8e8a-273b0fac6d71"}, "item": {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}, "request": {"url": {"protocol": "http", "path": ["roles"], "host": ["vrc", "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": "08f929c9-8fbb-4af3-99a0-435895fa1111", "system": true}, {"key": "Host", "value": "vrc.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": "159", "system": true}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "3e0590c7-8af2-4265-be4d-daab3f4723ec", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 18, "responseSize": 2538}, "id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "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<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:14)"}}]}, {"cursor": {"ref": "50a90d85-ebd4-42af-9fec-89117c3e3e58", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "8857b2db-ff32-405b-a436-db78358ce111"}, "item": {"id": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, "request": {"url": {"protocol": "http", "path": ["roles", "%7B%7Brole%7D%7D"], "host": ["vrc", "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": "af6f391f-0e41-4614-b212-aee34e4d4b84", "system": true}, {"key": "Host", "value": "vrc.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": "b71096b0-8c94-40f8-b235-a2fca0b14610", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:06 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "de5331d0-2b06-4477-a83d-1173e226b743", "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": "34fbed78-55bd-4d05-ac34-e9b0a9000a74", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "86ec8521-4eb6-4c05-af2d-72aa0d5c8def"}, "item": {"id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}, "request": {"url": {"protocol": "http", "path": ["roles", "%7B%7Brole%7D%7D"], "host": ["vrc", "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": "0ff25ff5-eeae-427b-a376-dc8a35fa7c04", "system": true}, {"key": "Host", "value": "vrc.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": "159", "system": true}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}, "auth": {"type": "apikey", "apikey": [{"type": "string", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "key": "value"}, {"type": "string", "value": "Authorization", "key": "key"}]}}, "response": {"id": "be76c805-9837-4fcf-9414-74b75cde4586", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:06 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 16, "responseSize": 2538}, "id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "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": "843e69c2-ff73-4555-bc48-5aa621a2a25e", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "5c79a816-0bbf-4217-a4f9-ab66a64a2242"}, "item": {"id": "1e87fcfd-fd00-40a3-adc4-c95399a4e10f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "28a0b25b-d27b-4444-8f61-5a6498547f4b", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "4e1c0754-fdf9-4f41-810b-58f819afdf24", "name": "Submitter resource deleted", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "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": "dd58afcd-25d9-45ba-aa0e-7f47180b408b"}}]}, "request": {"url": {"protocol": "http", "path": ["submitters", "%7B%7Bid%7D%7D"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "22145758-8eb6-45da-b1e6-3ea38edf8fe2", "system": true}, {"key": "Host", "value": "vrc.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": "7bfd195e-e9bd-4f9a-a741-1052c9c80472", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:06 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 17, "responseSize": 2538}, "id": "1e87fcfd-fd00-40a3-adc4-c95399a4e10f", "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": "ba4d6a40-75e0-41a4-aefb-bfaac3242639", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "13c9b9c6-f55f-4cdd-b3eb-07f29920a38e"}, "item": {"id": "d00aa3aa-4a67-47fb-8a74-e2f4bc85d1ad", "name": "Removes the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "c2a01b8c-1dfd-4615-b865-788c20c084ee", "name": "Role resource deleted", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "277cd7b3-f5f7-4c39-bdea-61984c741c52", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "61d37bcf-e148-4345-bef7-7dfb628bc585", "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": "4d29ba71-73d1-4ba3-9cb3-12b0bc4fdb77"}}]}, "request": {"url": {"protocol": "http", "path": ["roles", "%7B%7Brole%7D%7D"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Authorization", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "system": true}, {"key": "User-Agent", "value": "PostmanRuntime/7.29.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "e11d3a82-a855-417d-a5cc-7f375f8dc3ef", "system": true}, {"key": "Host", "value": "vrc.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": "ddfa1236-b107-464a-beeb-2fa089442d53", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:06 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 12, "responseSize": 2538}, "id": "d00aa3aa-4a67-47fb-8a74-e2f4bc85d1ad", "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": "79d068e7-1837-471e-b261-dd07165b9dfe", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "be1a422d-a80c-462c-9925-d14e2ca125e5"}, "item": {"id": "210dc6fb-fb94-41f6-a33e-fec8d72dd25d", "name": "Removes the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "afcdcb51-db40-4a81-855e-5a943cc99a24", "name": "Label resource deleted", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7ac3df42-547b-438c-9812-04ccf20f5e35", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "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": "52f828da-894e-4567-af8d-fdc0b161143b"}}]}, "request": {"url": {"protocol": "http", "path": ["labels", "%7B%7Blabel%7D%7D"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"key": "Authorization", "value": "45c1a4b6-59d3-4a6e-86bf-88a872f35845", "system": true}, {"key": "User-Agent", "value": "PostmanRuntime/7.29.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "ec16fba2-875b-472f-9b82-8ca877c4c295", "system": true}, {"key": "Host", "value": "vrc.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": "f92fc37d-8f18-4d20-a077-779841c1958c", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:06 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "210dc6fb-fb94-41f6-a33e-fec8d72dd25d", "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": "14477722-e6d6-472b-a89d-02ebf41935b2", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "ed37c9c2-04d3-458d-a064-79ccde0f57f3"}, "item": {"id": "43970c49-09e7-43ef-beee-a3812e5a8f61", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "ad6dd1ea-8904-4875-bc9d-508507f84788", "name": "Request resource deleted", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b3b5fad5-6596-4492-bf8f-740975ede59b", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "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", " pm.expect(pm.response.code).to.be.oneOf([204,500]); //this should be deleted as soon as possible, just a quick hack to get things running\r", "});\r", ""], "_lastExecutionId": "8fbe14aa-b7ad-4bf4-b564-d41275fc9d77"}}]}, "request": {"url": {"protocol": "http", "path": ["requests", "%7B%7Brequest%7D%7D"], "host": ["vrc", "dev", "zuid-drecht", "nl"], "query": [], "variable": []}, "header": [{"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": "3b943238-676e-4af6-b8a0-e5c9770471dc", "system": true}, {"key": "Host", "value": "vrc.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": "48fa3d89-83e4-4a91-b568-fe18ca45afdb", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 24 May 2023 22:00:06 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "43970c49-09e7-43ef-beee-a3812e5a8f61", "assertions": [{"assertion": "response is ok", "skipped": false, "error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected 404 to be one of [ 204, 500 ]", "stack": "AssertionError: expected 404 to be one of [ 204, 500 ]\n at Object.eval sandbox-script.js:1:20)"}}]}], "transfers": {"responseTotal": 50760}, "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": "d9b36988-203a-4f58-9a50-51a6e5fe7d3a", "timestamp": 1684965604688, "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": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, "parent": {"id": "5486d1ec-7195-4acd-b8a9-fbe35372180e", "name": "requests", "item": [{"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b04aa1e4-5360-4c36-8dd1-90eba38e336f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "526d3b86-1d84-4893-b7d7-57f188c35798"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "77fcb0ed-3a15-4ba4-9041-35ac34d741c5", "httpRequestId": "d21e71c5-6a89-4ad7-b919-e346cafdeb2e", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "877d6da8-225e-482a-908b-1dae24a47ef3"}}, {"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": "1bcb9133-25a3-4b48-8ee9-4a1c783e227e", "timestamp": 1684965604694, "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": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, "parent": {"id": "5486d1ec-7195-4acd-b8a9-fbe35372180e", "name": "requests", "item": [{"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b04aa1e4-5360-4c36-8dd1-90eba38e336f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "526d3b86-1d84-4893-b7d7-57f188c35798"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "77fcb0ed-3a15-4ba4-9041-35ac34d741c5", "httpRequestId": "d21e71c5-6a89-4ad7-b919-e346cafdeb2e", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "877d6da8-225e-482a-908b-1dae24a47ef3"}}, {"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": "bccdcd6e-a4c1-443f-9af5-daf2cbcff7b2", "timestamp": 1684965604698, "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": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, "parent": {"id": "5486d1ec-7195-4acd-b8a9-fbe35372180e", "name": "requests", "item": [{"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b04aa1e4-5360-4c36-8dd1-90eba38e336f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "526d3b86-1d84-4893-b7d7-57f188c35798"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "77fcb0ed-3a15-4ba4-9041-35ac34d741c5", "httpRequestId": "d21e71c5-6a89-4ad7-b919-e346cafdeb2e", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "877d6da8-225e-482a-908b-1dae24a47ef3"}}, {"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": "e97d0126-3654-42c4-8794-892a5823a870", "timestamp": 1684965604824, "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": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}, "parent": {"id": "5486d1ec-7195-4acd-b8a9-fbe35372180e", "name": "requests", "item": [{"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b04aa1e4-5360-4c36-8dd1-90eba38e336f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "526d3b86-1d84-4893-b7d7-57f188c35798"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "af5fbf68-f3be-4426-aee6-6fe6fde3de34", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "edc49ce6-e6c1-4f65-9da7-25e53579c258", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}, {"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": "16813b3b-338f-40c3-8bb8-908e823cf494", "timestamp": 1684965604827, "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": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}, "parent": {"id": "5486d1ec-7195-4acd-b8a9-fbe35372180e", "name": "requests", "item": [{"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b04aa1e4-5360-4c36-8dd1-90eba38e336f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "526d3b86-1d84-4893-b7d7-57f188c35798"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "af5fbf68-f3be-4426-aee6-6fe6fde3de34", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "edc49ce6-e6c1-4f65-9da7-25e53579c258", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}, {"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": "33935355-7eaf-479b-a97a-a8dd9531ea0f", "timestamp": 1684965604859, "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": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}, "parent": {"id": "5486d1ec-7195-4acd-b8a9-fbe35372180e", "name": "requests", "item": [{"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b04aa1e4-5360-4c36-8dd1-90eba38e336f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "526d3b86-1d84-4893-b7d7-57f188c35798"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "af5fbf68-f3be-4426-aee6-6fe6fde3de34", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "edc49ce6-e6c1-4f65-9da7-25e53579c258", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:2)", "checksum": "a3901e66d8b784db140a10eaeec1c363", "id": "33a30fe6-5af6-44b0-a51f-ffa361299039", "timestamp": 1684965604861, "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": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}, "parent": {"id": "5486d1ec-7195-4acd-b8a9-fbe35372180e", "name": "requests", "item": [{"id": "af9df6c0-07d3-48f8-a82a-5e9d85f472ed", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "fd99f8bf-7644-4556-90cc-4011ee2a715b", "name": "Request collection response", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [{"key": "submitter", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "submitter[]", "value": "<string>"}, {"key": "reference", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "reference[]", "value": "<string>"}, {"key": "status", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "status[]", "value": "<string>"}, {"key": "requestType", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "requestType[]", "value": "<string>"}, {"key": "processType", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "processType[]", "value": "<string>"}, {"key": "organisations.rsin", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.rsin[]", "value": "<string>"}, {"key": "organisations.status", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "organisations.status[]", "value": "<string>"}, {"key": "submitters.organisation", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.organisation[]", "value": "<string>"}, {"key": "submitters.person", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.person[]", "value": "<string>"}, {"key": "submitters.contact", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "submitters.contact[]", "value": "<string>"}, {"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "877d6da8-225e-482a-908b-1dae24a47ef3"}}]}, {"id": "9a232861-004b-4829-90de-21a97f24bb64", "name": "Creates a Request resource.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/request_types/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/1802c00b-c3d9-46a5-848c-5846bca29345\",\r\n\t\"submitter\": \"999993653\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"primaryOrganization\": \r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t,\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"openCases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "4a58ce4d-e7ab-4695-a683-e04e9af187b4", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "5f89c79f-1090-447e-858c-371b75285be5", "name": "Request resource created", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "8574ad70-a1b3-481c-a832-86baffad6500", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "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(\"request\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b04aa1e4-5360-4c36-8dd1-90eba38e336f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "526d3b86-1d84-4893-b7d7-57f188c35798"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "af5fbf68-f3be-4426-aee6-6fe6fde3de34", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "edc49ce6-e6c1-4f65-9da7-25e53579c258", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "54ce1d95-99ed-474b-ae85-a96b61ff9e2c"}}, {"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": "dc244b26-db4c-427a-b041-af19d1411189", "timestamp": 1684965604936, "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": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, "parent": {"id": "36625b85-fb23-4393-a7c7-537d983e6891", "name": "requests/{id}", "item": [{"id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, {"id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "21b65afe-95dc-4a30-90e9-111de4eb43ca", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "aad43a4c-7901-4756-b1f6-03cd4f4bf21e", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}, {"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": "99de5a0e-c3c6-4510-986d-89dd304f72a1", "timestamp": 1684965604938, "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": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, "parent": {"id": "36625b85-fb23-4393-a7c7-537d983e6891", "name": "requests/{id}", "item": [{"id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, {"id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "21b65afe-95dc-4a30-90e9-111de4eb43ca", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "aad43a4c-7901-4756-b1f6-03cd4f4bf21e", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}, {"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": "0c82a110-f5d2-4288-b7bf-38198989fe2e", "timestamp": 1684965604940, "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": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, "parent": {"id": "36625b85-fb23-4393-a7c7-537d983e6891", "name": "requests/{id}", "item": [{"id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, {"id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "21b65afe-95dc-4a30-90e9-111de4eb43ca", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "aad43a4c-7901-4756-b1f6-03cd4f4bf21e", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}, {"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": "1728aff6-36f5-4718-b6db-bc643afd6351", "timestamp": 1684965605017, "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": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}, "parent": {"id": "36625b85-fb23-4393-a7c7-537d983e6891", "name": "requests/{id}", "item": [{"id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, {"id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2dc04e14-a7cc-4abc-872c-dda2aff7b8ef", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "dc350532-de20-4a43-89c8-bed19cbecfa9", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}, {"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": "8b409cc9-1713-425a-a6fb-1d5658c2d400", "timestamp": 1684965605019, "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": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}, "parent": {"id": "36625b85-fb23-4393-a7c7-537d983e6891", "name": "requests/{id}", "item": [{"id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, {"id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2dc04e14-a7cc-4abc-872c-dda2aff7b8ef", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "dc350532-de20-4a43-89c8-bed19cbecfa9", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}, {"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": "bb492aae-719f-4253-bafe-18e66ee75aaa", "timestamp": 1684965605021, "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": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}, "parent": {"id": "36625b85-fb23-4393-a7c7-537d983e6891", "name": "requests/{id}", "item": [{"id": "f3a55c9b-9296-4de5-8c92-e781c3d15092", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "70597d80-03cd-47e9-8552-a449fc842004", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "2b8dae8c-5f48-4361-9cf8-7d851f41c772", "name": "Request resource response", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d87cd37d-cc8c-482a-8b39-25e475e68642"}}]}, {"id": "9a1ef9f2-2c0a-4120-9f0d-fb8310faff42", "name": "Replaces the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"status\": \"incomplete\",\r\n\t\"requestType\": \"http://vtc.zaakonline.nl/9bd169ef-bc8c-4422-86ce-a0e7679ab67a\",\r\n\t\"organization\": \"http://wrc.dev.huwelijksplanner.online/organizations/68b64145-0740-46df-a65a-9d3259c2fec8\",\r\n\t\"submitter\": \"002851234\",\r\n\t\"submitters\": [\r\n\t\t{\r\n\t\t\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\t\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\t\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\"\r\n\t\t}\r\n\t],\r\n\t\"properties\": [ ],\r\n\t\"organizations\": [\r\n\t\t{\r\n\t\t\t\"rsin\": \"002851234\",\r\n\t\t\t\"status\": \"none\"\r\n\t\t}\r\n\t],\r\n\t\"open_cases\": [\r\n\t\t{\r\n\t\t\t\"open_case\": \"zrc.gemeente.nl/case/e2984465-190a-4562-829e-a8cca81aa35d\"\r\n\t\t}\r\n\t]\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "d2fbb4da-b5d6-4935-8cee-3240e9caa415", "name": "Request resource updated", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73c2ce7f-c8d7-49ad-b53f-441312b55273", "name": "Invalid input", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "64fe74be-5035-4e02-85ff-ae5a66660291", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2dc04e14-a7cc-4abc-872c-dda2aff7b8ef", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "dc350532-de20-4a43-89c8-bed19cbecfa9", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "ed55bd6f-106a-4b35-9b6b-944abf0b1662"}}, {"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": "d17f43fb-c0c6-4899-9183-47b6c1056750", "timestamp": 1684965605094, "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": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, "parent": {"id": "e5d48000-738e-48cf-ae16-1aef05b942ce", "name": "submitters", "item": [{"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0a8500e6-cfab-48fa-8a90-0f763bfd970f", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "5239b8c9-66d1-4191-a8cd-4eaa1bd5a4c0", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}, {"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": "abee4111-0c7f-4a39-8c9e-27cbe4ecf65e", "timestamp": 1684965605096, "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": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, "parent": {"id": "e5d48000-738e-48cf-ae16-1aef05b942ce", "name": "submitters", "item": [{"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0a8500e6-cfab-48fa-8a90-0f763bfd970f", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "5239b8c9-66d1-4191-a8cd-4eaa1bd5a4c0", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}, {"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": "650f3fe4-976e-4dc7-b219-9c7c90be70f2", "timestamp": 1684965605097, "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": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, "parent": {"id": "e5d48000-738e-48cf-ae16-1aef05b942ce", "name": "submitters", "item": [{"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0a8500e6-cfab-48fa-8a90-0f763bfd970f", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "5239b8c9-66d1-4191-a8cd-4eaa1bd5a4c0", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}, {"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": "bcd9191a-4fa9-4fbe-a043-e810f49c0821", "timestamp": 1684965605161, "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": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}, "parent": {"id": "e5d48000-738e-48cf-ae16-1aef05b942ce", "name": "submitters", "item": [{"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "25692244-7d6d-4174-b64c-43479019f15c", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "c27386db-a369-4a4b-9cbe-2d04b59423d5", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}, {"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": "d7c56a70-8637-4c4f-9c15-e3cd85dea756", "timestamp": 1684965605162, "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": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}, "parent": {"id": "e5d48000-738e-48cf-ae16-1aef05b942ce", "name": "submitters", "item": [{"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "25692244-7d6d-4174-b64c-43479019f15c", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "c27386db-a369-4a4b-9cbe-2d04b59423d5", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}, {"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": "92ad4748-6092-49b6-87f1-97d7fc1c6094", "timestamp": 1684965605175, "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": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}, "parent": {"id": "e5d48000-738e-48cf-ae16-1aef05b942ce", "name": "submitters", "item": [{"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "25692244-7d6d-4174-b64c-43479019f15c", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "c27386db-a369-4a4b-9cbe-2d04b59423d5", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:6)", "checksum": "c810f242b19c9a39b10c9aae0c67e844", "id": "f25d0af7-6be8-4d75-b8f9-f4971b6a34a7", "timestamp": 1684965605177, "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": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}, "parent": {"id": "e5d48000-738e-48cf-ae16-1aef05b942ce", "name": "submitters", "item": [{"id": "2abf64a2-76bd-4432-94fd-42f81921e859", "name": "Retrieves the collection of Submitter resources.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "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": "4f6a01b0-6dde-45df-b43a-eb39c893b4a9", "name": "Submitter collection response", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [{"key": "page", "value": "<integer>"}], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "type": "text/javascript", "exec": [" //example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "282d1878-d356-4fa8-afea-aecba63e5fa8"}}]}, {"id": "cfe811d4-3369-4fe9-a37a-4a551e34b7d5", "name": "Creates a Submitter resource.", "request": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "75c5f6a7-e77a-43ed-b1ed-a9e7d9526baa", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c74697cf-e446-41c0-910d-6fa344c1dc1a", "name": "Submitter resource created", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "2d9c1ce4-eb75-47e2-832f-a9aa4070efe2", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "POST", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "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", " pm.environment.set(\"id\", jsonData.id);\r", "});\r", ""], "_lastExecutionId": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "25692244-7d6d-4174-b64c-43479019f15c", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "c27386db-a369-4a4b-9cbe-2d04b59423d5", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "1bf98293-b1f9-45f2-9c11-b898d7ecef87"}}, {"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": "bbb43491-7a2a-4d00-a506-7ff81f815bd5", "timestamp": 1684965605249, "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": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, "parent": {"id": "28e41769-73a8-4c01-a677-268632f459c9", "name": "submitters/{id}", "item": [{"id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, {"id": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "87930c4c-b0fa-4c6d-9a9d-0dbdcc0b61e9", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "fc0db5f6-ad6a-4456-a982-9710850b038e", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}, {"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": "ab56e1a9-549f-46f6-922a-b735b695210a", "timestamp": 1684965605251, "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": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, "parent": {"id": "28e41769-73a8-4c01-a677-268632f459c9", "name": "submitters/{id}", "item": [{"id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, {"id": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "87930c4c-b0fa-4c6d-9a9d-0dbdcc0b61e9", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "fc0db5f6-ad6a-4456-a982-9710850b038e", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}, {"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": "c87d6c6a-9e75-4147-b5ee-3bfc88730b45", "timestamp": 1684965605252, "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": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, "parent": {"id": "28e41769-73a8-4c01-a677-268632f459c9", "name": "submitters/{id}", "item": [{"id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, {"id": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "87930c4c-b0fa-4c6d-9a9d-0dbdcc0b61e9", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "fc0db5f6-ad6a-4456-a982-9710850b038e", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}, {"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": "09061bf7-b294-41f6-aeeb-9093a47b4946", "timestamp": 1684965605312, "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": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}, "parent": {"id": "28e41769-73a8-4c01-a677-268632f459c9", "name": "submitters/{id}", "item": [{"id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, {"id": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8f43cebe-d189-459d-8e90-ee18c921935e", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "63005a0d-ad03-412c-b7e5-80a085dce454", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}, {"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": "b96de95b-ebd1-43ab-b642-bf068e980961", "timestamp": 1684965605313, "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": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}, "parent": {"id": "28e41769-73a8-4c01-a677-268632f459c9", "name": "submitters/{id}", "item": [{"id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, {"id": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8f43cebe-d189-459d-8e90-ee18c921935e", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "63005a0d-ad03-412c-b7e5-80a085dce454", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}, {"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": "27a9eb7b-b3d7-4130-8d62-91d718f0720a", "timestamp": 1684965605315, "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": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}, "parent": {"id": "28e41769-73a8-4c01-a677-268632f459c9", "name": "submitters/{id}", "item": [{"id": "959afa0d-a52b-4d3e-aaf8-bad11067e437", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "ca9b258a-08e9-4be2-b9c3-0d7fbb60ea7d", "name": "Submitter resource response", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b8d1bab6-5d12-465a-b4cf-f25b0a9e2c59", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "5be2ba09-7946-467f-ba1e-55b5bb3ffe2e"}}]}, {"id": "562fd9c5-7507-4744-8c12-0ddb60207678", "name": "Replaces the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "{\r\n\t\"assent\": \"https://irc.zaakonline.nl/assent/e2984465-190a-4562-829e-a8cca81aa35d\",\r\n\t\"brp\": \"https://brp.zaakonline.nl/ingeschrevenpersonen/999993653\",\r\n\t\"person\": \"https://cc.zaakonline.nl/people/a67a98ce-b11e-4ed3-bb78-ed5792592ffc\",\r\n\t\"request\": \"/requests/{{request}}\"\r\n}"}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "92e162b2-74c7-4cf2-9d16-736991d1f8b1", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e182c4fb-b23b-450c-8041-977275d556e4", "name": "Invalid input", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "c500be7a-1dca-408b-99df-e129508c194e", "name": "Submitter resource updated", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"key": "Content-Type", "value": "application/json"}], "method": "PUT", "body": {"mode": "raw", "raw": "null"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/hal+json"}], "body": "null", "cookie": []}], "event": [{"listen": "test", "script": {"id": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8f43cebe-d189-459d-8e90-ee18c921935e", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "63005a0d-ad03-412c-b7e5-80a085dce454", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "2ec6f8e1-590e-45ff-87e9-6d6f6bdd7064"}}, {"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": "5fdbfc56-063a-443f-967e-214b0b355bdb", "timestamp": 1684965605415, "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": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, "parent": {"id": "f0540fc4-46ad-47b3-b4cf-93921c8e3540", "name": "labels", "item": [{"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3411344c-79c7-4598-9421-7949cee99166", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "1549fc4e-eed8-4567-8dea-41fd4be3aa60", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}, {"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": "87da78f7-d7a1-4b30-81ac-602af39f87ef", "timestamp": 1684965605417, "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": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, "parent": {"id": "f0540fc4-46ad-47b3-b4cf-93921c8e3540", "name": "labels", "item": [{"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3411344c-79c7-4598-9421-7949cee99166", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "1549fc4e-eed8-4567-8dea-41fd4be3aa60", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}, {"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": "0c494ee7-7d80-458a-b05b-fbcce019693b", "timestamp": 1684965605419, "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": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, "parent": {"id": "f0540fc4-46ad-47b3-b4cf-93921c8e3540", "name": "labels", "item": [{"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3411344c-79c7-4598-9421-7949cee99166", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "1549fc4e-eed8-4567-8dea-41fd4be3aa60", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}, {"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": "b5ec927b-6232-47e9-bace-23d4398e17a6", "timestamp": 1684965605533, "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": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}, "parent": {"id": "f0540fc4-46ad-47b3-b4cf-93921c8e3540", "name": "labels", "item": [{"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ca16a849-ad50-48eb-8bd9-c84cac73f6d0", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "0ebe6225-7595-43ed-afca-af3ee47ae3b4", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "47ada538-f83a-4383-b958-61b64254ffbb"}}, {"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": "23c74544-1b68-40e7-8f60-edc662b451d6", "timestamp": 1684965605535, "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": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}, "parent": {"id": "f0540fc4-46ad-47b3-b4cf-93921c8e3540", "name": "labels", "item": [{"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ca16a849-ad50-48eb-8bd9-c84cac73f6d0", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "0ebe6225-7595-43ed-afca-af3ee47ae3b4", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "47ada538-f83a-4383-b958-61b64254ffbb"}}, {"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": "d99b5b4d-87bc-48a3-9a67-1c3f328b2ba7", "timestamp": 1684965605556, "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": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}, "parent": {"id": "f0540fc4-46ad-47b3-b4cf-93921c8e3540", "name": "labels", "item": [{"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ca16a849-ad50-48eb-8bd9-c84cac73f6d0", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "0ebe6225-7595-43ed-afca-af3ee47ae3b4", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "47ada538-f83a-4383-b958-61b64254ffbb"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:10)", "checksum": "787e557edef5f4e6f43ef7fa10e5ef0a", "id": "3fe6cba2-56ec-4db4-80a0-6004f24823c8", "timestamp": 1684965605558, "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": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}, "parent": {"id": "f0540fc4-46ad-47b3-b4cf-93921c8e3540", "name": "labels", "item": [{"id": "c4f34194-0586-4f9a-b1f3-1736d1a465fb", "name": "Retrieves the collection of Label resources.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "0a8a26ad-8606-4a9d-a2f4-4704a5c0b6da", "name": "Label collection response", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[name]", "value": "<string>"}, {"key": "order[description]", "value": "<string>"}, {"key": "order[color]", "value": "<string>"}, {"key": "order[icon]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "id", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "id[]", "value": "<string>"}, {"key": "name", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "name[]", "value": "<string>"}, {"key": "description", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "description[]", "value": "<string>"}, {"key": "color", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "color[]", "value": "<string>"}, {"key": "icon", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "icon[]", "value": "<string>"}, {"key": "dateCreated", "value": "<string>"}, {"key": "dateCreated[]", "value": "<string>"}, {"key": "dateModified", "value": "<string>"}, {"key": "dateModified[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "2371d2ac-7143-4893-b41d-5da9206c9474", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "67e7aaac-5a9c-4bd3-a463-d3a3f6d41b59"}}]}, {"id": "b00a786f-b502-43bc-8e7e-adb7bdadf207", "name": "Creates a Label resource.", "request": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "b56f71e8-1d6d-4ed5-b791-eb95af0c282e", "name": "Label resource created", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7a2ec90a-c53c-4cbc-ad15-19ec6e38b4a0", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e58cdb8b-79e5-436d-ae32-82615e854b5c", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "590b06f2-f8a7-4340-8e72-6caa188a5060", "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(\"label\", jsonData.id);\r", "});"], "_lastExecutionId": "47ada538-f83a-4383-b958-61b64254ffbb"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ca16a849-ad50-48eb-8bd9-c84cac73f6d0", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "0ebe6225-7595-43ed-afca-af3ee47ae3b4", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "47ada538-f83a-4383-b958-61b64254ffbb"}}, {"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": "a7bad907-3999-4747-b5f7-3656b992e4ed", "timestamp": 1684965605688, "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": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, "parent": {"id": "4b7ceb53-ff9f-41fa-928d-72f3eb011544", "name": "labels/{id}", "item": [{"id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, {"id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "edbd2c96-c807-42a5-8088-3c3190cf3d98", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "c5f2a035-30bd-4b4d-9f71-748b061cad65", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "f65f113e-2486-452a-8d88-a30ef06b3207"}}, {"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": "7dc22b51-0b7a-4dc7-903a-ea7377b9ee20", "timestamp": 1684965605689, "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": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, "parent": {"id": "4b7ceb53-ff9f-41fa-928d-72f3eb011544", "name": "labels/{id}", "item": [{"id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, {"id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "edbd2c96-c807-42a5-8088-3c3190cf3d98", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "c5f2a035-30bd-4b4d-9f71-748b061cad65", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "f65f113e-2486-452a-8d88-a30ef06b3207"}}, {"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": "65035de3-e207-40a3-84cc-d22e78f23086", "timestamp": 1684965605692, "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": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, "parent": {"id": "4b7ceb53-ff9f-41fa-928d-72f3eb011544", "name": "labels/{id}", "item": [{"id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, {"id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "edbd2c96-c807-42a5-8088-3c3190cf3d98", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "c5f2a035-30bd-4b4d-9f71-748b061cad65", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "f65f113e-2486-452a-8d88-a30ef06b3207"}}, {"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": "88e5e1c0-9a79-4e98-8c9d-1df7a17e4e17", "timestamp": 1684965605790, "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": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}, "parent": {"id": "4b7ceb53-ff9f-41fa-928d-72f3eb011544", "name": "labels/{id}", "item": [{"id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, {"id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d3756a40-4946-4213-9153-b84f84aac33c", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "4d7e0f8f-de32-42d6-a9a6-11b7001704d7", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}, {"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": "60e24957-92ae-4c0e-a06e-fc501b35cccd", "timestamp": 1684965605792, "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": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}, "parent": {"id": "4b7ceb53-ff9f-41fa-928d-72f3eb011544", "name": "labels/{id}", "item": [{"id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, {"id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d3756a40-4946-4213-9153-b84f84aac33c", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "4d7e0f8f-de32-42d6-a9a6-11b7001704d7", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}, {"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": "09ac0bd9-e620-493b-8708-77a3522ced90", "timestamp": 1684965605794, "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": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}, "parent": {"id": "4b7ceb53-ff9f-41fa-928d-72f3eb011544", "name": "labels/{id}", "item": [{"id": "8ad3bc56-8e97-4a2f-9a4b-edbcc0b100eb", "name": "Retrieves a Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "6f840428-7cce-4073-9dff-e1f518337b3f", "name": "Label resource response", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7b0b8408-ba5a-4e84-981f-6152a7d0c41a", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "421d9238-7c55-4e4a-92da-58a8dfddff82", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "f65f113e-2486-452a-8d88-a30ef06b3207"}}]}, {"id": "4b483eb7-9a0f-4971-bbfe-f011c3699338", "name": "Replaces the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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\": \"Label\",\n \"description\": \"label description\",\n \"color\": \"red\",\n \"icon\": \"url of icon\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "76a61529-6624-44ba-99f2-5d89e2c5568e", "name": "Invalid input", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "e2300578-d09f-4040-a9f3-e681308f7e79", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "4643b1bf-a286-408e-aaac-655f75ec774e", "name": "Label resource updated", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n }\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d3756a40-4946-4213-9153-b84f84aac33c", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "4d7e0f8f-de32-42d6-a9a6-11b7001704d7", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "1998a8eb-d194-422f-9a9f-11acd2dc36fa"}}, {"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": "1880b019-c7a2-437c-884b-892e672580bf", "timestamp": 1684965605890, "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": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, "parent": {"id": "b68fa2e6-c624-4111-94db-aa8b2d71990e", "name": "roles", "item": [{"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ff84722d-17d2-4f34-8bdd-5aa9673ba4bf", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "cdda95ab-c399-4131-9450-a361d3a4c798", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "df382886-33b8-471a-b62f-39312bb16c81"}}, {"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": "2a777f24-0f24-4dbe-8853-719ce391028e", "timestamp": 1684965605892, "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": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, "parent": {"id": "b68fa2e6-c624-4111-94db-aa8b2d71990e", "name": "roles", "item": [{"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ff84722d-17d2-4f34-8bdd-5aa9673ba4bf", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "cdda95ab-c399-4131-9450-a361d3a4c798", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "df382886-33b8-471a-b62f-39312bb16c81"}}, {"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": "38b98b06-f8c2-4cd9-b4ae-57271a94bef5", "timestamp": 1684965605894, "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": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, "parent": {"id": "b68fa2e6-c624-4111-94db-aa8b2d71990e", "name": "roles", "item": [{"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ff84722d-17d2-4f34-8bdd-5aa9673ba4bf", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "cdda95ab-c399-4131-9450-a361d3a4c798", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "df382886-33b8-471a-b62f-39312bb16c81"}}, {"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": "5e216e92-63b3-4e0e-8c29-12c2137a117e", "timestamp": 1684965605988, "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": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}, "parent": {"id": "b68fa2e6-c624-4111-94db-aa8b2d71990e", "name": "roles", "item": [{"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b9b21a0c-9dd6-454b-9fdc-d7767a6764f9", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "7a6ba3be-182b-4cd0-8e8a-273b0fac6d71", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}, {"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": "65b0783f-ba34-4517-bc54-a459a28e6207", "timestamp": 1684965605990, "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": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}, "parent": {"id": "b68fa2e6-c624-4111-94db-aa8b2d71990e", "name": "roles", "item": [{"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b9b21a0c-9dd6-454b-9fdc-d7767a6764f9", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "7a6ba3be-182b-4cd0-8e8a-273b0fac6d71", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}, {"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": "606372f2-5b73-465c-a286-a16a95410669", "timestamp": 1684965606006, "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": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}, "parent": {"id": "b68fa2e6-c624-4111-94db-aa8b2d71990e", "name": "roles", "item": [{"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b9b21a0c-9dd6-454b-9fdc-d7767a6764f9", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "7a6ba3be-182b-4cd0-8e8a-273b0fac6d71", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}, {"error": {"name": "JSONError", "index": 3, "test": "Set ID", "message": "Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^", "stack": "JSONError: Unexpected token '<' at 1:1\n<!DOCTYPE html>\n^\n at Object.eval sandbox-script.js:4:14)", "checksum": "17864ec10614293f7a6ba82859aa0a6a", "id": "e8654848-8e6b-4935-87a6-32b2e70f75d6", "timestamp": 1684965606007, "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": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}, "parent": {"id": "b68fa2e6-c624-4111-94db-aa8b2d71990e", "name": "roles", "item": [{"id": "46307210-e25e-4992-86aa-45371dd66de4", "name": "Retrieves the collection of Role resources.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "47af7488-d846-4ff4-8aaf-b5c340449514", "name": "Role collection response", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [{"key": "order[id]", "value": "<string>"}, {"key": "order[rolType]", "value": "<string>"}, {"key": "order[participant]", "value": "<string>"}, {"key": "order[participantType]", "value": "<string>"}, {"key": "order[dateCreated]", "value": "<string>"}, {"key": "order[dateModified]", "value": "<string>"}, {"key": "dateCreated[before]", "value": "<string>"}, {"key": "dateCreated[strictly_before]", "value": "<string>"}, {"key": "dateCreated[after]", "value": "<string>"}, {"key": "dateCreated[strictly_after]", "value": "<string>"}, {"key": "dateModified[before]", "value": "<string>"}, {"key": "dateModified[strictly_before]", "value": "<string>"}, {"key": "dateModified[after]", "value": "<string>"}, {"key": "dateModified[strictly_after]", "value": "<string>"}, {"key": "rolType", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "rolType[]", "value": "<string>"}, {"key": "request", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "request[]", "value": "<string>"}, {"key": "page", "value": "1"}, {"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"hydra:member\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"hydra:totalItems\": \"<integer>\",\n \"hydra:view\": {\n \"@id\": \"<iri-reference>\",\n \"@type\": \"<string>\",\n \"hydra:first\": \"<iri-reference>\",\n \"hydra:last\": \"<iri-reference>\",\n \"hydra:next\": \"<iri-reference>\"\n },\n \"hydra:search\": {\n \"@type\": \"<string>\",\n \"hydra:template\": \"<string>\",\n \"hydra:variableRepresentation\": \"<string>\",\n \"hydra:mapping\": [\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n },\n {\n \"@type\": \"<string>\",\n \"variable\": \"<string>\",\n \"property\": \"<string>\",\n \"required\": \"<boolean>\"\n }\n ]\n }\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "df382886-33b8-471a-b62f-39312bb16c81"}}]}, {"id": "7b2361ca-1f28-4b68-b80e-988da0db01bb", "name": "Creates a Role resource.", "request": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0ba7f20f-f998-499a-81f0-b483768fc772", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "json"}, "id": "b2f367d6-1a33-4d29-9c9a-d91a732f278b", "name": "Role resource created", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Created", "code": 201, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "73b932ee-34fb-43bf-ac7b-70127bebc9e1", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "POST", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "21f31a03-179d-4598-83e7-cbeb547bcc81", "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(\"role\", jsonData.id);\r", "});"], "_lastExecutionId": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b9b21a0c-9dd6-454b-9fdc-d7767a6764f9", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "7a6ba3be-182b-4cd0-8e8a-273b0fac6d71", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "6b8aa41e-f06e-409e-a62b-757bc596c534"}}, {"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": "85f61c5b-2620-4f8f-ba97-14f4efe136d2", "timestamp": 1684965606073, "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": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, "parent": {"id": "0565a25a-4bc0-462f-a629-544cad2400f8", "name": "roles/{id}", "item": [{"id": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, {"id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "50a90d85-ebd4-42af-9fec-89117c3e3e58", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "8857b2db-ff32-405b-a436-db78358ce111", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}, {"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": "b47dd9c4-12ed-4fb9-85ba-d64b51d7a90e", "timestamp": 1684965606075, "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": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, "parent": {"id": "0565a25a-4bc0-462f-a629-544cad2400f8", "name": "roles/{id}", "item": [{"id": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, {"id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "50a90d85-ebd4-42af-9fec-89117c3e3e58", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "8857b2db-ff32-405b-a436-db78358ce111", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}, {"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": "0c31ee9a-37d4-4727-b2fd-b4fe3c4bb750", "timestamp": 1684965606077, "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": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, "parent": {"id": "0565a25a-4bc0-462f-a629-544cad2400f8", "name": "roles/{id}", "item": [{"id": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, {"id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "50a90d85-ebd4-42af-9fec-89117c3e3e58", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "8857b2db-ff32-405b-a436-db78358ce111", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}, {"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": "d60c110e-c5d0-4a91-86a4-6feee4721017", "timestamp": 1684965606203, "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": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}, "parent": {"id": "0565a25a-4bc0-462f-a629-544cad2400f8", "name": "roles/{id}", "item": [{"id": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, {"id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "34fbed78-55bd-4d05-ac34-e9b0a9000a74", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "86ec8521-4eb6-4c05-af2d-72aa0d5c8def", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}, {"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": "79784de7-cbe7-4aef-9530-7bc74551f7f3", "timestamp": 1684965606205, "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": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}, "parent": {"id": "0565a25a-4bc0-462f-a629-544cad2400f8", "name": "roles/{id}", "item": [{"id": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, {"id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "34fbed78-55bd-4d05-ac34-e9b0a9000a74", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "86ec8521-4eb6-4c05-af2d-72aa0d5c8def", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}, {"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": "0d7ec3d5-330a-40c5-a65d-18882da54491", "timestamp": 1684965606208, "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": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}, "parent": {"id": "0565a25a-4bc0-462f-a629-544cad2400f8", "name": "roles/{id}", "item": [{"id": "de5331d0-2b06-4477-a83d-1173e226b743", "name": "Retrieves a Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](https://www.w3.org/TR/websub/#discovery) header like <https://hub.example.com/>; rel=\"hub\"", "type": "text/plain"}, "key": "Link", "value": ""}], "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "f2b5b613-ed3e-410c-90f8-09418bbb8a16", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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": "3efc04fb-12fa-4c1b-8f09-8db01d9918ad", "name": "Role resource response", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [{"key": "extend[]", "value": "<array>"}, {"key": "fields[]", "value": "<array>"}, {"key": "validOn", "value": "<dateTime>"}, {"key": "validFrom", "value": "<dateTime>"}, {"key": "validUntil", "value": "<dateTime>"}], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}, {"description": {"content": "A [websub](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 \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}], "event": [{"listen": "test", "script": {"id": "be574d7b-03af-49df-b14c-748672e96850", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "d4ee7bbb-18ff-46e6-8c8d-104ca4ff0f6e"}}]}, {"id": "27851a72-6705-42db-9ed1-1d488b7f49dc", "name": "Replaces the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as 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 \"participant\": \"https://www.example.com/\",\n \"rolType\": \"initiator\",\n \"participantType\": \"Natuurlijk persoon\",\n\t\"request\": \"/requests/{{request}}\"\n}", "options": {"raw": {}}}}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "e40eacda-4a6c-421f-acc0-bc67a76c50af", "name": "Role resource updated", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "OK", "code": 200, "header": [{"key": "Content-Type", "value": "application/ld+json"}], "body": "{\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"dateSubmitted\": \"<dateTime>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"reference\": \"<string>\",\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Label:jsonld-read detected>\"\n }\n ],\n \"dateSubmitted\": \"<dateTime>\",\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n {\n \"participant\": \"<string>\",\n \"@context\": \"<string>\",\n \"@id\": \"<string>\",\n \"@type\": \"<string>\",\n \"id\": \"<uuid>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request:jsonld-read detected>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n }\n ],\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n },\n \"participantType\": \"<string>\",\n \"dateCreated\": \"<dateTime>\",\n \"dateModified\": \"<dateTime>\"\n}", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "92a4bf61-5098-40e8-b23b-ea852d4f903d", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "35ebada4-db13-4c1d-bcc5-e99bcd2398bb", "name": "Invalid input", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "PUT", "body": {"mode": "raw", "raw": "{\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"organization\": \"<string>\",\n \"requestType\": \"<string>\",\n \"submitters\": [\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"assent\": \"<string>\",\n \"brp\": \"<string>\",\n \"person\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"status\": \"<string>\",\n \"processType\": \"<string>\",\n \"properties\": [\n \"<string>\",\n \"<string>\"\n ],\n \"cases\": [\n \"<string>\",\n \"<string>\"\n ],\n \"processes\": [\n \"<string>\",\n \"<string>\"\n ],\n \"parent\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"children\": [\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n ],\n \"confidential\": \"<boolean>\",\n \"currentStage\": \"<string>\",\n \"labels\": [\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n },\n {\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"color\": \"<string>\",\n \"icon\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n }\n }\n ],\n \"roles\": [\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n },\n {\n \"participant\": \"<string>\",\n \"rolType\": \"<string>\",\n \"request\": {\n \"value\": \"<Circular reference to #/components/schemas/Request-write detected>\"\n },\n \"participantType\": \"<string>\"\n }\n ]\n },\n \"participantType\": \"<string>\"\n}"}}, "status": "Bad Request", "code": 400, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "type": "text/javascript", "exec": ["// example using pm.response.to.have\r", "pm.test(\"response is ok\", function () {\r", " pm.response.to.have.status(200);\r", "});\r", "\r", "// example using response assertions\r", "pm.test(\"response should be okay to process\", function () {\r", " pm.response.to.not.be.error;\r", " pm.response.to.not.have.jsonBody(\"error\");\r", "});\r", "\r", "// example using pm.response.to.be*\r", "pm.test(\"response must be valid and have a body\", function () {\r", " // assert that the status code is 200\r", " pm.response.to.be.ok; // info, success, redirection, clientError, serverError, are other variants\r", " // assert that the response has a valid JSON body\r", " pm.response.to.be.withBody;\r", " pm.response.to.be.json; // this assertion also checks if a body exists, so the above check is not needed\r", "});"], "_lastExecutionId": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "34fbed78-55bd-4d05-ac34-e9b0a9000a74", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "86ec8521-4eb6-4c05-af2d-72aa0d5c8def", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "eeedadca-9343-4f9e-9adc-9a2c2f99a332"}}, {"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": "4f278403-7b1d-4fc2-9baf-bdd46fe589c5", "timestamp": 1684965606293, "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": "1e87fcfd-fd00-40a3-adc4-c95399a4e10f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "28a0b25b-d27b-4444-8f61-5a6498547f4b", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "4e1c0754-fdf9-4f41-810b-58f819afdf24", "name": "Submitter resource deleted", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "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": "dd58afcd-25d9-45ba-aa0e-7f47180b408b"}}]}, "parent": {"id": "27a807d5-e4ab-4e84-bd9e-2c79fdd7d7fa", "name": "Clear up", "item": [{"id": "1e87fcfd-fd00-40a3-adc4-c95399a4e10f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "28a0b25b-d27b-4444-8f61-5a6498547f4b", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "4e1c0754-fdf9-4f41-810b-58f819afdf24", "name": "Submitter resource deleted", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "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": "dd58afcd-25d9-45ba-aa0e-7f47180b408b"}}]}, {"id": "d00aa3aa-4a67-47fb-8a74-e2f4bc85d1ad", "name": "Removes the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "c2a01b8c-1dfd-4615-b865-788c20c084ee", "name": "Role resource deleted", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "277cd7b3-f5f7-4c39-bdea-61984c741c52", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "61d37bcf-e148-4345-bef7-7dfb628bc585", "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": "4d29ba71-73d1-4ba3-9cb3-12b0bc4fdb77"}}]}, {"id": "210dc6fb-fb94-41f6-a33e-fec8d72dd25d", "name": "Removes the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "afcdcb51-db40-4a81-855e-5a943cc99a24", "name": "Label resource deleted", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7ac3df42-547b-438c-9812-04ccf20f5e35", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "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": "52f828da-894e-4567-af8d-fdc0b161143b"}}]}, {"id": "43970c49-09e7-43ef-beee-a3812e5a8f61", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "ad6dd1ea-8904-4875-bc9d-508507f84788", "name": "Request resource deleted", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b3b5fad5-6596-4492-bf8f-740975ede59b", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "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", " pm.expect(pm.response.code).to.be.oneOf([204,500]); //this should be deleted as soon as possible, just a quick hack to get things running\r", "});\r", ""], "_lastExecutionId": "8fbe14aa-b7ad-4bf4-b564-d41275fc9d77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "843e69c2-ff73-4555-bc48-5aa621a2a25e", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "5c79a816-0bbf-4217-a4f9-ab66a64a2242", "scriptId": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "execution": "dd58afcd-25d9-45ba-aa0e-7f47180b408b"}}, {"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": "f09b27b6-f646-4fd9-b419-2af4d4f363dc", "timestamp": 1684965606372, "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": "d00aa3aa-4a67-47fb-8a74-e2f4bc85d1ad", "name": "Removes the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "c2a01b8c-1dfd-4615-b865-788c20c084ee", "name": "Role resource deleted", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "277cd7b3-f5f7-4c39-bdea-61984c741c52", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "61d37bcf-e148-4345-bef7-7dfb628bc585", "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": "4d29ba71-73d1-4ba3-9cb3-12b0bc4fdb77"}}]}, "parent": {"id": "27a807d5-e4ab-4e84-bd9e-2c79fdd7d7fa", "name": "Clear up", "item": [{"id": "1e87fcfd-fd00-40a3-adc4-c95399a4e10f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "28a0b25b-d27b-4444-8f61-5a6498547f4b", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "4e1c0754-fdf9-4f41-810b-58f819afdf24", "name": "Submitter resource deleted", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "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": "dd58afcd-25d9-45ba-aa0e-7f47180b408b"}}]}, {"id": "d00aa3aa-4a67-47fb-8a74-e2f4bc85d1ad", "name": "Removes the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "c2a01b8c-1dfd-4615-b865-788c20c084ee", "name": "Role resource deleted", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "277cd7b3-f5f7-4c39-bdea-61984c741c52", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "61d37bcf-e148-4345-bef7-7dfb628bc585", "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": "4d29ba71-73d1-4ba3-9cb3-12b0bc4fdb77"}}]}, {"id": "210dc6fb-fb94-41f6-a33e-fec8d72dd25d", "name": "Removes the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "afcdcb51-db40-4a81-855e-5a943cc99a24", "name": "Label resource deleted", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7ac3df42-547b-438c-9812-04ccf20f5e35", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "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": "52f828da-894e-4567-af8d-fdc0b161143b"}}]}, {"id": "43970c49-09e7-43ef-beee-a3812e5a8f61", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "ad6dd1ea-8904-4875-bc9d-508507f84788", "name": "Request resource deleted", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b3b5fad5-6596-4492-bf8f-740975ede59b", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "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", " pm.expect(pm.response.code).to.be.oneOf([204,500]); //this should be deleted as soon as possible, just a quick hack to get things running\r", "});\r", ""], "_lastExecutionId": "8fbe14aa-b7ad-4bf4-b564-d41275fc9d77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ba4d6a40-75e0-41a4-aefb-bfaac3242639", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "13c9b9c6-f55f-4cdd-b3eb-07f29920a38e", "scriptId": "61d37bcf-e148-4345-bef7-7dfb628bc585", "execution": "4d29ba71-73d1-4ba3-9cb3-12b0bc4fdb77"}}, {"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": "83857c01-3e68-4a92-ad3b-a22de73f7697", "timestamp": 1684965606454, "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": "210dc6fb-fb94-41f6-a33e-fec8d72dd25d", "name": "Removes the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "afcdcb51-db40-4a81-855e-5a943cc99a24", "name": "Label resource deleted", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7ac3df42-547b-438c-9812-04ccf20f5e35", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "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": "52f828da-894e-4567-af8d-fdc0b161143b"}}]}, "parent": {"id": "27a807d5-e4ab-4e84-bd9e-2c79fdd7d7fa", "name": "Clear up", "item": [{"id": "1e87fcfd-fd00-40a3-adc4-c95399a4e10f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "28a0b25b-d27b-4444-8f61-5a6498547f4b", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "4e1c0754-fdf9-4f41-810b-58f819afdf24", "name": "Submitter resource deleted", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "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": "dd58afcd-25d9-45ba-aa0e-7f47180b408b"}}]}, {"id": "d00aa3aa-4a67-47fb-8a74-e2f4bc85d1ad", "name": "Removes the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "c2a01b8c-1dfd-4615-b865-788c20c084ee", "name": "Role resource deleted", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "277cd7b3-f5f7-4c39-bdea-61984c741c52", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "61d37bcf-e148-4345-bef7-7dfb628bc585", "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": "4d29ba71-73d1-4ba3-9cb3-12b0bc4fdb77"}}]}, {"id": "210dc6fb-fb94-41f6-a33e-fec8d72dd25d", "name": "Removes the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "afcdcb51-db40-4a81-855e-5a943cc99a24", "name": "Label resource deleted", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7ac3df42-547b-438c-9812-04ccf20f5e35", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "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": "52f828da-894e-4567-af8d-fdc0b161143b"}}]}, {"id": "43970c49-09e7-43ef-beee-a3812e5a8f61", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "ad6dd1ea-8904-4875-bc9d-508507f84788", "name": "Request resource deleted", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b3b5fad5-6596-4492-bf8f-740975ede59b", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "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", " pm.expect(pm.response.code).to.be.oneOf([204,500]); //this should be deleted as soon as possible, just a quick hack to get things running\r", "});\r", ""], "_lastExecutionId": "8fbe14aa-b7ad-4bf4-b564-d41275fc9d77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "79d068e7-1837-471e-b261-dd07165b9dfe", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "be1a422d-a80c-462c-9925-d14e2ca125e5", "scriptId": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "execution": "52f828da-894e-4567-af8d-fdc0b161143b"}}, {"error": {"name": "AssertionError", "index": 0, "test": "response is ok", "message": "expected 404 to be one of [ 204, 500 ]", "stack": "AssertionError: expected 404 to be one of [ 204, 500 ]\n at Object.eval sandbox-script.js:1:20)", "checksum": "2380c55a02572bc76ef35c4ef891980b", "id": "a7736e30-6517-40ea-96da-e6153c37f7c3", "timestamp": 1684965606522, "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": "43970c49-09e7-43ef-beee-a3812e5a8f61", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "ad6dd1ea-8904-4875-bc9d-508507f84788", "name": "Request resource deleted", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b3b5fad5-6596-4492-bf8f-740975ede59b", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "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", " pm.expect(pm.response.code).to.be.oneOf([204,500]); //this should be deleted as soon as possible, just a quick hack to get things running\r", "});\r", ""], "_lastExecutionId": "8fbe14aa-b7ad-4bf4-b564-d41275fc9d77"}}]}, "parent": {"id": "27a807d5-e4ab-4e84-bd9e-2c79fdd7d7fa", "name": "Clear up", "item": [{"id": "1e87fcfd-fd00-40a3-adc4-c95399a4e10f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "28a0b25b-d27b-4444-8f61-5a6498547f4b", "name": "Resource not found", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "4e1c0754-fdf9-4f41-810b-58f819afdf24", "name": "Submitter resource deleted", "originalRequest": {"url": {"path": ["submitters", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "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": "dd58afcd-25d9-45ba-aa0e-7f47180b408b"}}]}, {"id": "d00aa3aa-4a67-47fb-8a74-e2f4bc85d1ad", "name": "Removes the Role resource.", "request": {"url": {"path": ["roles", "{{role}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "c2a01b8c-1dfd-4615-b865-788c20c084ee", "name": "Role resource deleted", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "277cd7b3-f5f7-4c39-bdea-61984c741c52", "name": "Resource not found", "originalRequest": {"url": {"path": ["roles", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "61d37bcf-e148-4345-bef7-7dfb628bc585", "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": "4d29ba71-73d1-4ba3-9cb3-12b0bc4fdb77"}}]}, {"id": "210dc6fb-fb94-41f6-a33e-fec8d72dd25d", "name": "Removes the Label resource.", "request": {"url": {"path": ["labels", "{{label}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "afcdcb51-db40-4a81-855e-5a943cc99a24", "name": "Label resource deleted", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "7ac3df42-547b-438c-9812-04ccf20f5e35", "name": "Resource not found", "originalRequest": {"url": {"path": ["labels", ":id"], "host": ["{{baseUrl}}"], "query": [], "variable": [{"type": "any", "key": "id"}]}, "header": [{"description": {"content": "The JWT of the entity performing the request", "type": "text/plain"}, "key": "Authorization", "value": ""}, {"description": {"content": "The version of the API conform [Landelijke API-strategie.](https://geonovum.github.io/KP-APIs/#versioning)", "type": "text/plain"}, "key": "API-Version", "value": ""}, {"description": {"content": "A globally unique id of the request, which makes a request traceable throughout the network.", "type": "text/plain"}, "key": "X-NLX-Logrecord-ID", "value": ""}, {"description": {"content": "A process id for purpose registration (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Request-Process-Id", "value": ""}, {"description": {"content": "A list of requested data elements", "type": "text/plain"}, "key": "X-NLX-Request-Data-Elements", "value": ""}, {"description": {"content": "A key-value list of data subjects related to this request. e.g. `bsn=12345678, kenteken=ab-12-fg`", "type": "text/plain"}, "key": "X-NLX-Request-Data-Subject", "value": ""}, {"description": {"content": "A clarification as to why a request has been made (doelbinding)", "type": "text/plain"}, "key": "X-NLX-Audit-Clarification", "value": ""}], "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "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": "52f828da-894e-4567-af8d-fdc0b161143b"}}]}, {"id": "43970c49-09e7-43ef-beee-a3812e5a8f61", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "ad6dd1ea-8904-4875-bc9d-508507f84788", "name": "Request resource deleted", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "No Content", "code": 204, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}, {"_": {"postman_previewlanguage": "text"}, "id": "b3b5fad5-6596-4492-bf8f-740975ede59b", "name": "Resource not found", "originalRequest": {"url": {"path": ["requests", "<string>"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "status": "Not Found", "code": 404, "header": [{"key": "Content-Type", "value": "text/plain"}], "body": "", "cookie": []}], "event": [{"listen": "test", "script": {"id": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "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", " pm.expect(pm.response.code).to.be.oneOf([204,500]); //this should be deleted as soon as possible, just a quick hack to get things running\r", "});\r", ""], "_lastExecutionId": "8fbe14aa-b7ad-4bf4-b564-d41275fc9d77"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "14477722-e6d6-472b-a89d-02ebf41935b2", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "ed37c9c2-04d3-458d-a064-79ccde0f57f3", "scriptId": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "execution": "8fbe14aa-b7ad-4bf4-b564-d41275fc9d77"}}], "error": null}}