{"collection": {"_": {"postman_id": "fede9159-9c64-4b1e-b5b0-6422b1e6eb8a"}, "item": [{"id": "b5874b9b-9e4e-4e73-be91-44b2c76ef99e", "name": "requests", "item": [{"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b3325f3-9a45-45c4-b61e-9c8bef027803"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "49889b84-0e1c-4f35-8b02-5afa9b44c2e7"}}], "protocolProfileBehavior": {}}, {"id": "01276291-13cc-406a-98ea-2498d3fecde1", "name": "requests/{id}", "item": [{"id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, {"id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "1b6eda48-55f7-4c91-9c43-a4e22cf6ffda", "name": "submitters", "item": [{"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "c7946527-ddfc-45fe-b7a9-201e9ed9edd3", "name": "submitters/{id}", "item": [{"id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, {"id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "5853c741-3c7f-45ba-be7a-7e8da2e5db87", "name": "labels", "item": [{"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "184c7bb4-e2c6-4ce2-9c39-8914a8bfef4d", "name": "labels/{id}", "item": [{"id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, {"id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "f0d63987-eba1-4a74-9b0d-adff94d401d8", "name": "roles", "item": [{"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "80bc16a4-e66f-4338-8bd3-880e658f2ed6", "name": "roles/{id}", "item": [{"id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, {"id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "07f2cbf0-5dab-44c9-a1b5-1451c8d93e39", "name": "Clear up", "item": [{"id": "ece91414-ccb8-4872-b102-898ff5546751", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "5913c086-9594-40bf-8520-56063d4a1cc0", "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": "901f9e33-c0a5-443e-a6cc-4ce6a7492cc6", "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": "ec30e27d-8bab-43d4-9202-72acca6fc06a"}}]}, {"id": "dbba97db-5719-4297-875a-04103ef3d58f", "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": "e3858e31-ded8-40e9-9aa8-31aaf0c58a9d", "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": "5767da8b-5d87-4574-af43-15f059324dc2", "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": "c4fd056c-4aa6-466a-afb6-7e93dcdb79b6"}}]}, {"id": "ec26a5c5-a19d-4bf9-94b6-09c9ea0b37b6", "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": "904d9a46-a520-4fd2-9673-1c5853d37a39", "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": "2533bc0f-6aca-4b08-b615-f2f1f36d20e9", "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": "98dd898f-9a73-4a01-80d3-549a30f8339e"}}]}, {"id": "97da86ef-fcf9-4342-8f78-fab37704ff50", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07b79430-4b1b-428b-a48b-c8a1eb3e6849", "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": "b4c3d35a-59d1-4c42-a355-83b1805e76d4", "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": "1205359b-1fbb-41ad-828b-c32c103259e8"}}]}], "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": "4e2ae708-bdb1-4948-9838-75a0b30fd186"}}, {"listen": "test", "script": {"id": "d13b04df-6cff-4412-aac7-91ad0bb09595", "type": "text/javascript", "exec": [""], "_lastExecutionId": "c5060956-e6ab-40b1-a6d9-3e83dbfcfb14"}}], "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": "02415f1b-d684-45a5-a175-b5bb096b1a46", "values": []}, "globals": {"id": "3d689693-2ca3-4f96-8b6c-87aa733009c2", "values": []}, "run": {"stats": {"iterations": {"total": 1, "pending": 0, "failed": 0}, "items": {"total": 20, "pending": 0, "failed": 0}, "scripts": {"total": 64, "pending": 0, "failed": 0}, "prerequests": {"total": 20, "pending": 0, "failed": 0}, "requests": {"total": 20, "pending": 0, "failed": 0}, "tests": {"total": 20, "pending": 0, "failed": 0}, "assertions": {"total": 56, "pending": 0, "failed": 56}, "testScripts": {"total": 42, "pending": 0, "failed": 0}, "prerequestScripts": {"total": 22, "pending": 0, "failed": 0}}, "timings": {"responseAverage": 25.450000000000003, "responseMin": 10, "responseMax": 210, "responseSd": 42.54230247647628, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1685484003676, "completed": 1685484005866}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "d6561d22-3d2f-4d3f-a680-3569e98124c3", "httpRequestId": "7de2d4cd-700a-4a1e-90e5-ac8b13f360ac"}, "item": {"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, "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": "2ca625b0-8aa0-48fe-92a0-0074410e0e26", "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": "80e7e7c1-225b-48bf-b7f1-a108dd375f4a", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:03 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": 210, "responseSize": 2538}, "id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "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": "805b3f17-6434-433e-a600-b2a8cfaaf944", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "cf170c2d-422e-4a59-8fd5-e089fc828162"}, "item": {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}, "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": "85c95269-7a38-45dc-b1fd-7d2fb558c472", "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": "7063d37f-b498-48e2-a90d-ab0a7fa6f11c", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 22, "responseSize": 2538}, "id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "4f610a72-1f7d-4aff-a0e0-7c3b73f8bdab", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "58e1137d-5fac-4215-b22f-1f3088922b26"}, "item": {"id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, "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": "c95b2cd3-47b8-4033-b1af-18b34b655fd7", "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": "e10a7d74-e224-4012-8c56-55ce1d7240e1", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 25, "responseSize": 2538}, "id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "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": "5de2cc33-7e3d-44e5-938e-3c19720f42e4", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "7fb428b6-5437-4550-9bf6-01a0e5940c32"}, "item": {"id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}, "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": "aa3e6018-78e7-478d-aed9-fbe4905ce9e4", "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": "76975349-71dc-45db-97e4-f7e5c3690f80", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 14, "responseSize": 2538}, "id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "90abfd3b-f2ef-47a3-819a-de691a2b4743", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "73d91c8a-3455-4a0b-a858-9156894cce99"}, "item": {"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, "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": "eb9842ea-a9a0-4242-b367-73ad5c455514", "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": "fa5c3fa9-f72b-4e5b-991a-486aa08f4cd1", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 14, "responseSize": 2538}, "id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "043a8512-0504-4554-a124-d174b334d72a", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "1ceff53c-2e7c-4016-99f5-a2e79a833241"}, "item": {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}, "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": "49c5c686-25c1-4256-a8ed-734e2be93717", "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": "de30f529-b8fa-456a-9c46-a255c1e7745c", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 13, "responseSize": 2538}, "id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "df4e8e71-8bff-4c60-b89d-a516bb3d655a", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "48ff655d-665b-411f-b09a-32783187a282"}, "item": {"id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, "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": "42b73da6-e347-4f6d-b696-928617dbf92d", "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": "0e79e9da-9bf6-4ec7-9845-e30508117303", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 13, "responseSize": 2538}, "id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "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": "935dc5a1-038f-4c5e-aaf9-64a9691ec2ff", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "fc14b89e-70d5-487e-bbb8-4c73a2ce9af2"}, "item": {"id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}, "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": "89131c79-24f3-42db-b6ba-44fe5cf731b3", "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": "86633e2f-80ec-4363-8425-41934bf94788", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 13, "responseSize": 2538}, "id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "740d8045-1818-473d-91fa-6b02c9dd3d48", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "67190455-8a8d-4293-ac41-fd91f5fc1e24"}, "item": {"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, "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": "7a44ff13-61f5-4e4b-9f9f-3fe09c689b51", "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": "c1a5f33a-655f-47f6-88c9-8ebb3bd4e2bb", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 15, "responseSize": 2538}, "id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "e72f5e6a-14ab-492a-98a4-0396a4c3394e", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "cb457efc-1fd8-4938-9b2c-15ec9da0dd37"}, "item": {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}, "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": "7db277f9-1cc3-4722-ab14-073cf6bc7436", "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": "eb2c1efb-ff09-4eb5-9a17-e3b61427e238", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 19, "responseSize": 2538}, "id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "c391120b-2990-4f9d-897e-b06aeb4a86b2", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "78dd336a-e762-4043-92f2-6a57aa1aa468"}, "item": {"id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, "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": "31f26867-a542-420c-a79c-9d9319a49a80", "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": "495098d8-faf7-4d74-ae64-5e224fe12cb7", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:04 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 15, "responseSize": 2538}, "id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "52d1c277-354d-42f1-9bf5-68aa03df3a13", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "7a4ced68-7e41-4f0b-a196-574010b9ded4"}, "item": {"id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}, "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": "255f9fd4-8afe-4483-9402-9c21c86267a2", "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": "d9c62cf6-5703-45ab-bc03-8be96d063af1", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 13, "responseSize": 2538}, "id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "3ac3cf3f-7069-4399-a6ab-a2395e56a17c", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "0cf7525b-08d2-493a-b607-9fe36cd94cca"}, "item": {"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, "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": "260783e1-728e-48c3-bf7e-9db290839dc4", "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": "200f3212-5c73-46ed-8dc3-cda25819d2a9", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 17, "responseSize": 2538}, "id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "0dcbcc75-16c9-4e54-9de8-cf570e1f5162", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "e2e15bee-ca7a-4fdd-b7f7-9903deab6833"}, "item": {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}, "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": "203abb8d-4b62-4b5a-a913-fdfe55f16ecc", "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": "ca0f9ba1-4965-427a-afb3-899c7faf41a4", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 12, "responseSize": 2538}, "id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "bdb8256e-5cbc-457d-b556-bc9e53964024", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "8fa40543-c4dd-4d6e-af35-3cac925059e2"}, "item": {"id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, "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": "2b57b7fa-e2c5-4c16-89ad-cd2e6b5de423", "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": "5b74432d-7075-4665-bf60-7231b7e2d84d", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 12, "responseSize": 2538}, "id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "3694e891-8dc3-4cca-b0f8-c3ab0c488b6d", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "231a07f8-abe9-484f-bfb4-ae59123bd000"}, "item": {"id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}, "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": "fb815cb2-69d9-41e6-be21-fe7721294386", "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": "4c59ccd5-d800-41cb-afb4-214f2ffb9e97", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 19, "responseSize": 2538}, "id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "621f3669-7cae-4e67-8a4c-64edc8f3c15e", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "445c21cd-6ac8-4d6a-bcb6-5092ac8fa353"}, "item": {"id": "ece91414-ccb8-4872-b102-898ff5546751", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "5913c086-9594-40bf-8520-56063d4a1cc0", "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": "901f9e33-c0a5-443e-a6cc-4ce6a7492cc6", "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": "ec30e27d-8bab-43d4-9202-72acca6fc06a"}}]}, "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": "0a209208-a4dc-4f05-8bd3-a224a3a32d8c", "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": "2fe6f640-af09-42e1-91f6-2e59c93974da", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 10, "responseSize": 2538}, "id": "ece91414-ccb8-4872-b102-898ff5546751", "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": "f68a7e15-122c-4b3f-8be6-c3b374a264d5", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "11c07493-e91e-4901-be31-e5074bc00462"}, "item": {"id": "dbba97db-5719-4297-875a-04103ef3d58f", "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": "e3858e31-ded8-40e9-9aa8-31aaf0c58a9d", "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": "5767da8b-5d87-4574-af43-15f059324dc2", "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": "c4fd056c-4aa6-466a-afb6-7e93dcdb79b6"}}]}, "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": "e206bb28-b40b-40fd-ae32-4823fb316213", "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": "84b1a790-9c6f-4387-8f3a-61d3659a378d", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 10, "responseSize": 2538}, "id": "dbba97db-5719-4297-875a-04103ef3d58f", "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": "b32fc24e-4502-479b-a040-140030d7c8cc", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "ec0ae017-4db0-4dad-b172-89ba9669a36f"}, "item": {"id": "ec26a5c5-a19d-4bf9-94b6-09c9ea0b37b6", "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": "904d9a46-a520-4fd2-9673-1c5853d37a39", "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": "2533bc0f-6aca-4b08-b615-f2f1f36d20e9", "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": "98dd898f-9a73-4a01-80d3-549a30f8339e"}}]}, "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": "95de7702-d100-4c79-a3e1-f019d82f22e4", "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": "568ae617-cfe2-4fee-af77-c1acbee9ce3f", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 22, "responseSize": 2538}, "id": "ec26a5c5-a19d-4bf9-94b6-09c9ea0b37b6", "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": "61fc19f1-ad7d-4381-a641-18ba5df13d87", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "80026de4-646e-49b8-bf74-e4f7da8e4723"}, "item": {"id": "97da86ef-fcf9-4342-8f78-fab37704ff50", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07b79430-4b1b-428b-a48b-c8a1eb3e6849", "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": "b4c3d35a-59d1-4c42-a355-83b1805e76d4", "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": "1205359b-1fbb-41ad-828b-c32c103259e8"}}]}, "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": "66e0e264-ac40-450c-abfd-c5ae7f0bd9e8", "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": "45684f42-e9a1-4f84-a4f2-dccd2f76886c", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Tue, 30 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 21, "responseSize": 2538}, "id": "97da86ef-fcf9-4342-8f78-fab37704ff50", "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": "4fa9fbc4-e0ab-4a8f-879b-905a2489711c", "timestamp": 1685484004041, "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": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, "parent": {"id": "b5874b9b-9e4e-4e73-be91-44b2c76ef99e", "name": "requests", "item": [{"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b3325f3-9a45-45c4-b61e-9c8bef027803"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "49889b84-0e1c-4f35-8b02-5afa9b44c2e7"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "d6561d22-3d2f-4d3f-a680-3569e98124c3", "httpRequestId": "7de2d4cd-700a-4a1e-90e5-ac8b13f360ac", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}, {"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": "f0812e74-97ba-4d8f-a449-b9cc0ed100c1", "timestamp": 1685484004048, "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": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, "parent": {"id": "b5874b9b-9e4e-4e73-be91-44b2c76ef99e", "name": "requests", "item": [{"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b3325f3-9a45-45c4-b61e-9c8bef027803"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "49889b84-0e1c-4f35-8b02-5afa9b44c2e7"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "d6561d22-3d2f-4d3f-a680-3569e98124c3", "httpRequestId": "7de2d4cd-700a-4a1e-90e5-ac8b13f360ac", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}, {"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": "44b8fbfa-65ab-4734-8b7f-691da312eb9f", "timestamp": 1685484004052, "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": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, "parent": {"id": "b5874b9b-9e4e-4e73-be91-44b2c76ef99e", "name": "requests", "item": [{"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b3325f3-9a45-45c4-b61e-9c8bef027803"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "49889b84-0e1c-4f35-8b02-5afa9b44c2e7"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "d6561d22-3d2f-4d3f-a680-3569e98124c3", "httpRequestId": "7de2d4cd-700a-4a1e-90e5-ac8b13f360ac", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}, {"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": "8f5630cd-c46d-4efd-90aa-e35118139f29", "timestamp": 1685484004170, "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": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}, "parent": {"id": "b5874b9b-9e4e-4e73-be91-44b2c76ef99e", "name": "requests", "item": [{"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b3325f3-9a45-45c4-b61e-9c8bef027803"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "49889b84-0e1c-4f35-8b02-5afa9b44c2e7"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "805b3f17-6434-433e-a600-b2a8cfaaf944", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "cf170c2d-422e-4a59-8fd5-e089fc828162", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}, {"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": "fcef53b4-c622-449a-a4b3-c48e4ea32c52", "timestamp": 1685484004176, "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": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}, "parent": {"id": "b5874b9b-9e4e-4e73-be91-44b2c76ef99e", "name": "requests", "item": [{"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b3325f3-9a45-45c4-b61e-9c8bef027803"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "49889b84-0e1c-4f35-8b02-5afa9b44c2e7"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "805b3f17-6434-433e-a600-b2a8cfaaf944", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "cf170c2d-422e-4a59-8fd5-e089fc828162", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}, {"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": "9701c248-f3bc-4513-918e-78382ecc773a", "timestamp": 1685484004206, "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": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}, "parent": {"id": "b5874b9b-9e4e-4e73-be91-44b2c76ef99e", "name": "requests", "item": [{"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b3325f3-9a45-45c4-b61e-9c8bef027803"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "49889b84-0e1c-4f35-8b02-5afa9b44c2e7"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "805b3f17-6434-433e-a600-b2a8cfaaf944", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "cf170c2d-422e-4a59-8fd5-e089fc828162", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}, {"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": "115ac097-d7e6-4b57-ad8a-608ec7d962a9", "timestamp": 1685484004208, "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": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}, "parent": {"id": "b5874b9b-9e4e-4e73-be91-44b2c76ef99e", "name": "requests", "item": [{"id": "6972f3ca-eb50-4ff4-b350-385ec497ee84", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "00f8fbfd-e8bd-4b80-aa93-59c536d53bb8", "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": "2c2e9ecb-cbba-49c2-bd20-c67e21b8445d"}}]}, {"id": "78a10f3e-d63a-4ac3-8a91-aa381f744059", "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": "c695568d-e93e-4db1-856e-72fdeecafd8d", "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": "be80ff51-62ce-473c-813c-c5a6d005021b", "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": "5572d67f-462e-43f5-b093-a1646170686f", "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": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "7b3325f3-9a45-45c4-b61e-9c8bef027803"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "49889b84-0e1c-4f35-8b02-5afa9b44c2e7"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "805b3f17-6434-433e-a600-b2a8cfaaf944", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "cf170c2d-422e-4a59-8fd5-e089fc828162", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "145f2c37-2114-4b22-aabd-4e9f5af96c44"}}, {"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": "3721dbf3-ea99-427d-ad09-b9113f11e37d", "timestamp": 1685484004286, "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": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, "parent": {"id": "01276291-13cc-406a-98ea-2498d3fecde1", "name": "requests/{id}", "item": [{"id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, {"id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "4f610a72-1f7d-4aff-a0e0-7c3b73f8bdab", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "58e1137d-5fac-4215-b22f-1f3088922b26", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}, {"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": "1efcfbe8-1fae-4ebe-8841-63ee75ca5c5d", "timestamp": 1685484004288, "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": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, "parent": {"id": "01276291-13cc-406a-98ea-2498d3fecde1", "name": "requests/{id}", "item": [{"id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, {"id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "4f610a72-1f7d-4aff-a0e0-7c3b73f8bdab", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "58e1137d-5fac-4215-b22f-1f3088922b26", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}, {"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": "073c156b-f96d-439b-ab3d-1a3e3658c95d", "timestamp": 1685484004291, "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": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, "parent": {"id": "01276291-13cc-406a-98ea-2498d3fecde1", "name": "requests/{id}", "item": [{"id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, {"id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "4f610a72-1f7d-4aff-a0e0-7c3b73f8bdab", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "58e1137d-5fac-4215-b22f-1f3088922b26", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}, {"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": "04b8c3a5-c9b2-4c49-8e6f-5068f699f2dd", "timestamp": 1685484004361, "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": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}, "parent": {"id": "01276291-13cc-406a-98ea-2498d3fecde1", "name": "requests/{id}", "item": [{"id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, {"id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "5de2cc33-7e3d-44e5-938e-3c19720f42e4", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "7fb428b6-5437-4550-9bf6-01a0e5940c32", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}, {"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": "7e295a12-9d85-419d-9d1d-f491d17d54f1", "timestamp": 1685484004363, "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": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}, "parent": {"id": "01276291-13cc-406a-98ea-2498d3fecde1", "name": "requests/{id}", "item": [{"id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, {"id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "5de2cc33-7e3d-44e5-938e-3c19720f42e4", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "7fb428b6-5437-4550-9bf6-01a0e5940c32", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}, {"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": "ed4c2008-0536-48b6-8981-b84939fb5d62", "timestamp": 1685484004365, "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": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}, "parent": {"id": "01276291-13cc-406a-98ea-2498d3fecde1", "name": "requests/{id}", "item": [{"id": "10d9d2a4-2d63-4e77-a551-1a0411369431", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07ced6f1-e497-4d98-9e2e-9f89453aca35", "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": "05252100-da71-4a25-9b95-87a575d7b2b0", "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": "2fff7939-ed23-4a75-b390-43ab3de4c3f0"}}]}, {"id": "d05cdb85-cd22-435a-8a2e-6a1ccc18ebc1", "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": "11cfffce-b515-4588-b535-9844afcfccdd", "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": "32d4a3a8-c345-41aa-9930-9793f50e4152", "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": "51c064c1-6bca-4285-8512-88edf9560b9c", "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": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "5de2cc33-7e3d-44e5-938e-3c19720f42e4", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "7fb428b6-5437-4550-9bf6-01a0e5940c32", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "cbfff2f5-3973-4ab1-ba57-ccaa2898b21d"}}, {"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": "a278133d-8957-446b-b67e-fc4e42ed994f", "timestamp": 1685484004456, "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": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, "parent": {"id": "1b6eda48-55f7-4c91-9c43-a4e22cf6ffda", "name": "submitters", "item": [{"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "90abfd3b-f2ef-47a3-819a-de691a2b4743", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "73d91c8a-3455-4a0b-a858-9156894cce99", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "cd2468ae-8850-4d27-8832-21962b969d4f"}}, {"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": "bacfbb05-2735-4b04-8169-5567626ffc8a", "timestamp": 1685484004459, "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": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, "parent": {"id": "1b6eda48-55f7-4c91-9c43-a4e22cf6ffda", "name": "submitters", "item": [{"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "90abfd3b-f2ef-47a3-819a-de691a2b4743", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "73d91c8a-3455-4a0b-a858-9156894cce99", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "cd2468ae-8850-4d27-8832-21962b969d4f"}}, {"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": "866cc2a4-edfa-4134-970c-15ad0075aff9", "timestamp": 1685484004461, "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": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, "parent": {"id": "1b6eda48-55f7-4c91-9c43-a4e22cf6ffda", "name": "submitters", "item": [{"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "90abfd3b-f2ef-47a3-819a-de691a2b4743", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "73d91c8a-3455-4a0b-a858-9156894cce99", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "cd2468ae-8850-4d27-8832-21962b969d4f"}}, {"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": "db9a42e8-9789-47e7-874a-d225a0b479f0", "timestamp": 1685484004521, "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": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}, "parent": {"id": "1b6eda48-55f7-4c91-9c43-a4e22cf6ffda", "name": "submitters", "item": [{"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "043a8512-0504-4554-a124-d174b334d72a", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "1ceff53c-2e7c-4016-99f5-a2e79a833241", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "78de7cf2-ea40-470c-a471-60636de22cd6"}}, {"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": "ea5f019f-a761-404f-aaf0-21086bc1238d", "timestamp": 1685484004523, "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": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}, "parent": {"id": "1b6eda48-55f7-4c91-9c43-a4e22cf6ffda", "name": "submitters", "item": [{"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "043a8512-0504-4554-a124-d174b334d72a", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "1ceff53c-2e7c-4016-99f5-a2e79a833241", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "78de7cf2-ea40-470c-a471-60636de22cd6"}}, {"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": "c2f3bc4f-429b-47d2-a4af-335b26b53457", "timestamp": 1685484004535, "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": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}, "parent": {"id": "1b6eda48-55f7-4c91-9c43-a4e22cf6ffda", "name": "submitters", "item": [{"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "043a8512-0504-4554-a124-d174b334d72a", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "1ceff53c-2e7c-4016-99f5-a2e79a833241", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "78de7cf2-ea40-470c-a471-60636de22cd6"}}, {"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": "6174ef58-70a3-40b2-b1b7-e859f580ae97", "timestamp": 1685484004537, "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": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}, "parent": {"id": "1b6eda48-55f7-4c91-9c43-a4e22cf6ffda", "name": "submitters", "item": [{"id": "13d15a8d-7c01-4439-a1d4-6829b1aaea64", "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": "4b24c75b-d351-4644-bcfb-74e85bfbb9cc", "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": "cd2468ae-8850-4d27-8832-21962b969d4f"}}]}, {"id": "6b99f7b5-a18c-44fe-affb-12d10e0d8266", "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": "fda2841a-0537-4f9c-9e0c-1964dcfc61b3", "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": "b1ee8604-9adb-49d4-af21-b36322111d4f", "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": "0a18ea53-d85b-4c9e-8735-09d2229a601a", "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": "78de7cf2-ea40-470c-a471-60636de22cd6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "043a8512-0504-4554-a124-d174b334d72a", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "1ceff53c-2e7c-4016-99f5-a2e79a833241", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "78de7cf2-ea40-470c-a471-60636de22cd6"}}, {"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": "d932cf5d-51b6-4ae4-ace5-6d102d76ed6c", "timestamp": 1685484004600, "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": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, "parent": {"id": "c7946527-ddfc-45fe-b7a9-201e9ed9edd3", "name": "submitters/{id}", "item": [{"id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, {"id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "df4e8e71-8bff-4c60-b89d-a516bb3d655a", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "48ff655d-665b-411f-b09a-32783187a282", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}, {"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": "58c77036-6a0d-4966-851e-1f632d295b46", "timestamp": 1685484004603, "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": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, "parent": {"id": "c7946527-ddfc-45fe-b7a9-201e9ed9edd3", "name": "submitters/{id}", "item": [{"id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, {"id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "df4e8e71-8bff-4c60-b89d-a516bb3d655a", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "48ff655d-665b-411f-b09a-32783187a282", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}, {"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": "d3c66a0b-dcd1-4b23-a81f-2dac21858f2f", "timestamp": 1685484004606, "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": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, "parent": {"id": "c7946527-ddfc-45fe-b7a9-201e9ed9edd3", "name": "submitters/{id}", "item": [{"id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, {"id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "df4e8e71-8bff-4c60-b89d-a516bb3d655a", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "48ff655d-665b-411f-b09a-32783187a282", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}, {"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": "ff19568b-9076-43c2-8b35-608010784068", "timestamp": 1685484004686, "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": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}, "parent": {"id": "c7946527-ddfc-45fe-b7a9-201e9ed9edd3", "name": "submitters/{id}", "item": [{"id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, {"id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "935dc5a1-038f-4c5e-aaf9-64a9691ec2ff", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "fc14b89e-70d5-487e-bbb8-4c73a2ce9af2", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}, {"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": "04dd9369-3dc6-4764-976e-1dac343ce6ea", "timestamp": 1685484004688, "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": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}, "parent": {"id": "c7946527-ddfc-45fe-b7a9-201e9ed9edd3", "name": "submitters/{id}", "item": [{"id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, {"id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "935dc5a1-038f-4c5e-aaf9-64a9691ec2ff", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "fc14b89e-70d5-487e-bbb8-4c73a2ce9af2", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}, {"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": "f17b86ba-457f-47ac-b58b-3126ca7cae7e", "timestamp": 1685484004689, "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": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}, "parent": {"id": "c7946527-ddfc-45fe-b7a9-201e9ed9edd3", "name": "submitters/{id}", "item": [{"id": "ca0a3d27-9cbe-4469-9a52-22d501548e33", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "905a4a90-3dcc-4dbf-8fb2-9e234aab1ad5", "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": "da650de9-7a27-465b-863c-36514eac6aa0", "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": "b2a08c89-4dae-4565-8632-d3510cba3bb1"}}]}, {"id": "84418255-ceb2-48a0-918f-eadf289d0d9b", "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": "40965ac4-1335-45a4-9cfe-18f8dc7bfc41", "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": "ee3ef29f-45c1-4bf5-ac86-6cdfe54b630a", "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": "464e5ed1-6cd0-4cd6-832a-043a63a54caf", "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": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "935dc5a1-038f-4c5e-aaf9-64a9691ec2ff", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "fc14b89e-70d5-487e-bbb8-4c73a2ce9af2", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "d1fc1520-a8f8-4598-b1a8-0cd0a7787175"}}, {"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": "5bd5f0a2-a99d-45b6-9c6f-45de5091ffd9", "timestamp": 1685484004793, "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": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, "parent": {"id": "5853c741-3c7f-45ba-be7a-7e8da2e5db87", "name": "labels", "item": [{"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "740d8045-1818-473d-91fa-6b02c9dd3d48", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "67190455-8a8d-4293-ac41-fd91f5fc1e24", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}, {"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": "34fab652-4f2e-4207-8e77-6a9496cec7d7", "timestamp": 1685484004795, "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": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, "parent": {"id": "5853c741-3c7f-45ba-be7a-7e8da2e5db87", "name": "labels", "item": [{"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "740d8045-1818-473d-91fa-6b02c9dd3d48", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "67190455-8a8d-4293-ac41-fd91f5fc1e24", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}, {"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": "350d31b1-ec19-4a78-8730-0df22657e380", "timestamp": 1685484004797, "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": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, "parent": {"id": "5853c741-3c7f-45ba-be7a-7e8da2e5db87", "name": "labels", "item": [{"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "740d8045-1818-473d-91fa-6b02c9dd3d48", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "67190455-8a8d-4293-ac41-fd91f5fc1e24", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}, {"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": "4b6d2df5-6ee9-464a-bc69-82e2f0fb2df9", "timestamp": 1685484004892, "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": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}, "parent": {"id": "5853c741-3c7f-45ba-be7a-7e8da2e5db87", "name": "labels", "item": [{"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e72f5e6a-14ab-492a-98a4-0396a4c3394e", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "cb457efc-1fd8-4938-9b2c-15ec9da0dd37", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}, {"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": "3e8b85c7-cfd9-4ba2-bf78-40bf275fa929", "timestamp": 1685484004894, "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": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}, "parent": {"id": "5853c741-3c7f-45ba-be7a-7e8da2e5db87", "name": "labels", "item": [{"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e72f5e6a-14ab-492a-98a4-0396a4c3394e", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "cb457efc-1fd8-4938-9b2c-15ec9da0dd37", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}, {"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": "6b922344-b155-4efe-a6cd-bb59696536e5", "timestamp": 1685484004906, "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": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}, "parent": {"id": "5853c741-3c7f-45ba-be7a-7e8da2e5db87", "name": "labels", "item": [{"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e72f5e6a-14ab-492a-98a4-0396a4c3394e", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "cb457efc-1fd8-4938-9b2c-15ec9da0dd37", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}, {"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": "ef6af5b3-f4d9-4353-b24a-cf3edd2f3919", "timestamp": 1685484004907, "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": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}, "parent": {"id": "5853c741-3c7f-45ba-be7a-7e8da2e5db87", "name": "labels", "item": [{"id": "df03df53-0edf-46dc-8e5e-f2fce77fd251", "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": "01a99d03-32c0-4c9a-9089-f08681f84571", "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": "f0a58cb4-cad2-4a85-b8ef-53acc32c4655"}}]}, {"id": "a2199155-155f-4e76-8bd3-d077beda7d92", "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": "2b9e68c9-86e3-4df3-814a-cb8de26a8023", "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": "e1cb6382-0bd6-4a1e-b687-bfa7874462fd", "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": "bbefcad7-bd85-446b-95b5-7bc02d3f3703", "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": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e72f5e6a-14ab-492a-98a4-0396a4c3394e", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "cb457efc-1fd8-4938-9b2c-15ec9da0dd37", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "ec2468ed-1980-40e9-8a53-59e9f951c5a1"}}, {"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": "72445dba-9552-424f-9ddc-476a274fa461", "timestamp": 1685484004989, "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": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, "parent": {"id": "184c7bb4-e2c6-4ce2-9c39-8914a8bfef4d", "name": "labels/{id}", "item": [{"id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, {"id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c391120b-2990-4f9d-897e-b06aeb4a86b2", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "78dd336a-e762-4043-92f2-6a57aa1aa468", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "7e7334db-ff0f-453f-b814-af360c9208c5"}}, {"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": "c36e6916-c117-49eb-98b0-7c7be287b1ab", "timestamp": 1685484004991, "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": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, "parent": {"id": "184c7bb4-e2c6-4ce2-9c39-8914a8bfef4d", "name": "labels/{id}", "item": [{"id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, {"id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c391120b-2990-4f9d-897e-b06aeb4a86b2", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "78dd336a-e762-4043-92f2-6a57aa1aa468", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "7e7334db-ff0f-453f-b814-af360c9208c5"}}, {"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": "f0969267-4cf9-4893-8a34-4eae058663ed", "timestamp": 1685484004993, "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": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, "parent": {"id": "184c7bb4-e2c6-4ce2-9c39-8914a8bfef4d", "name": "labels/{id}", "item": [{"id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, {"id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c391120b-2990-4f9d-897e-b06aeb4a86b2", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "78dd336a-e762-4043-92f2-6a57aa1aa468", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "7e7334db-ff0f-453f-b814-af360c9208c5"}}, {"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": "2f839fea-b8cd-4175-87a2-fa81c2462538", "timestamp": 1685484005067, "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": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}, "parent": {"id": "184c7bb4-e2c6-4ce2-9c39-8914a8bfef4d", "name": "labels/{id}", "item": [{"id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, {"id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "52d1c277-354d-42f1-9bf5-68aa03df3a13", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "7a4ced68-7e41-4f0b-a196-574010b9ded4", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}, {"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": "f6897fbb-1fb9-4916-9569-2629cd919320", "timestamp": 1685484005069, "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": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}, "parent": {"id": "184c7bb4-e2c6-4ce2-9c39-8914a8bfef4d", "name": "labels/{id}", "item": [{"id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, {"id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "52d1c277-354d-42f1-9bf5-68aa03df3a13", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "7a4ced68-7e41-4f0b-a196-574010b9ded4", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}, {"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": "bc8cd049-3824-4e0b-9b07-ef7c508cb3eb", "timestamp": 1685484005071, "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": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}, "parent": {"id": "184c7bb4-e2c6-4ce2-9c39-8914a8bfef4d", "name": "labels/{id}", "item": [{"id": "4b67888f-8d0d-4ab2-b96d-b412500437dd", "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": "8e7517a5-e2f0-4e40-a4f7-2ade7a76324f", "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": "0aa7a972-ed0d-4150-afe1-77a0a7204bb1", "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": "7e7334db-ff0f-453f-b814-af360c9208c5"}}]}, {"id": "af1d9f64-d0d1-46f8-b003-78cdf7e5e044", "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": "515a1679-0616-46f1-8eba-e08144dc889c", "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": "7fc620a9-6ae0-458c-9a03-72c4175833c4", "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": "1f4eeaff-df7f-4edd-95af-a049ca884c7b", "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": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "52d1c277-354d-42f1-9bf5-68aa03df3a13", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "7a4ced68-7e41-4f0b-a196-574010b9ded4", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "fb921ca6-f685-48f6-a17e-88f930316ecc"}}, {"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": "b87db103-70c2-418a-9635-0f7c93631df5", "timestamp": 1685484005180, "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": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, "parent": {"id": "f0d63987-eba1-4a74-9b0d-adff94d401d8", "name": "roles", "item": [{"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3ac3cf3f-7069-4399-a6ab-a2395e56a17c", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "0cf7525b-08d2-493a-b607-9fe36cd94cca", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}, {"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": "6367a535-99ac-4c14-a60b-10e7932b542d", "timestamp": 1685484005181, "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": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, "parent": {"id": "f0d63987-eba1-4a74-9b0d-adff94d401d8", "name": "roles", "item": [{"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3ac3cf3f-7069-4399-a6ab-a2395e56a17c", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "0cf7525b-08d2-493a-b607-9fe36cd94cca", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}, {"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": "f0d7a806-8d3e-4779-9c0c-278bf3e148a8", "timestamp": 1685484005183, "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": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, "parent": {"id": "f0d63987-eba1-4a74-9b0d-adff94d401d8", "name": "roles", "item": [{"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3ac3cf3f-7069-4399-a6ab-a2395e56a17c", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "0cf7525b-08d2-493a-b607-9fe36cd94cca", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}, {"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": "8d2840ae-5e5f-41d6-a82d-b39dcce2a506", "timestamp": 1685484005247, "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": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}, "parent": {"id": "f0d63987-eba1-4a74-9b0d-adff94d401d8", "name": "roles", "item": [{"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0dcbcc75-16c9-4e54-9de8-cf570e1f5162", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "e2e15bee-ca7a-4fdd-b7f7-9903deab6833", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}, {"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": "963e9c41-550a-43ad-b87c-58b4bf323938", "timestamp": 1685484005249, "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": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}, "parent": {"id": "f0d63987-eba1-4a74-9b0d-adff94d401d8", "name": "roles", "item": [{"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0dcbcc75-16c9-4e54-9de8-cf570e1f5162", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "e2e15bee-ca7a-4fdd-b7f7-9903deab6833", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}, {"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": "629a39b0-0654-41ef-a247-eafde891558d", "timestamp": 1685484005266, "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": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}, "parent": {"id": "f0d63987-eba1-4a74-9b0d-adff94d401d8", "name": "roles", "item": [{"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0dcbcc75-16c9-4e54-9de8-cf570e1f5162", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "e2e15bee-ca7a-4fdd-b7f7-9903deab6833", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}, {"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": "25ebdb41-188e-4856-8a11-483253adcc67", "timestamp": 1685484005267, "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": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}, "parent": {"id": "f0d63987-eba1-4a74-9b0d-adff94d401d8", "name": "roles", "item": [{"id": "4714adb3-a5b9-4b7c-a5e0-fefbaeb5075d", "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": "9053b954-3b15-485c-b63d-999887dc8040", "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": "7d699188-0c1b-4c6f-be3e-1be4e92afb88"}}]}, {"id": "a7d57cba-9b8c-4bfc-b96f-34a0215aee0c", "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": "e8639ff6-b053-4c41-ac0a-9636a332a53a", "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": "b5cd2c34-d7fe-4b77-bdf1-d9835f8a603a", "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": "08af8cc0-d54d-49b6-8a9d-4fcfa4155116", "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": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0dcbcc75-16c9-4e54-9de8-cf570e1f5162", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "e2e15bee-ca7a-4fdd-b7f7-9903deab6833", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "ece44779-7c1c-46ea-8abf-d1e64da741aa"}}, {"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": "7adb3733-7ab7-404f-917f-7f5b747ba72d", "timestamp": 1685484005343, "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": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, "parent": {"id": "80bc16a4-e66f-4338-8bd3-880e658f2ed6", "name": "roles/{id}", "item": [{"id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, {"id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "bdb8256e-5cbc-457d-b556-bc9e53964024", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "8fa40543-c4dd-4d6e-af35-3cac925059e2", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}, {"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": "278fb763-2b23-4122-ac1a-8bf3f61c9f3f", "timestamp": 1685484005345, "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": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, "parent": {"id": "80bc16a4-e66f-4338-8bd3-880e658f2ed6", "name": "roles/{id}", "item": [{"id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, {"id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "bdb8256e-5cbc-457d-b556-bc9e53964024", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "8fa40543-c4dd-4d6e-af35-3cac925059e2", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}, {"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": "43c50f04-53c4-4d1f-a98f-07ea3e5ba76d", "timestamp": 1685484005347, "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": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, "parent": {"id": "80bc16a4-e66f-4338-8bd3-880e658f2ed6", "name": "roles/{id}", "item": [{"id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, {"id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "bdb8256e-5cbc-457d-b556-bc9e53964024", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "8fa40543-c4dd-4d6e-af35-3cac925059e2", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}, {"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": "e9c5f04a-ac17-4f4e-95a5-4210809cb80e", "timestamp": 1685484005482, "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": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}, "parent": {"id": "80bc16a4-e66f-4338-8bd3-880e658f2ed6", "name": "roles/{id}", "item": [{"id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, {"id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3694e891-8dc3-4cca-b0f8-c3ab0c488b6d", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "231a07f8-abe9-484f-bfb4-ae59123bd000", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}, {"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": "19ee6394-e80c-482a-ba28-a8f5ac8684a7", "timestamp": 1685484005492, "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": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}, "parent": {"id": "80bc16a4-e66f-4338-8bd3-880e658f2ed6", "name": "roles/{id}", "item": [{"id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, {"id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3694e891-8dc3-4cca-b0f8-c3ab0c488b6d", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "231a07f8-abe9-484f-bfb4-ae59123bd000", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}, {"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": "c3376583-f7fe-4c7c-a67d-1e97eb824faf", "timestamp": 1685484005495, "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": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}, "parent": {"id": "80bc16a4-e66f-4338-8bd3-880e658f2ed6", "name": "roles/{id}", "item": [{"id": "922ac142-be7c-4687-981c-06fd7c480388", "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": "4acee384-d43a-483f-b776-a5c3db9d016d", "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": "7078f669-76b4-4346-b9de-8232e9796af1", "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": "6c41ef9d-94fe-4bce-94d7-a500c56d6436"}}]}, {"id": "8bfb736f-c350-4f8a-8700-45756960a28f", "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": "a96439a2-69db-423f-b471-99eb946f3a88", "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": "6f7b89da-c083-44c7-a160-27d0bc9d0cb1", "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": "4411b2b6-15bc-430b-a5c7-80c71d6aa572", "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": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3694e891-8dc3-4cca-b0f8-c3ab0c488b6d", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "231a07f8-abe9-484f-bfb4-ae59123bd000", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "ae8781d8-6c83-422f-be40-ee0f4d68211a"}}, {"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": "2898fb7b-3580-4ea8-befa-48907da24bed", "timestamp": 1685484005550, "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": "ece91414-ccb8-4872-b102-898ff5546751", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "5913c086-9594-40bf-8520-56063d4a1cc0", "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": "901f9e33-c0a5-443e-a6cc-4ce6a7492cc6", "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": "ec30e27d-8bab-43d4-9202-72acca6fc06a"}}]}, "parent": {"id": "07f2cbf0-5dab-44c9-a1b5-1451c8d93e39", "name": "Clear up", "item": [{"id": "ece91414-ccb8-4872-b102-898ff5546751", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "5913c086-9594-40bf-8520-56063d4a1cc0", "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": "901f9e33-c0a5-443e-a6cc-4ce6a7492cc6", "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": "ec30e27d-8bab-43d4-9202-72acca6fc06a"}}]}, {"id": "dbba97db-5719-4297-875a-04103ef3d58f", "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": "e3858e31-ded8-40e9-9aa8-31aaf0c58a9d", "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": "5767da8b-5d87-4574-af43-15f059324dc2", "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": "c4fd056c-4aa6-466a-afb6-7e93dcdb79b6"}}]}, {"id": "ec26a5c5-a19d-4bf9-94b6-09c9ea0b37b6", "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": "904d9a46-a520-4fd2-9673-1c5853d37a39", "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": "2533bc0f-6aca-4b08-b615-f2f1f36d20e9", "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": "98dd898f-9a73-4a01-80d3-549a30f8339e"}}]}, {"id": "97da86ef-fcf9-4342-8f78-fab37704ff50", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07b79430-4b1b-428b-a48b-c8a1eb3e6849", "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": "b4c3d35a-59d1-4c42-a355-83b1805e76d4", "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": "1205359b-1fbb-41ad-828b-c32c103259e8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "621f3669-7cae-4e67-8a4c-64edc8f3c15e", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "445c21cd-6ac8-4d6a-bcb6-5092ac8fa353", "scriptId": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "execution": "ec30e27d-8bab-43d4-9202-72acca6fc06a"}}, {"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": "513083d6-a04e-4aee-aa03-4af5e39ac270", "timestamp": 1685484005638, "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": "dbba97db-5719-4297-875a-04103ef3d58f", "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": "e3858e31-ded8-40e9-9aa8-31aaf0c58a9d", "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": "5767da8b-5d87-4574-af43-15f059324dc2", "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": "c4fd056c-4aa6-466a-afb6-7e93dcdb79b6"}}]}, "parent": {"id": "07f2cbf0-5dab-44c9-a1b5-1451c8d93e39", "name": "Clear up", "item": [{"id": "ece91414-ccb8-4872-b102-898ff5546751", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "5913c086-9594-40bf-8520-56063d4a1cc0", "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": "901f9e33-c0a5-443e-a6cc-4ce6a7492cc6", "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": "ec30e27d-8bab-43d4-9202-72acca6fc06a"}}]}, {"id": "dbba97db-5719-4297-875a-04103ef3d58f", "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": "e3858e31-ded8-40e9-9aa8-31aaf0c58a9d", "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": "5767da8b-5d87-4574-af43-15f059324dc2", "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": "c4fd056c-4aa6-466a-afb6-7e93dcdb79b6"}}]}, {"id": "ec26a5c5-a19d-4bf9-94b6-09c9ea0b37b6", "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": "904d9a46-a520-4fd2-9673-1c5853d37a39", "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": "2533bc0f-6aca-4b08-b615-f2f1f36d20e9", "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": "98dd898f-9a73-4a01-80d3-549a30f8339e"}}]}, {"id": "97da86ef-fcf9-4342-8f78-fab37704ff50", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07b79430-4b1b-428b-a48b-c8a1eb3e6849", "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": "b4c3d35a-59d1-4c42-a355-83b1805e76d4", "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": "1205359b-1fbb-41ad-828b-c32c103259e8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "f68a7e15-122c-4b3f-8be6-c3b374a264d5", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "11c07493-e91e-4901-be31-e5074bc00462", "scriptId": "61d37bcf-e148-4345-bef7-7dfb628bc585", "execution": "c4fd056c-4aa6-466a-afb6-7e93dcdb79b6"}}, {"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": "eabda86b-9048-4f8d-8d35-d0be281e3cb4", "timestamp": 1685484005760, "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": "ec26a5c5-a19d-4bf9-94b6-09c9ea0b37b6", "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": "904d9a46-a520-4fd2-9673-1c5853d37a39", "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": "2533bc0f-6aca-4b08-b615-f2f1f36d20e9", "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": "98dd898f-9a73-4a01-80d3-549a30f8339e"}}]}, "parent": {"id": "07f2cbf0-5dab-44c9-a1b5-1451c8d93e39", "name": "Clear up", "item": [{"id": "ece91414-ccb8-4872-b102-898ff5546751", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "5913c086-9594-40bf-8520-56063d4a1cc0", "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": "901f9e33-c0a5-443e-a6cc-4ce6a7492cc6", "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": "ec30e27d-8bab-43d4-9202-72acca6fc06a"}}]}, {"id": "dbba97db-5719-4297-875a-04103ef3d58f", "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": "e3858e31-ded8-40e9-9aa8-31aaf0c58a9d", "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": "5767da8b-5d87-4574-af43-15f059324dc2", "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": "c4fd056c-4aa6-466a-afb6-7e93dcdb79b6"}}]}, {"id": "ec26a5c5-a19d-4bf9-94b6-09c9ea0b37b6", "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": "904d9a46-a520-4fd2-9673-1c5853d37a39", "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": "2533bc0f-6aca-4b08-b615-f2f1f36d20e9", "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": "98dd898f-9a73-4a01-80d3-549a30f8339e"}}]}, {"id": "97da86ef-fcf9-4342-8f78-fab37704ff50", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07b79430-4b1b-428b-a48b-c8a1eb3e6849", "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": "b4c3d35a-59d1-4c42-a355-83b1805e76d4", "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": "1205359b-1fbb-41ad-828b-c32c103259e8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b32fc24e-4502-479b-a040-140030d7c8cc", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "ec0ae017-4db0-4dad-b172-89ba9669a36f", "scriptId": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "execution": "98dd898f-9a73-4a01-80d3-549a30f8339e"}}, {"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": "b24cc84c-68d5-4082-99af-7e189efc6329", "timestamp": 1685484005843, "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": "97da86ef-fcf9-4342-8f78-fab37704ff50", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07b79430-4b1b-428b-a48b-c8a1eb3e6849", "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": "b4c3d35a-59d1-4c42-a355-83b1805e76d4", "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": "1205359b-1fbb-41ad-828b-c32c103259e8"}}]}, "parent": {"id": "07f2cbf0-5dab-44c9-a1b5-1451c8d93e39", "name": "Clear up", "item": [{"id": "ece91414-ccb8-4872-b102-898ff5546751", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "5913c086-9594-40bf-8520-56063d4a1cc0", "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": "901f9e33-c0a5-443e-a6cc-4ce6a7492cc6", "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": "ec30e27d-8bab-43d4-9202-72acca6fc06a"}}]}, {"id": "dbba97db-5719-4297-875a-04103ef3d58f", "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": "e3858e31-ded8-40e9-9aa8-31aaf0c58a9d", "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": "5767da8b-5d87-4574-af43-15f059324dc2", "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": "c4fd056c-4aa6-466a-afb6-7e93dcdb79b6"}}]}, {"id": "ec26a5c5-a19d-4bf9-94b6-09c9ea0b37b6", "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": "904d9a46-a520-4fd2-9673-1c5853d37a39", "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": "2533bc0f-6aca-4b08-b615-f2f1f36d20e9", "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": "98dd898f-9a73-4a01-80d3-549a30f8339e"}}]}, {"id": "97da86ef-fcf9-4342-8f78-fab37704ff50", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "07b79430-4b1b-428b-a48b-c8a1eb3e6849", "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": "b4c3d35a-59d1-4c42-a355-83b1805e76d4", "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": "1205359b-1fbb-41ad-828b-c32c103259e8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "61fc19f1-ad7d-4381-a641-18ba5df13d87", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "80026de4-646e-49b8-bf74-e4f7da8e4723", "scriptId": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "execution": "1205359b-1fbb-41ad-828b-c32c103259e8"}}], "error": null}}