{"collection": {"_": {"postman_id": "fede9159-9c64-4b1e-b5b0-6422b1e6eb8a"}, "item": [{"id": "97046795-5bc3-4dad-be6d-06df32ef61ea", "name": "requests", "item": [{"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "4f7afb78-8e25-4a12-b06c-2efd683eb9b3"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60e9f157-8f6e-426c-8153-68a696d1ca1c"}}], "protocolProfileBehavior": {}}, {"id": "853c2b01-b988-4a2f-a834-22ceb2e4ca69", "name": "requests/{id}", "item": [{"id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, {"id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "688eed42-ff07-4a1e-a7c7-e0bc5edf2b57", "name": "submitters", "item": [{"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "a3e76c0c-cea1-4fcf-bc20-0edfd26454e9", "name": "submitters/{id}", "item": [{"id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, {"id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "6b5d7107-9e23-4a4c-ac6c-605b03dc26bd", "name": "labels", "item": [{"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "a3f11368-32ed-4d77-932d-6c56aeae7bdc", "name": "labels/{id}", "item": [{"id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, {"id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "c7b1eb74-087e-44a0-874a-d974751a3ea3", "name": "roles", "item": [{"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "8e2d2019-f980-41c1-86b8-db521fb924b0", "name": "roles/{id}", "item": [{"id": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, {"id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "b35ce73e-cbce-4300-bf65-62921c5adac7", "name": "Clear up", "item": [{"id": "180aaf74-aabc-491e-8db7-32811c04cb2f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "b699f5c4-03d5-4c9a-973e-c5612cae04b6", "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": "a9d6c9f9-24f4-4d86-851b-29980156d12e", "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": "17a4a25a-7a00-4007-b925-26e98b171402"}}]}, {"id": "457b6991-9d14-4053-98a6-130e6eccd329", "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": "95c56207-ee31-48db-b819-57a45a38601b", "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": "de2dbb25-9744-48f0-875c-d2dd7b9c90b6", "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": "df17e364-68a6-4a65-aabf-e221186582bd"}}]}, {"id": "c5bcc641-ce2f-47fb-aa84-2454e487eabb", "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": "9fccc1a7-cc2d-409b-b53e-add27e9bd640", "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": "96cd7c12-0e1d-4663-8ef3-a0a971e0f17c", "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": "b26b284b-ca94-41ae-a781-a182f2c316c7"}}]}, {"id": "d3942fb8-8a06-40db-8475-53c3a8601923", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d9113570-d1f1-41b6-8377-abf948e3895b", "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": "416c9f3f-53b6-435a-8f43-03210b245628", "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": "7c2b226e-bb5f-4785-91c4-1b27ff6b4ca6"}}]}], "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": "ab10bf0f-afb6-4590-95ee-772dd197c70d"}}, {"listen": "test", "script": {"id": "d13b04df-6cff-4412-aac7-91ad0bb09595", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b43e927-5801-45cf-ac2b-92388c742383"}}], "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": "2f34a53d-39e4-4a2f-b33b-86bb27087c1d", "values": []}, "globals": {"id": "98ef0b80-8c40-40ba-9890-92efd1091df3", "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": 18.05, "responseMin": 8, "responseMax": 149, "responseSd": 30.181906831742765, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1669849205472, "completed": 1669849206857}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "bb82005c-1adc-4f4a-9b21-cce8da7c8a1c", "httpRequestId": "4ce52f86-119c-4d6b-8c9d-131b90e1fc5e"}, "item": {"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, "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": "42eeb873-d78a-42c7-8bb4-f0025b78c107", "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": "05178e0d-f6fd-4f39-bc87-cdd35ccc8f42", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 149, "responseSize": 2538}, "id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "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": "712bf546-ecc8-4907-86db-ca9e1764f1a4", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "2e90f9cd-597b-4838-be32-ceb6c21782bd"}, "item": {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}, "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": "0b96db19-2e17-4cb6-88ba-4a970556818d", "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": "0a81063d-acde-43d7-b547-3dade740167b", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "53c90fb9-7d11-4f01-9a40-ab30b4494e02", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "cd1c94ff-e396-4ddb-82ae-c8ebaccf1b29"}, "item": {"id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, "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": "175d56bd-2c58-4be4-803f-10edbc78066c", "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": "62da6861-e26c-43f4-b186-1c0892262658", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 21, "responseSize": 2538}, "id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "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": "2438aba5-56ab-47af-8fff-2ac2bc77ee19", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "00633834-bc37-4928-8f7a-c75b7909df9f"}, "item": {"id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}, "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": "de4c1e45-7d70-4e4e-9dd6-4ddaa0161c54", "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": "19fe6aa2-ccdf-4249-9621-19280dac2d97", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 10, "responseSize": 2538}, "id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "8c5f7e87-241d-4a85-b6ac-cce968ce382c", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "cf10a99e-3524-4e92-b5cd-91c0870a0442"}, "item": {"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, "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": "bc497f12-d14b-4900-a372-a5b722e312b5", "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": "b8322d1b-8651-4a25-9ee3-059bd33ac2b1", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 11, "responseSize": 2538}, "id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "63bdeb08-4483-4bd0-8b84-593420b84758", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "ea40830f-d288-43d8-8207-a409f7efcec9"}, "item": {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}, "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": "d2d30a2c-f24b-4b1d-8d16-4d043313eb6c", "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": "fefc500a-f3ca-4774-91ef-5048203291f0", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 9, "responseSize": 2538}, "id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "ec7ad7b9-158b-417a-ac06-373b56bb5f40", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "72d7eb98-1fe5-452e-b276-36c4e7a2cd00"}, "item": {"id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, "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": "25a5bff2-69f3-40e2-98ae-ef03e6e27ad6", "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": "cd0e34d5-348a-43d8-b2b4-9be47e587e82", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 9, "responseSize": 2538}, "id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "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": "7981a4dd-70c7-4a10-9c0d-faf5173ed934", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "a61f45ef-a2cc-4b32-891b-f0faacf659b7"}, "item": {"id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}, "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": "7de703b1-c64c-4f97-b52c-3b05cac51086", "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": "c5204492-c5ce-4b96-8b4f-3305ea4603f4", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 10, "responseSize": 2538}, "id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "d933ec18-0603-4cc0-99b1-acdd60bd30de", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "dc1518bb-256a-4d89-9602-0541501e3bb2"}, "item": {"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, "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": "17012ad4-da4a-4503-98d9-2bb9efc355f0", "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": "8d21804d-9142-4fe1-ab45-8dca910efc47", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "35e971f2-da7c-4452-83d6-f4e8634d599f", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "c953249a-c994-438a-9dcd-06b6f6f2f66f"}, "item": {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}, "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": "81692786-2670-437c-a046-95c020d430ac", "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": "4a0127cc-f522-444f-a633-2fae09608b61", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 9, "responseSize": 2538}, "id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "f3c5c6b1-e23a-46f1-a8a3-b749f6d3b041", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "9325290b-f4ac-4c1a-b507-333068a3c06b"}, "item": {"id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, "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": "a49ae7fb-7183-4fcf-8396-cbac458e45f2", "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": "5f5dff9c-7c5b-4364-8d86-63fb38bc4731", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 10, "responseSize": 2538}, "id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "d28c1c89-f3d6-40c8-875c-90e3337c3ccd", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "af3dc47d-6900-4a87-888d-5acc1f0cd813"}, "item": {"id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}, "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": "e43e6cba-ffec-4d4b-a842-daaca7473911", "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": "c85f0b5f-eff7-4381-ba50-e74912252a7f", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 14, "responseSize": 2538}, "id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "103ce316-c048-4f88-ae5c-9afe6309c136", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "f47d8029-ccec-476a-b625-452500a39dc4"}, "item": {"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, "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": "df23fa27-f143-41b0-9e39-f3c1d5b3e850", "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": "9b57d2e5-3217-401d-9d95-bb18a272e052", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 15, "responseSize": 2538}, "id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "63b01858-3a2c-4ed9-9472-4175a4471999", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "91566066-661e-49b7-be4b-c97f78f5f239"}, "item": {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}, "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": "ef18f63c-c97b-4f14-947d-dc5f01f6ead2", "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": "a44b7370-5e68-4072-8002-656ba6e14876", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 10, "responseSize": 2538}, "id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "e36e9556-a398-44b5-a520-c0062951646a", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "f1294c9d-1e63-44a4-b24c-32172df5d61e"}, "item": {"id": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, "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": "766560a8-e43f-4b26-a2c0-5e2a8ce54896", "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": "d608b713-9758-444f-a842-84855387dad9", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "1b573c38-626c-4396-9fc7-1a9c67d482c9", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "d58a4ed6-5349-473f-9ca0-e527000c922f"}, "item": {"id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}, "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": "60af0684-8f06-496f-9956-f7b1c01ae9ce", "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": "a28c0cf0-8707-42ee-97fa-9efc93a1ba58", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 9, "responseSize": 2538}, "id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "2a499c3d-623a-4781-9ea2-48e597ba06ad", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "6b6ce85d-231e-48db-9c91-ac2b40829db1"}, "item": {"id": "180aaf74-aabc-491e-8db7-32811c04cb2f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "b699f5c4-03d5-4c9a-973e-c5612cae04b6", "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": "a9d6c9f9-24f4-4d86-851b-29980156d12e", "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": "17a4a25a-7a00-4007-b925-26e98b171402"}}]}, "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": "896f59f4-97ac-4262-8ee7-6402b130cda3", "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": "f40e470c-5f2b-474b-84cd-85df2c2b7fd6", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": "180aaf74-aabc-491e-8db7-32811c04cb2f", "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": "d07d7f1c-8de7-4a4f-9b66-cab61b7a4cae", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "899119b9-55ec-470a-abf4-fd96a90bdce1"}, "item": {"id": "457b6991-9d14-4053-98a6-130e6eccd329", "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": "95c56207-ee31-48db-b819-57a45a38601b", "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": "de2dbb25-9744-48f0-875c-d2dd7b9c90b6", "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": "df17e364-68a6-4a65-aabf-e221186582bd"}}]}, "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": "a414f886-54a8-435e-9bdd-efb908b9e131", "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": "26ed5120-4a50-43be-961e-dacad40a1496", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": "457b6991-9d14-4053-98a6-130e6eccd329", "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": "8817e6d0-2ee8-4a78-9b60-5a77b7d713d3", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "28df264e-3d7b-45f0-a229-aa5e455fc736"}, "item": {"id": "c5bcc641-ce2f-47fb-aa84-2454e487eabb", "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": "9fccc1a7-cc2d-409b-b53e-add27e9bd640", "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": "96cd7c12-0e1d-4663-8ef3-a0a971e0f17c", "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": "b26b284b-ca94-41ae-a781-a182f2c316c7"}}]}, "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": "61c5e4f2-fea2-49be-9382-cbbbb59ed0cc", "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": "b6d9b8d1-fa43-46a7-81fc-31b341953501", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 8, "responseSize": 2538}, "id": "c5bcc641-ce2f-47fb-aa84-2454e487eabb", "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": "35f25759-24d6-4fa6-90e3-676410f95901", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "7d807aed-5fe1-46c5-8a1d-028ecc0dbb24"}, "item": {"id": "d3942fb8-8a06-40db-8475-53c3a8601923", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d9113570-d1f1-41b6-8377-abf948e3895b", "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": "416c9f3f-53b6-435a-8f43-03210b245628", "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": "7c2b226e-bb5f-4785-91c4-1b27ff6b4ca6"}}]}, "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": "91c92ddf-18f8-4433-aa8d-d224cd7d93d1", "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": "bf5d6b2d-79a9-4c63-ab9d-e9273f64ff96", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Wed, 30 Nov 2022 23: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": 8, "responseSize": 2538}, "id": "d3942fb8-8a06-40db-8475-53c3a8601923", "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": "3837056e-dfc7-4a6e-ab61-07ca01ab270e", "timestamp": 1669849205752, "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": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, "parent": {"id": "97046795-5bc3-4dad-be6d-06df32ef61ea", "name": "requests", "item": [{"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "4f7afb78-8e25-4a12-b06c-2efd683eb9b3"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60e9f157-8f6e-426c-8153-68a696d1ca1c"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "bb82005c-1adc-4f4a-9b21-cce8da7c8a1c", "httpRequestId": "4ce52f86-119c-4d6b-8c9d-131b90e1fc5e", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}, {"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": "bdd539ff-725e-4d02-a4e2-22bf0c550701", "timestamp": 1669849205755, "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": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, "parent": {"id": "97046795-5bc3-4dad-be6d-06df32ef61ea", "name": "requests", "item": [{"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "4f7afb78-8e25-4a12-b06c-2efd683eb9b3"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60e9f157-8f6e-426c-8153-68a696d1ca1c"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "bb82005c-1adc-4f4a-9b21-cce8da7c8a1c", "httpRequestId": "4ce52f86-119c-4d6b-8c9d-131b90e1fc5e", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}, {"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": "6d5ffcda-6806-4148-b26f-8d66a01942cd", "timestamp": 1669849205757, "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": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, "parent": {"id": "97046795-5bc3-4dad-be6d-06df32ef61ea", "name": "requests", "item": [{"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "4f7afb78-8e25-4a12-b06c-2efd683eb9b3"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60e9f157-8f6e-426c-8153-68a696d1ca1c"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "bb82005c-1adc-4f4a-9b21-cce8da7c8a1c", "httpRequestId": "4ce52f86-119c-4d6b-8c9d-131b90e1fc5e", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}, {"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": "81273036-cea3-451a-84cb-2edbcd0ca41d", "timestamp": 1669849205832, "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": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}, "parent": {"id": "97046795-5bc3-4dad-be6d-06df32ef61ea", "name": "requests", "item": [{"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "4f7afb78-8e25-4a12-b06c-2efd683eb9b3"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60e9f157-8f6e-426c-8153-68a696d1ca1c"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "712bf546-ecc8-4907-86db-ca9e1764f1a4", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "2e90f9cd-597b-4838-be32-ceb6c21782bd", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}, {"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": "f095c75b-f452-4033-9382-7abd000d19c1", "timestamp": 1669849205834, "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": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}, "parent": {"id": "97046795-5bc3-4dad-be6d-06df32ef61ea", "name": "requests", "item": [{"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "4f7afb78-8e25-4a12-b06c-2efd683eb9b3"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60e9f157-8f6e-426c-8153-68a696d1ca1c"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "712bf546-ecc8-4907-86db-ca9e1764f1a4", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "2e90f9cd-597b-4838-be32-ceb6c21782bd", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}, {"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": "2de60628-5565-4325-93ed-81a23e400bda", "timestamp": 1669849205846, "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": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}, "parent": {"id": "97046795-5bc3-4dad-be6d-06df32ef61ea", "name": "requests", "item": [{"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "4f7afb78-8e25-4a12-b06c-2efd683eb9b3"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60e9f157-8f6e-426c-8153-68a696d1ca1c"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "712bf546-ecc8-4907-86db-ca9e1764f1a4", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "2e90f9cd-597b-4838-be32-ceb6c21782bd", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}, {"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": "910c8aab-1f92-49a4-85c7-19e945fde785", "timestamp": 1669849205847, "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": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}, "parent": {"id": "97046795-5bc3-4dad-be6d-06df32ef61ea", "name": "requests", "item": [{"id": "cf5f59a5-b150-437e-ac75-88bef5b0dca2", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "3574c63f-0198-4bd3-9ab1-9f69679c0deb", "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": "402ce02f-265f-472d-b2cf-09f2fb8b1278"}}]}, {"id": "86984d27-8775-4138-8efc-64e3c1fd9b57", "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": "c85398c8-c919-461e-93ba-5ecb70d4ad96", "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": "34435632-19fa-40d6-bfcd-9f87ae5a1cae", "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": "3a96077e-871f-4e3c-9219-57eef58b5372", "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": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "4f7afb78-8e25-4a12-b06c-2efd683eb9b3"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "60e9f157-8f6e-426c-8153-68a696d1ca1c"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "712bf546-ecc8-4907-86db-ca9e1764f1a4", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "2e90f9cd-597b-4838-be32-ceb6c21782bd", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "8cc4b057-da36-424d-9f5c-ce4983e9c276"}}, {"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": "df2b3152-7355-4e0e-b14c-69805214c0cc", "timestamp": 1669849205909, "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": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, "parent": {"id": "853c2b01-b988-4a2f-a834-22ceb2e4ca69", "name": "requests/{id}", "item": [{"id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, {"id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "53c90fb9-7d11-4f01-9a40-ab30b4494e02", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "cd1c94ff-e396-4ddb-82ae-c8ebaccf1b29", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}, {"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": "59354c99-84e2-43e0-8b18-9c49489c5f34", "timestamp": 1669849205910, "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": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, "parent": {"id": "853c2b01-b988-4a2f-a834-22ceb2e4ca69", "name": "requests/{id}", "item": [{"id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, {"id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "53c90fb9-7d11-4f01-9a40-ab30b4494e02", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "cd1c94ff-e396-4ddb-82ae-c8ebaccf1b29", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}, {"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": "4a59d81c-b114-4e91-b69c-5d6947735fb3", "timestamp": 1669849205912, "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": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, "parent": {"id": "853c2b01-b988-4a2f-a834-22ceb2e4ca69", "name": "requests/{id}", "item": [{"id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, {"id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "53c90fb9-7d11-4f01-9a40-ab30b4494e02", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "cd1c94ff-e396-4ddb-82ae-c8ebaccf1b29", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}, {"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": "cadb2fb9-bee8-4a11-816c-13e5e08380df", "timestamp": 1669849205966, "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": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}, "parent": {"id": "853c2b01-b988-4a2f-a834-22ceb2e4ca69", "name": "requests/{id}", "item": [{"id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, {"id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2438aba5-56ab-47af-8fff-2ac2bc77ee19", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "00633834-bc37-4928-8f7a-c75b7909df9f", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}, {"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": "0d539566-6e1c-4b8f-87e2-bf108c6b7fed", "timestamp": 1669849205968, "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": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}, "parent": {"id": "853c2b01-b988-4a2f-a834-22ceb2e4ca69", "name": "requests/{id}", "item": [{"id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, {"id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2438aba5-56ab-47af-8fff-2ac2bc77ee19", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "00633834-bc37-4928-8f7a-c75b7909df9f", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}, {"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": "ecc650b3-9601-4e03-8e4e-72abda380404", "timestamp": 1669849205969, "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": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}, "parent": {"id": "853c2b01-b988-4a2f-a834-22ceb2e4ca69", "name": "requests/{id}", "item": [{"id": "57d77161-d5a7-4adf-8af8-f78edbde0c49", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "9868c6fa-c65e-45fc-99f6-cf8fab5d16be", "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": "41afa817-7779-4c15-9327-ba047de614b4", "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": "9825130a-a0ac-4984-9db9-8a4e32c14b16"}}]}, {"id": "637c2ad0-db47-474f-9432-94dd934dc9e6", "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": "08608273-900d-41cb-bfe6-426eaf84252d", "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": "a3d05db8-e96d-49a5-b80f-7b444c7a16be", "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": "23f827ab-cbb5-499e-baad-b2146c14afd7", "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": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2438aba5-56ab-47af-8fff-2ac2bc77ee19", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "00633834-bc37-4928-8f7a-c75b7909df9f", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "07bea0fe-b01d-44ad-b43d-5ba22af61eb1"}}, {"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": "4b657bab-cd73-4f2b-93ae-1bb65a85c557", "timestamp": 1669849206009, "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": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, "parent": {"id": "688eed42-ff07-4a1e-a7c7-e0bc5edf2b57", "name": "submitters", "item": [{"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8c5f7e87-241d-4a85-b6ac-cce968ce382c", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "cf10a99e-3524-4e92-b5cd-91c0870a0442", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}, {"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": "d5169510-81d1-4ec9-9752-55a4c4f2e72f", "timestamp": 1669849206011, "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": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, "parent": {"id": "688eed42-ff07-4a1e-a7c7-e0bc5edf2b57", "name": "submitters", "item": [{"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8c5f7e87-241d-4a85-b6ac-cce968ce382c", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "cf10a99e-3524-4e92-b5cd-91c0870a0442", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}, {"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": "f9ed42ac-2f6d-4aae-836d-a01fc192bcb4", "timestamp": 1669849206013, "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": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, "parent": {"id": "688eed42-ff07-4a1e-a7c7-e0bc5edf2b57", "name": "submitters", "item": [{"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8c5f7e87-241d-4a85-b6ac-cce968ce382c", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "cf10a99e-3524-4e92-b5cd-91c0870a0442", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}, {"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": "ae52d75a-3502-4afd-a915-021f9d1aab09", "timestamp": 1669849206055, "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": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}, "parent": {"id": "688eed42-ff07-4a1e-a7c7-e0bc5edf2b57", "name": "submitters", "item": [{"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "63bdeb08-4483-4bd0-8b84-593420b84758", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "ea40830f-d288-43d8-8207-a409f7efcec9", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}, {"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": "6c144d4f-765d-4fdb-94d8-5d3f4fe6d332", "timestamp": 1669849206056, "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": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}, "parent": {"id": "688eed42-ff07-4a1e-a7c7-e0bc5edf2b57", "name": "submitters", "item": [{"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "63bdeb08-4483-4bd0-8b84-593420b84758", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "ea40830f-d288-43d8-8207-a409f7efcec9", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}, {"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": "c7e73549-5fa5-4535-84ab-9aaf3272f10d", "timestamp": 1669849206088, "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": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}, "parent": {"id": "688eed42-ff07-4a1e-a7c7-e0bc5edf2b57", "name": "submitters", "item": [{"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "63bdeb08-4483-4bd0-8b84-593420b84758", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "ea40830f-d288-43d8-8207-a409f7efcec9", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}, {"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": "88943bc2-40a5-4d40-a72d-065920d60852", "timestamp": 1669849206089, "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": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}, "parent": {"id": "688eed42-ff07-4a1e-a7c7-e0bc5edf2b57", "name": "submitters", "item": [{"id": "62a60b99-6ab4-464e-8956-ec654d9b1ff5", "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": "3e522887-5a8d-4c5c-adcd-b4c6b11593e2", "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": "f9e960af-e47c-47d7-ba75-39e8df9c6edf"}}]}, {"id": "7ff2ea71-e7ed-4595-9b92-8f37a0ea47a9", "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": "12ebaa0b-7afa-40b9-a933-81ec0a93dcca", "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": "1ea81d26-2e41-44e4-8422-a008253212f1", "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": "bffc89b7-bf90-468a-9388-397bb1b2f16a", "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": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "63bdeb08-4483-4bd0-8b84-593420b84758", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "ea40830f-d288-43d8-8207-a409f7efcec9", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "2b2b7850-e231-46af-965a-eb2e6df4dac0"}}, {"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": "e29b83f0-9836-41ec-9abb-2f75034a2df3", "timestamp": 1669849206138, "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": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, "parent": {"id": "a3e76c0c-cea1-4fcf-bc20-0edfd26454e9", "name": "submitters/{id}", "item": [{"id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, {"id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ec7ad7b9-158b-417a-ac06-373b56bb5f40", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "72d7eb98-1fe5-452e-b276-36c4e7a2cd00", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "de597b09-2d3b-4c46-80d8-e580c5331586"}}, {"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": "a178d5f8-9fec-4bc1-afd1-6351a43c718d", "timestamp": 1669849206139, "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": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, "parent": {"id": "a3e76c0c-cea1-4fcf-bc20-0edfd26454e9", "name": "submitters/{id}", "item": [{"id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, {"id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ec7ad7b9-158b-417a-ac06-373b56bb5f40", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "72d7eb98-1fe5-452e-b276-36c4e7a2cd00", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "de597b09-2d3b-4c46-80d8-e580c5331586"}}, {"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": "55fb4257-d6af-49ab-946e-a3c6d0e07181", "timestamp": 1669849206140, "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": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, "parent": {"id": "a3e76c0c-cea1-4fcf-bc20-0edfd26454e9", "name": "submitters/{id}", "item": [{"id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, {"id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ec7ad7b9-158b-417a-ac06-373b56bb5f40", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "72d7eb98-1fe5-452e-b276-36c4e7a2cd00", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "de597b09-2d3b-4c46-80d8-e580c5331586"}}, {"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": "8a944f6e-8e80-4c56-a6ab-fba0f7d24ad0", "timestamp": 1669849206184, "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": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}, "parent": {"id": "a3e76c0c-cea1-4fcf-bc20-0edfd26454e9", "name": "submitters/{id}", "item": [{"id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, {"id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7981a4dd-70c7-4a10-9c0d-faf5173ed934", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "a61f45ef-a2cc-4b32-891b-f0faacf659b7", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "62fce077-8d20-49e2-b804-e112a2589a8a"}}, {"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": "50dcd217-faa1-4684-b216-c12e4b9d1370", "timestamp": 1669849206185, "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": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}, "parent": {"id": "a3e76c0c-cea1-4fcf-bc20-0edfd26454e9", "name": "submitters/{id}", "item": [{"id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, {"id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7981a4dd-70c7-4a10-9c0d-faf5173ed934", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "a61f45ef-a2cc-4b32-891b-f0faacf659b7", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "62fce077-8d20-49e2-b804-e112a2589a8a"}}, {"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": "2d0a4bcd-a9bb-4340-8035-dce3b1cc9a7b", "timestamp": 1669849206186, "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": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}, "parent": {"id": "a3e76c0c-cea1-4fcf-bc20-0edfd26454e9", "name": "submitters/{id}", "item": [{"id": "249af0ce-3ed9-4df9-83bf-9ca70e4e8fc4", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "c71869b3-0f9c-40ee-878a-268230b624ca", "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": "94ae28d5-18f1-4989-a4d5-846182282744", "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": "de597b09-2d3b-4c46-80d8-e580c5331586"}}]}, {"id": "40e7d01b-7ad0-4d7f-abe4-2278df9cfba1", "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": "f08abfab-3d88-4b0e-a9fd-9fb28d2220ff", "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": "7ca8688b-e5f9-45cf-9eb7-2bb560770ff6", "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": "54ea05fc-bf3c-4b58-880f-e59eeefb5a81", "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": "62fce077-8d20-49e2-b804-e112a2589a8a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7981a4dd-70c7-4a10-9c0d-faf5173ed934", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "a61f45ef-a2cc-4b32-891b-f0faacf659b7", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "62fce077-8d20-49e2-b804-e112a2589a8a"}}, {"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": "ebb18ff3-539e-4684-806a-6219d3de18eb", "timestamp": 1669849206253, "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": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, "parent": {"id": "6b5d7107-9e23-4a4c-ac6c-605b03dc26bd", "name": "labels", "item": [{"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d933ec18-0603-4cc0-99b1-acdd60bd30de", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "dc1518bb-256a-4d89-9602-0541501e3bb2", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}, {"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": "1f6b5309-86bc-430b-a9fb-ddf9a8acd228", "timestamp": 1669849206254, "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": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, "parent": {"id": "6b5d7107-9e23-4a4c-ac6c-605b03dc26bd", "name": "labels", "item": [{"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d933ec18-0603-4cc0-99b1-acdd60bd30de", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "dc1518bb-256a-4d89-9602-0541501e3bb2", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}, {"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": "c5e6a525-d533-4b7d-8cac-7aac943c9e41", "timestamp": 1669849206255, "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": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, "parent": {"id": "6b5d7107-9e23-4a4c-ac6c-605b03dc26bd", "name": "labels", "item": [{"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d933ec18-0603-4cc0-99b1-acdd60bd30de", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "dc1518bb-256a-4d89-9602-0541501e3bb2", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}, {"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": "504eb13a-7186-49b3-b82d-f99b214283ea", "timestamp": 1669849206318, "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": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}, "parent": {"id": "6b5d7107-9e23-4a4c-ac6c-605b03dc26bd", "name": "labels", "item": [{"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "35e971f2-da7c-4452-83d6-f4e8634d599f", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "c953249a-c994-438a-9dcd-06b6f6f2f66f", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "6de42861-84b0-442e-b869-c80830df871e"}}, {"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": "089f8a18-3618-402d-99d4-11c439d5a059", "timestamp": 1669849206320, "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": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}, "parent": {"id": "6b5d7107-9e23-4a4c-ac6c-605b03dc26bd", "name": "labels", "item": [{"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "35e971f2-da7c-4452-83d6-f4e8634d599f", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "c953249a-c994-438a-9dcd-06b6f6f2f66f", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "6de42861-84b0-442e-b869-c80830df871e"}}, {"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": "883597ff-4671-4132-b185-a30ee3a38bed", "timestamp": 1669849206329, "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": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}, "parent": {"id": "6b5d7107-9e23-4a4c-ac6c-605b03dc26bd", "name": "labels", "item": [{"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "35e971f2-da7c-4452-83d6-f4e8634d599f", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "c953249a-c994-438a-9dcd-06b6f6f2f66f", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "6de42861-84b0-442e-b869-c80830df871e"}}, {"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": "004a8593-a882-4e19-a103-881301bc05e5", "timestamp": 1669849206330, "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": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}, "parent": {"id": "6b5d7107-9e23-4a4c-ac6c-605b03dc26bd", "name": "labels", "item": [{"id": "cc773ee4-6a60-44e2-a651-fb8e5f5551c1", "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": "ee820cda-0088-4737-878e-0429f1b00793", "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": "46794195-0e06-4cdf-99ed-a33a5a4d555f"}}]}, {"id": "7ef70f9a-7f56-4e6c-a79c-67f3aa9d49e3", "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": "278453a0-1e96-48ad-8338-e69345a607b6", "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": "2840bf98-7bbd-40d9-b500-33502c57047f", "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": "3a3d352e-2ad3-4a9b-ad7f-133cd11c0952", "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": "6de42861-84b0-442e-b869-c80830df871e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "35e971f2-da7c-4452-83d6-f4e8634d599f", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "c953249a-c994-438a-9dcd-06b6f6f2f66f", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "6de42861-84b0-442e-b869-c80830df871e"}}, {"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": "d2e68ef9-9be6-46ba-9b47-f030c372fca3", "timestamp": 1669849206386, "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": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, "parent": {"id": "a3f11368-32ed-4d77-932d-6c56aeae7bdc", "name": "labels/{id}", "item": [{"id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, {"id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "f3c5c6b1-e23a-46f1-a8a3-b749f6d3b041", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "9325290b-f4ac-4c1a-b507-333068a3c06b", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "e3095a60-f299-439b-bc04-05796d700d52"}}, {"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": "8bf6f610-7f3a-48ba-be64-207302dd526b", "timestamp": 1669849206387, "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": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, "parent": {"id": "a3f11368-32ed-4d77-932d-6c56aeae7bdc", "name": "labels/{id}", "item": [{"id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, {"id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "f3c5c6b1-e23a-46f1-a8a3-b749f6d3b041", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "9325290b-f4ac-4c1a-b507-333068a3c06b", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "e3095a60-f299-439b-bc04-05796d700d52"}}, {"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": "263c9c64-814d-41fa-8fa6-f4045ae3f827", "timestamp": 1669849206389, "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": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, "parent": {"id": "a3f11368-32ed-4d77-932d-6c56aeae7bdc", "name": "labels/{id}", "item": [{"id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, {"id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "f3c5c6b1-e23a-46f1-a8a3-b749f6d3b041", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "9325290b-f4ac-4c1a-b507-333068a3c06b", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "e3095a60-f299-439b-bc04-05796d700d52"}}, {"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": "dcee6709-6aef-4017-94b5-371e7e0f85b1", "timestamp": 1669849206445, "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": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}, "parent": {"id": "a3f11368-32ed-4d77-932d-6c56aeae7bdc", "name": "labels/{id}", "item": [{"id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, {"id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d28c1c89-f3d6-40c8-875c-90e3337c3ccd", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "af3dc47d-6900-4a87-888d-5acc1f0cd813", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}, {"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": "cb5913d3-fd34-44e4-a304-a179afb1bded", "timestamp": 1669849206446, "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": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}, "parent": {"id": "a3f11368-32ed-4d77-932d-6c56aeae7bdc", "name": "labels/{id}", "item": [{"id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, {"id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d28c1c89-f3d6-40c8-875c-90e3337c3ccd", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "af3dc47d-6900-4a87-888d-5acc1f0cd813", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}, {"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": "bd0a10e9-fa09-4812-ae0f-f423893bf2f0", "timestamp": 1669849206447, "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": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}, "parent": {"id": "a3f11368-32ed-4d77-932d-6c56aeae7bdc", "name": "labels/{id}", "item": [{"id": "fb7f4e7f-6d1d-4768-8df6-8c4597834566", "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": "46d78de4-dcf3-4e0d-a8c6-9f2525d37f00", "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": "2be5b69f-1eed-443a-a843-16feebcb6040", "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": "e3095a60-f299-439b-bc04-05796d700d52"}}]}, {"id": "c6cc8243-31fd-4a2d-86df-39e14866235d", "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": "afa2b5ea-a732-4f04-af49-a6e14bbec9ad", "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": "3a486533-d0d4-41f5-9653-2bafa8d1f1d0", "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": "2af26850-e1d6-4d0f-ad68-64adaadcee75", "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": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d28c1c89-f3d6-40c8-875c-90e3337c3ccd", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "af3dc47d-6900-4a87-888d-5acc1f0cd813", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "0c6fee1f-8a8f-4841-a229-3863742f26b5"}}, {"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": "2ebeda88-4482-4dd0-9917-02adb7ec4613", "timestamp": 1669849206504, "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": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, "parent": {"id": "c7b1eb74-087e-44a0-874a-d974751a3ea3", "name": "roles", "item": [{"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "103ce316-c048-4f88-ae5c-9afe6309c136", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "f47d8029-ccec-476a-b625-452500a39dc4", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}, {"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": "efc56d5d-e767-43e7-8c1b-b20f1c545a32", "timestamp": 1669849206505, "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": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, "parent": {"id": "c7b1eb74-087e-44a0-874a-d974751a3ea3", "name": "roles", "item": [{"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "103ce316-c048-4f88-ae5c-9afe6309c136", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "f47d8029-ccec-476a-b625-452500a39dc4", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}, {"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": "5ccbd1af-1d96-40a0-8b0a-818cccdfe374", "timestamp": 1669849206506, "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": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, "parent": {"id": "c7b1eb74-087e-44a0-874a-d974751a3ea3", "name": "roles", "item": [{"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "103ce316-c048-4f88-ae5c-9afe6309c136", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "f47d8029-ccec-476a-b625-452500a39dc4", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}, {"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": "aec98a5c-46f5-4208-b5de-2702f14bd571", "timestamp": 1669849206563, "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": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}, "parent": {"id": "c7b1eb74-087e-44a0-874a-d974751a3ea3", "name": "roles", "item": [{"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "63b01858-3a2c-4ed9-9472-4175a4471999", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "91566066-661e-49b7-be4b-c97f78f5f239", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}, {"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": "607704c8-4866-461b-a22c-d6efc9e5465d", "timestamp": 1669849206564, "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": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}, "parent": {"id": "c7b1eb74-087e-44a0-874a-d974751a3ea3", "name": "roles", "item": [{"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "63b01858-3a2c-4ed9-9472-4175a4471999", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "91566066-661e-49b7-be4b-c97f78f5f239", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}, {"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": "244b6c24-fc2a-459f-b2cc-528b47cf1f84", "timestamp": 1669849206571, "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": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}, "parent": {"id": "c7b1eb74-087e-44a0-874a-d974751a3ea3", "name": "roles", "item": [{"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "63b01858-3a2c-4ed9-9472-4175a4471999", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "91566066-661e-49b7-be4b-c97f78f5f239", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}, {"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": "27ee87bb-f368-48b0-8af4-f66b48595661", "timestamp": 1669849206571, "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": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}, "parent": {"id": "c7b1eb74-087e-44a0-874a-d974751a3ea3", "name": "roles", "item": [{"id": "bdd33c90-4337-413b-bf61-a84e634e6d89", "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": "53d42740-9016-45a1-a70c-ca8e51c2111f", "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": "4abd7cec-264b-4e8c-ad36-3a12f0d9ba94"}}]}, {"id": "cd5eb928-def2-4f60-8997-3e63ccbecced", "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": "7b520789-153e-4f25-be83-19e628b21ff2", "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": "7b7e23b6-ca19-4770-9a1c-612589f5982b", "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": "115df642-c60f-4fbc-b6e4-d947577b15ce", "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": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "63b01858-3a2c-4ed9-9472-4175a4471999", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "91566066-661e-49b7-be4b-c97f78f5f239", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "c3d7cbb7-12f4-4438-b073-abaa8cb6cba1"}}, {"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": "8dab9318-6a7f-4b62-82c5-d93fca1d42c8", "timestamp": 1669849206624, "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": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, "parent": {"id": "8e2d2019-f980-41c1-86b8-db521fb924b0", "name": "roles/{id}", "item": [{"id": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, {"id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e36e9556-a398-44b5-a520-c0062951646a", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "f1294c9d-1e63-44a4-b24c-32172df5d61e", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}, {"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": "1a3b32da-94b6-44a2-9905-62b143b97a0b", "timestamp": 1669849206625, "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": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, "parent": {"id": "8e2d2019-f980-41c1-86b8-db521fb924b0", "name": "roles/{id}", "item": [{"id": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, {"id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e36e9556-a398-44b5-a520-c0062951646a", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "f1294c9d-1e63-44a4-b24c-32172df5d61e", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}, {"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": "bf05b8f2-baa5-49aa-ada8-14cbae973191", "timestamp": 1669849206627, "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": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, "parent": {"id": "8e2d2019-f980-41c1-86b8-db521fb924b0", "name": "roles/{id}", "item": [{"id": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, {"id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e36e9556-a398-44b5-a520-c0062951646a", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "f1294c9d-1e63-44a4-b24c-32172df5d61e", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}, {"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": "86e75699-25bb-47a2-b388-e8d746a1b82d", "timestamp": 1669849206674, "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": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}, "parent": {"id": "8e2d2019-f980-41c1-86b8-db521fb924b0", "name": "roles/{id}", "item": [{"id": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, {"id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1b573c38-626c-4396-9fc7-1a9c67d482c9", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "d58a4ed6-5349-473f-9ca0-e527000c922f", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}, {"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": "11d3a128-277a-41b1-8217-4574fede5ddd", "timestamp": 1669849206676, "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": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}, "parent": {"id": "8e2d2019-f980-41c1-86b8-db521fb924b0", "name": "roles/{id}", "item": [{"id": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, {"id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1b573c38-626c-4396-9fc7-1a9c67d482c9", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "d58a4ed6-5349-473f-9ca0-e527000c922f", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}, {"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": "76b11411-662b-477f-89cd-93213a14ff18", "timestamp": 1669849206677, "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": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}, "parent": {"id": "8e2d2019-f980-41c1-86b8-db521fb924b0", "name": "roles/{id}", "item": [{"id": "fe5f5da6-b696-4ad6-b260-d0cc016253b2", "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": "adcb6087-92e1-4ebd-8273-8c0f1774cf9b", "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": "de35c83c-78a8-4774-bac6-249a79d82cd2", "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": "aa63e465-42d5-4f02-865f-2e1f0d59f541"}}]}, {"id": "f24e33eb-0400-4978-8159-f07bd7f6f703", "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": "cdcd988f-e201-45b6-9d2f-59f75547ed4a", "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": "4da7d099-8f2b-47c8-99be-bde393f71457", "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": "c7ea1434-5e3c-445a-abee-9e0ec7cedd2a", "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": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1b573c38-626c-4396-9fc7-1a9c67d482c9", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "d58a4ed6-5349-473f-9ca0-e527000c922f", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "1f7c0a98-7e4f-4da0-a741-f9471a0b531b"}}, {"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": "66d6d510-d360-4ec9-9de9-295c58aae7ca", "timestamp": 1669849206725, "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": "180aaf74-aabc-491e-8db7-32811c04cb2f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "b699f5c4-03d5-4c9a-973e-c5612cae04b6", "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": "a9d6c9f9-24f4-4d86-851b-29980156d12e", "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": "17a4a25a-7a00-4007-b925-26e98b171402"}}]}, "parent": {"id": "b35ce73e-cbce-4300-bf65-62921c5adac7", "name": "Clear up", "item": [{"id": "180aaf74-aabc-491e-8db7-32811c04cb2f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "b699f5c4-03d5-4c9a-973e-c5612cae04b6", "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": "a9d6c9f9-24f4-4d86-851b-29980156d12e", "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": "17a4a25a-7a00-4007-b925-26e98b171402"}}]}, {"id": "457b6991-9d14-4053-98a6-130e6eccd329", "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": "95c56207-ee31-48db-b819-57a45a38601b", "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": "de2dbb25-9744-48f0-875c-d2dd7b9c90b6", "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": "df17e364-68a6-4a65-aabf-e221186582bd"}}]}, {"id": "c5bcc641-ce2f-47fb-aa84-2454e487eabb", "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": "9fccc1a7-cc2d-409b-b53e-add27e9bd640", "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": "96cd7c12-0e1d-4663-8ef3-a0a971e0f17c", "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": "b26b284b-ca94-41ae-a781-a182f2c316c7"}}]}, {"id": "d3942fb8-8a06-40db-8475-53c3a8601923", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d9113570-d1f1-41b6-8377-abf948e3895b", "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": "416c9f3f-53b6-435a-8f43-03210b245628", "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": "7c2b226e-bb5f-4785-91c4-1b27ff6b4ca6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2a499c3d-623a-4781-9ea2-48e597ba06ad", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "6b6ce85d-231e-48db-9c91-ac2b40829db1", "scriptId": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "execution": "17a4a25a-7a00-4007-b925-26e98b171402"}}, {"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": "a1252415-dd17-43f9-bb38-bc492c7e65d3", "timestamp": 1669849206779, "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": "457b6991-9d14-4053-98a6-130e6eccd329", "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": "95c56207-ee31-48db-b819-57a45a38601b", "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": "de2dbb25-9744-48f0-875c-d2dd7b9c90b6", "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": "df17e364-68a6-4a65-aabf-e221186582bd"}}]}, "parent": {"id": "b35ce73e-cbce-4300-bf65-62921c5adac7", "name": "Clear up", "item": [{"id": "180aaf74-aabc-491e-8db7-32811c04cb2f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "b699f5c4-03d5-4c9a-973e-c5612cae04b6", "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": "a9d6c9f9-24f4-4d86-851b-29980156d12e", "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": "17a4a25a-7a00-4007-b925-26e98b171402"}}]}, {"id": "457b6991-9d14-4053-98a6-130e6eccd329", "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": "95c56207-ee31-48db-b819-57a45a38601b", "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": "de2dbb25-9744-48f0-875c-d2dd7b9c90b6", "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": "df17e364-68a6-4a65-aabf-e221186582bd"}}]}, {"id": "c5bcc641-ce2f-47fb-aa84-2454e487eabb", "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": "9fccc1a7-cc2d-409b-b53e-add27e9bd640", "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": "96cd7c12-0e1d-4663-8ef3-a0a971e0f17c", "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": "b26b284b-ca94-41ae-a781-a182f2c316c7"}}]}, {"id": "d3942fb8-8a06-40db-8475-53c3a8601923", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d9113570-d1f1-41b6-8377-abf948e3895b", "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": "416c9f3f-53b6-435a-8f43-03210b245628", "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": "7c2b226e-bb5f-4785-91c4-1b27ff6b4ca6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d07d7f1c-8de7-4a4f-9b66-cab61b7a4cae", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "899119b9-55ec-470a-abf4-fd96a90bdce1", "scriptId": "61d37bcf-e148-4345-bef7-7dfb628bc585", "execution": "df17e364-68a6-4a65-aabf-e221186582bd"}}, {"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": "898e8124-d4cb-4b5a-9043-655565c569b0", "timestamp": 1669849206818, "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": "c5bcc641-ce2f-47fb-aa84-2454e487eabb", "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": "9fccc1a7-cc2d-409b-b53e-add27e9bd640", "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": "96cd7c12-0e1d-4663-8ef3-a0a971e0f17c", "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": "b26b284b-ca94-41ae-a781-a182f2c316c7"}}]}, "parent": {"id": "b35ce73e-cbce-4300-bf65-62921c5adac7", "name": "Clear up", "item": [{"id": "180aaf74-aabc-491e-8db7-32811c04cb2f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "b699f5c4-03d5-4c9a-973e-c5612cae04b6", "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": "a9d6c9f9-24f4-4d86-851b-29980156d12e", "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": "17a4a25a-7a00-4007-b925-26e98b171402"}}]}, {"id": "457b6991-9d14-4053-98a6-130e6eccd329", "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": "95c56207-ee31-48db-b819-57a45a38601b", "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": "de2dbb25-9744-48f0-875c-d2dd7b9c90b6", "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": "df17e364-68a6-4a65-aabf-e221186582bd"}}]}, {"id": "c5bcc641-ce2f-47fb-aa84-2454e487eabb", "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": "9fccc1a7-cc2d-409b-b53e-add27e9bd640", "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": "96cd7c12-0e1d-4663-8ef3-a0a971e0f17c", "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": "b26b284b-ca94-41ae-a781-a182f2c316c7"}}]}, {"id": "d3942fb8-8a06-40db-8475-53c3a8601923", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d9113570-d1f1-41b6-8377-abf948e3895b", "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": "416c9f3f-53b6-435a-8f43-03210b245628", "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": "7c2b226e-bb5f-4785-91c4-1b27ff6b4ca6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8817e6d0-2ee8-4a78-9b60-5a77b7d713d3", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "28df264e-3d7b-45f0-a229-aa5e455fc736", "scriptId": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "execution": "b26b284b-ca94-41ae-a781-a182f2c316c7"}}, {"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": "e0b5aee5-aed4-4c0e-a90d-c2810aebd493", "timestamp": 1669849206853, "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": "d3942fb8-8a06-40db-8475-53c3a8601923", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d9113570-d1f1-41b6-8377-abf948e3895b", "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": "416c9f3f-53b6-435a-8f43-03210b245628", "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": "7c2b226e-bb5f-4785-91c4-1b27ff6b4ca6"}}]}, "parent": {"id": "b35ce73e-cbce-4300-bf65-62921c5adac7", "name": "Clear up", "item": [{"id": "180aaf74-aabc-491e-8db7-32811c04cb2f", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "b699f5c4-03d5-4c9a-973e-c5612cae04b6", "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": "a9d6c9f9-24f4-4d86-851b-29980156d12e", "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": "17a4a25a-7a00-4007-b925-26e98b171402"}}]}, {"id": "457b6991-9d14-4053-98a6-130e6eccd329", "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": "95c56207-ee31-48db-b819-57a45a38601b", "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": "de2dbb25-9744-48f0-875c-d2dd7b9c90b6", "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": "df17e364-68a6-4a65-aabf-e221186582bd"}}]}, {"id": "c5bcc641-ce2f-47fb-aa84-2454e487eabb", "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": "9fccc1a7-cc2d-409b-b53e-add27e9bd640", "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": "96cd7c12-0e1d-4663-8ef3-a0a971e0f17c", "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": "b26b284b-ca94-41ae-a781-a182f2c316c7"}}]}, {"id": "d3942fb8-8a06-40db-8475-53c3a8601923", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d9113570-d1f1-41b6-8377-abf948e3895b", "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": "416c9f3f-53b6-435a-8f43-03210b245628", "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": "7c2b226e-bb5f-4785-91c4-1b27ff6b4ca6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "35f25759-24d6-4fa6-90e3-676410f95901", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "7d807aed-5fe1-46c5-8a1d-028ecc0dbb24", "scriptId": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "execution": "7c2b226e-bb5f-4785-91c4-1b27ff6b4ca6"}}], "error": null}}