{"collection": {"_": {"postman_id": "fede9159-9c64-4b1e-b5b0-6422b1e6eb8a"}, "item": [{"id": "789be129-a761-4bca-ac61-129e8c42935c", "name": "requests", "item": [{"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "2a9236e0-c160-4e3a-a933-e5da873ae38f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "5c5f8f07-0ddb-42ec-945b-d6defe17d503"}}], "protocolProfileBehavior": {}}, {"id": "8374b1bb-9f59-48c6-a121-86c7297c5373", "name": "requests/{id}", "item": [{"id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, {"id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "48a6e669-1515-40dc-bb7b-483f511b3908", "name": "submitters", "item": [{"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "9e5eaee8-ae67-4c3f-a8ec-ebee2573266d", "name": "submitters/{id}", "item": [{"id": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, {"id": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "c0c6a48a-29bd-4400-bdfe-2ce3b6b5c4e9", "name": "labels", "item": [{"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "5f81570e-ac48-464a-ae74-f83329418641", "name": "labels/{id}", "item": [{"id": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, {"id": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "a6abbfe5-00e3-4c33-aa7b-c81223c6ff2a", "name": "roles", "item": [{"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "519791d8-95f7-4972-83cd-a6fd0e13420e", "name": "roles/{id}", "item": [{"id": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, {"id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "d1c3ffaa-762f-487d-b1d1-4081f96c53ea", "name": "Clear up", "item": [{"id": "edab2663-0c69-4688-9336-0faf4fa23c92", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "6686fe0a-7242-4f4c-b90a-cdb21e416042", "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": "02dfeb99-ffcd-4a6c-8e35-79235660cc82", "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": "7a0e8c51-7ee0-4855-a91e-260d759337e3"}}]}, {"id": "64ec4622-f529-4f3c-8889-457ca82b4bc4", "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": "0839faaa-1b3b-4074-9d6f-50e051a77fde", "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": "b36d0a0a-b711-4c0c-9d74-2b886e65417d", "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": "92b73f79-6a41-489e-a0dc-7d95c3efe959"}}]}, {"id": "3861b85f-bf0a-461b-848f-a84df4c3a709", "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": "e86d6581-d044-44e6-9b74-126be1561d38", "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": "ed1944e3-7143-4d85-a8b1-70b3728e8e88", "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": "e7cb9ad9-aaac-4a77-b6aa-dfeff7e9d5d2"}}]}, {"id": "891b394a-7745-44b6-8fb3-9daf1e5febb8", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "21c11b91-1d14-44eb-bade-950f96cbb1a6", "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": "7e8d42c3-9e78-4135-9e8a-c972aa4d1ba3", "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": "89ce2f99-3615-4429-b0aa-f1e8a5927f78"}}]}], "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": "5f42417d-b879-4df0-a929-557db95a049a"}}, {"listen": "test", "script": {"id": "d13b04df-6cff-4412-aac7-91ad0bb09595", "type": "text/javascript", "exec": [""], "_lastExecutionId": "66a5bdd9-534a-4533-83aa-3d4153c525c3"}}], "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": "4af91f28-046f-41b0-b0cf-120ff58eb77b", "values": []}, "globals": {"id": "1eb329b4-3fdb-4098-b4f0-c1e0ca858435", "values": []}, "run": {"stats": {"iterations": {"total": 1, "pending": 0, "failed": 0}, "items": {"total": 20, "pending": 0, "failed": 0}, "scripts": {"total": 64, "pending": 0, "failed": 0}, "prerequests": {"total": 20, "pending": 0, "failed": 0}, "requests": {"total": 20, "pending": 0, "failed": 0}, "tests": {"total": 20, "pending": 0, "failed": 0}, "assertions": {"total": 56, "pending": 0, "failed": 56}, "testScripts": {"total": 42, "pending": 0, "failed": 0}, "prerequestScripts": {"total": 22, "pending": 0, "failed": 0}}, "timings": {"responseAverage": 27.2, "responseMin": 10, "responseMax": 231, "responseSd": 47.19067704536564, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1685311203742, "completed": 1685311205968}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "4d7429c2-da3b-4b1e-89ea-66cb55cafc17", "httpRequestId": "a5122be7-19b9-443c-b049-c2e8fde16fb9"}, "item": {"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, "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": "dc68f1d8-8891-4be2-9aa5-a4890cde2897", "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": "697fb866-cca3-43c3-b4e2-079aa0ba75e8", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": 231, "responseSize": 2538}, "id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "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": "cdad8313-3d3c-4403-8eb2-8fd290fe902d", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "80610b6d-2d84-40d2-ae15-5fafe4045cfd"}, "item": {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}, "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": "486ae8df-987a-41cb-9b6e-d2a8738284c1", "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": "63b576cf-e93a-4848-834b-f1d439897f29", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": 21, "responseSize": 2538}, "id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "8ed990bd-a573-4ca1-9179-3f38c89723cc", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "1b312524-554a-40ce-88d5-8122a5a226c3"}, "item": {"id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, "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": "db80b042-411b-4e23-bf97-7e3909641b47", "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": "827ed85b-6299-4f7e-b161-0747f2533fbc", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": 41, "responseSize": 2538}, "id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "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": "7996bfc7-ef3a-4f67-90e5-4c832a4c2522", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "f1dcd19e-4756-4bb3-bbc2-e11b185b4bae"}, "item": {"id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}, "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": "af46e9be-e38a-44c5-bd15-9e8b564ae8e6", "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": "a3dff39a-3df7-4d1e-bf13-5bc65da5804f", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": 16, "responseSize": 2538}, "id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "b71f981c-9edc-416c-a062-cd2e94a9f7e5", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "ed1ee579-a2f5-4bb1-9f73-431603fd3dcd"}, "item": {"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, "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": "4b6ecc6b-c8bb-463e-8667-7e7eec54a9f2", "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": "eb319618-6020-4fbd-95d0-303f6609aa67", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "a6f2a4bd-b7c4-4f78-adf5-4f57e2cfe3db", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "94f82673-53f3-4d1c-bfbf-54ed0ea126aa"}, "item": {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}, "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": "43413476-41cb-4ac8-8388-d31cc7c904c7", "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": "0a0ab33d-d3c9-4a8a-986f-db0eb4ad4f50", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6ccb531e-3524-4c84-b9f6-a4ed6aa408ec", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "6d33d87c-c15e-45e8-a40a-f73023e5270f"}, "item": {"id": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, "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": "fe4afd15-fe09-4646-b4b2-73dcb70bc571", "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": "00a644ba-b37b-471e-8608-f85913b47ae7", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "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": "075ecaf6-5379-42d0-b7d7-50cb2e281eb2", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "5d659e5f-352b-4ab5-bb68-2fc7a2983d34"}, "item": {"id": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}, "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": "a4dd8619-8154-4f11-9fea-7be14dfee215", "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": "c743f4be-d2f0-4836-96d8-fc7ecd4cfedd", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "16b624c5-69d6-4710-8aae-ce8013d3d9d7", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "fa62be1f-1067-49e0-81c5-8fd129bd16b5"}, "item": {"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, "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": "04587373-b91f-4961-9fb9-55796fc72727", "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": "00f60487-83a9-4341-b7fe-5091042a536a", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": 17, "responseSize": 2538}, "id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "b88b4249-08b3-4fc6-ac6c-5d81816d5803", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "35994363-377d-4e16-8693-e3fdd49f7136"}, "item": {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}, "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": "888e9b4d-aaed-41b9-a48f-766f51380ff6", "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": "8fb0c312-bd8e-4a81-8b52-6e6c9c7807ff", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 16, "responseSize": 2538}, "id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "14f8cfda-4586-4988-bc60-ebc2da7d141b", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "a458ff07-634e-41b6-9452-a36af164dab4"}, "item": {"id": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, "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": "3775efaf-ee4d-48f6-8439-f83bf74c6fb8", "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": "2c7e081e-b100-4e49-b83f-ef9211d6fc37", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "0eb4fea5-e37c-448a-a186-aeb19f4bbf22", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "ee4d8d2e-e01b-4162-bf51-ccaf8ae32b53"}, "item": {"id": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}, "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": "3e4bab42-f59e-4034-b999-bd4dbe5f4103", "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": "0bcce83a-f742-425e-a99d-17bc84757aa7", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "2b1940d2-e562-4998-a235-5b54703019b6", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "723be70c-ad86-42f6-af09-c46a2be02b39"}, "item": {"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, "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": "acc55998-6732-4d39-b158-1b11ea689965", "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": "6378a077-8653-4e4c-a7b9-0a72387f2d1a", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": 15, "responseSize": 2538}, "id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "ccd857bb-7786-4d75-a247-fc4d65b1767f", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "80730d6f-7192-43b2-bac6-76155450446a"}, "item": {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}, "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": "ad828076-74e8-44b0-9e4f-db4f6bc0b873", "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": "ac15d800-416f-4335-8a44-efde50b163d2", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "c341b649-0746-4981-b543-15724f28242b", "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": "fe208792-49e9-4017-94f9-a8127204bc8e", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "370bdf16-6988-4949-a828-74e0ec10baba"}, "item": {"id": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, "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": "4b9042cd-eebf-46b9-ba17-4675e39a698e", "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": "a1614834-6646-4538-b482-753983f9e1c9", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "8f8010ea-1230-47a7-bf8a-f2f5a69a31a9", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "4c85ed9c-1d42-4d54-8935-77261c730f24"}, "item": {"id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}, "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": "03a059c1-5065-4786-896b-2796477f0fe2", "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": "f9182962-387c-49eb-801b-8719bbc28245", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 May 2023 22:00:05 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 16, "responseSize": 2538}, "id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "7afe1c0d-e770-442e-b07a-a20816b646a0", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "f43de135-4c02-44e4-ad36-1ad1441c0f56"}, "item": {"id": "edab2663-0c69-4688-9336-0faf4fa23c92", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "6686fe0a-7242-4f4c-b90a-cdb21e416042", "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": "02dfeb99-ffcd-4a6c-8e35-79235660cc82", "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": "7a0e8c51-7ee0-4855-a91e-260d759337e3"}}]}, "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": "ee69fbf9-5fbc-4de7-8b55-78d4bf6a9e30", "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": "1947f824-d0ed-4083-8b35-802f25d82817", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": 15, "responseSize": 2538}, "id": "edab2663-0c69-4688-9336-0faf4fa23c92", "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": "ab5973e9-f10a-4539-9b6c-7bb0e5411558", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "75378743-fda5-4e49-8716-523cc0c50b83"}, "item": {"id": "64ec4622-f529-4f3c-8889-457ca82b4bc4", "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": "0839faaa-1b3b-4074-9d6f-50e051a77fde", "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": "b36d0a0a-b711-4c0c-9d74-2b886e65417d", "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": "92b73f79-6a41-489e-a0dc-7d95c3efe959"}}]}, "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": "25b64f3a-1b75-4d10-ad4e-549a575dfe76", "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": "f62586bf-9fa3-4466-8fe3-045ffb404fba", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "64ec4622-f529-4f3c-8889-457ca82b4bc4", "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": "943ba5ed-5fdf-4c9d-8f6c-689a2b2d0d28", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "54783769-9405-4281-92aa-340d873f8983"}, "item": {"id": "3861b85f-bf0a-461b-848f-a84df4c3a709", "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": "e86d6581-d044-44e6-9b74-126be1561d38", "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": "ed1944e3-7143-4d85-a8b1-70b3728e8e88", "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": "e7cb9ad9-aaac-4a77-b6aa-dfeff7e9d5d2"}}]}, "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": "656963c9-8c10-422b-b926-9d64ffb59652", "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": "b7137d3a-c4b9-419d-aace-4d9e39be655b", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "3861b85f-bf0a-461b-848f-a84df4c3a709", "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": "afabc989-1104-4f47-8de4-68e6c0ac2424", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "defce456-fefc-4a46-849b-348bcc1f285e"}, "item": {"id": "891b394a-7745-44b6-8fb3-9daf1e5febb8", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "21c11b91-1d14-44eb-bade-950f96cbb1a6", "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": "7e8d42c3-9e78-4135-9e8a-c972aa4d1ba3", "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": "89ce2f99-3615-4429-b0aa-f1e8a5927f78"}}]}, "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": "d32645b3-a2d2-40de-b8b5-6b50c863364a", "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": "c1016d02-a614-42f3-96ff-be0858487de0", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sun, 28 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": "891b394a-7745-44b6-8fb3-9daf1e5febb8", "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": "29b5ab5f-ffa7-47c9-ae0e-e6319c46d5c1", "timestamp": 1685311204145, "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": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, "parent": {"id": "789be129-a761-4bca-ac61-129e8c42935c", "name": "requests", "item": [{"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "2a9236e0-c160-4e3a-a933-e5da873ae38f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "5c5f8f07-0ddb-42ec-945b-d6defe17d503"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "4d7429c2-da3b-4b1e-89ea-66cb55cafc17", "httpRequestId": "a5122be7-19b9-443c-b049-c2e8fde16fb9", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "a70243fd-54eb-4c18-9c57-00a42e682425"}}, {"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": "d229cbe6-8761-4e4f-902f-070a0313bea3", "timestamp": 1685311204152, "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": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, "parent": {"id": "789be129-a761-4bca-ac61-129e8c42935c", "name": "requests", "item": [{"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "2a9236e0-c160-4e3a-a933-e5da873ae38f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "5c5f8f07-0ddb-42ec-945b-d6defe17d503"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "4d7429c2-da3b-4b1e-89ea-66cb55cafc17", "httpRequestId": "a5122be7-19b9-443c-b049-c2e8fde16fb9", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "a70243fd-54eb-4c18-9c57-00a42e682425"}}, {"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": "667fc5fa-6f32-4147-a3e4-d11c01a4afc1", "timestamp": 1685311204159, "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": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, "parent": {"id": "789be129-a761-4bca-ac61-129e8c42935c", "name": "requests", "item": [{"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "2a9236e0-c160-4e3a-a933-e5da873ae38f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "5c5f8f07-0ddb-42ec-945b-d6defe17d503"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "4d7429c2-da3b-4b1e-89ea-66cb55cafc17", "httpRequestId": "a5122be7-19b9-443c-b049-c2e8fde16fb9", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "a70243fd-54eb-4c18-9c57-00a42e682425"}}, {"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": "206acc64-3285-4e0a-a65d-a6547a7ed47f", "timestamp": 1685311204284, "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": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}, "parent": {"id": "789be129-a761-4bca-ac61-129e8c42935c", "name": "requests", "item": [{"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "2a9236e0-c160-4e3a-a933-e5da873ae38f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "5c5f8f07-0ddb-42ec-945b-d6defe17d503"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "cdad8313-3d3c-4403-8eb2-8fd290fe902d", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "80610b6d-2d84-40d2-ae15-5fafe4045cfd", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "d80e27d6-746a-4e33-a876-40d14f407380"}}, {"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": "dea987fa-c0e6-4ded-9f9d-b4134e8064e7", "timestamp": 1685311204286, "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": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}, "parent": {"id": "789be129-a761-4bca-ac61-129e8c42935c", "name": "requests", "item": [{"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "2a9236e0-c160-4e3a-a933-e5da873ae38f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "5c5f8f07-0ddb-42ec-945b-d6defe17d503"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "cdad8313-3d3c-4403-8eb2-8fd290fe902d", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "80610b6d-2d84-40d2-ae15-5fafe4045cfd", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "d80e27d6-746a-4e33-a876-40d14f407380"}}, {"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": "9ea9702c-b889-4439-bdb7-28669397921b", "timestamp": 1685311204319, "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": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}, "parent": {"id": "789be129-a761-4bca-ac61-129e8c42935c", "name": "requests", "item": [{"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "2a9236e0-c160-4e3a-a933-e5da873ae38f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "5c5f8f07-0ddb-42ec-945b-d6defe17d503"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "cdad8313-3d3c-4403-8eb2-8fd290fe902d", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "80610b6d-2d84-40d2-ae15-5fafe4045cfd", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "d80e27d6-746a-4e33-a876-40d14f407380"}}, {"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": "f7df2975-bc84-4404-980f-de6fab400755", "timestamp": 1685311204321, "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": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}, "parent": {"id": "789be129-a761-4bca-ac61-129e8c42935c", "name": "requests", "item": [{"id": "4b198c2f-b756-4b3f-b156-ff4694c02bf6", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "1f26053c-6872-48a6-8d5c-5573a59ef622", "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": "a70243fd-54eb-4c18-9c57-00a42e682425"}}]}, {"id": "51b3eff7-082d-4b22-8b1c-c9d69806fccc", "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": "73a75a9b-3ca5-442c-b052-c44ba2dfeb28", "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": "bf435c61-a3dc-4c22-b2c2-4c155cb83c3c", "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": "461f6b3f-f63b-4147-a1de-41fbc1393bef", "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": "d80e27d6-746a-4e33-a876-40d14f407380"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "2a9236e0-c160-4e3a-a933-e5da873ae38f"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "5c5f8f07-0ddb-42ec-945b-d6defe17d503"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "cdad8313-3d3c-4403-8eb2-8fd290fe902d", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "80610b6d-2d84-40d2-ae15-5fafe4045cfd", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "d80e27d6-746a-4e33-a876-40d14f407380"}}, {"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": "10762797-341b-4fc2-91bd-0dd0bf8e7101", "timestamp": 1685311204425, "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": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, "parent": {"id": "8374b1bb-9f59-48c6-a121-86c7297c5373", "name": "requests/{id}", "item": [{"id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, {"id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8ed990bd-a573-4ca1-9179-3f38c89723cc", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "1b312524-554a-40ce-88d5-8122a5a226c3", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}, {"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": "5be6387c-15d2-44dc-b4d5-fbfe0b228b1c", "timestamp": 1685311204426, "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": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, "parent": {"id": "8374b1bb-9f59-48c6-a121-86c7297c5373", "name": "requests/{id}", "item": [{"id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, {"id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8ed990bd-a573-4ca1-9179-3f38c89723cc", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "1b312524-554a-40ce-88d5-8122a5a226c3", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}, {"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": "068ebaa5-173d-4f6a-8abe-c70e9ebc1a1a", "timestamp": 1685311204429, "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": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, "parent": {"id": "8374b1bb-9f59-48c6-a121-86c7297c5373", "name": "requests/{id}", "item": [{"id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, {"id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8ed990bd-a573-4ca1-9179-3f38c89723cc", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "1b312524-554a-40ce-88d5-8122a5a226c3", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}, {"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": "c5c5d779-0d16-4d92-88b0-94d762db39c5", "timestamp": 1685311204498, "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": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}, "parent": {"id": "8374b1bb-9f59-48c6-a121-86c7297c5373", "name": "requests/{id}", "item": [{"id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, {"id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7996bfc7-ef3a-4f67-90e5-4c832a4c2522", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "f1dcd19e-4756-4bb3-bbc2-e11b185b4bae", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}, {"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": "fda9c3b0-c251-4362-a8a4-2e3ac53fd70a", "timestamp": 1685311204500, "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": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}, "parent": {"id": "8374b1bb-9f59-48c6-a121-86c7297c5373", "name": "requests/{id}", "item": [{"id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, {"id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7996bfc7-ef3a-4f67-90e5-4c832a4c2522", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "f1dcd19e-4756-4bb3-bbc2-e11b185b4bae", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}, {"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": "bc6ecee2-cbd4-4da9-bc61-85b338f10f95", "timestamp": 1685311204503, "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": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}, "parent": {"id": "8374b1bb-9f59-48c6-a121-86c7297c5373", "name": "requests/{id}", "item": [{"id": "c189a92a-d428-4185-bf47-902a5c7d21a3", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "8985b9fa-8bae-4bdc-854b-99c033ddfcca", "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": "fad2e34c-38e9-4e0b-8cd1-a04f4035599e", "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": "af5c14b8-17e0-4078-a316-89af4c88b46f"}}]}, {"id": "e6777189-2d04-425b-a989-0d0b0e05b471", "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": "128412fb-b92b-4a13-a3a4-3706f27f9b20", "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": "a77e884f-186f-4631-b917-47e56741b861", "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": "388e3b6c-b1b5-4a42-9748-be773bace09a", "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": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7996bfc7-ef3a-4f67-90e5-4c832a4c2522", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "f1dcd19e-4756-4bb3-bbc2-e11b185b4bae", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "7ebdfa11-37ba-493a-b563-f17b16e50e2f"}}, {"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": "8890906f-4e40-4e0c-925a-a35f150ac9d6", "timestamp": 1685311204585, "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": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, "parent": {"id": "48a6e669-1515-40dc-bb7b-483f511b3908", "name": "submitters", "item": [{"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b71f981c-9edc-416c-a062-cd2e94a9f7e5", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "ed1ee579-a2f5-4bb1-9f73-431603fd3dcd", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}, {"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": "29cb4e3b-3211-4296-aca8-fdaec0eed022", "timestamp": 1685311204588, "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": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, "parent": {"id": "48a6e669-1515-40dc-bb7b-483f511b3908", "name": "submitters", "item": [{"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b71f981c-9edc-416c-a062-cd2e94a9f7e5", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "ed1ee579-a2f5-4bb1-9f73-431603fd3dcd", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}, {"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": "d83c55ea-aec5-4f75-9e19-6eb46d2e5a34", "timestamp": 1685311204590, "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": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, "parent": {"id": "48a6e669-1515-40dc-bb7b-483f511b3908", "name": "submitters", "item": [{"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b71f981c-9edc-416c-a062-cd2e94a9f7e5", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "ed1ee579-a2f5-4bb1-9f73-431603fd3dcd", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}, {"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": "196d3f42-22ce-44c7-bc8f-0fbea3643879", "timestamp": 1685311204655, "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": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}, "parent": {"id": "48a6e669-1515-40dc-bb7b-483f511b3908", "name": "submitters", "item": [{"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "a6f2a4bd-b7c4-4f78-adf5-4f57e2cfe3db", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "94f82673-53f3-4d1c-bfbf-54ed0ea126aa", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "6493a424-4315-43fd-9724-adfd080e85c6"}}, {"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": "dd81e367-a72f-454e-bae2-d0f3935f50c3", "timestamp": 1685311204657, "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": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}, "parent": {"id": "48a6e669-1515-40dc-bb7b-483f511b3908", "name": "submitters", "item": [{"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "a6f2a4bd-b7c4-4f78-adf5-4f57e2cfe3db", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "94f82673-53f3-4d1c-bfbf-54ed0ea126aa", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "6493a424-4315-43fd-9724-adfd080e85c6"}}, {"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": "dc05f4ef-6320-4aeb-86b4-1fe99fab12b0", "timestamp": 1685311204670, "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": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}, "parent": {"id": "48a6e669-1515-40dc-bb7b-483f511b3908", "name": "submitters", "item": [{"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "a6f2a4bd-b7c4-4f78-adf5-4f57e2cfe3db", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "94f82673-53f3-4d1c-bfbf-54ed0ea126aa", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "6493a424-4315-43fd-9724-adfd080e85c6"}}, {"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": "278d7204-08d4-4d04-a3bd-514703b92ca1", "timestamp": 1685311204677, "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": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}, "parent": {"id": "48a6e669-1515-40dc-bb7b-483f511b3908", "name": "submitters", "item": [{"id": "b8d1f115-d8c2-466d-89f1-f92f17fe2afd", "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": "b9386aaa-6634-43f9-a2e8-676473be0356", "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": "3a5362c8-4924-42f2-8def-10604d2bdbb1"}}]}, {"id": "3ef25366-c772-4084-ba69-285d5d0d29ec", "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": "6a46ac1b-a9f8-4a59-b835-2cde07eb9f92", "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": "41f6a80d-4428-4ada-a361-13cc823bbda6", "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": "8e21b1c8-f919-4fbe-a69f-bc06e377d0aa", "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": "6493a424-4315-43fd-9724-adfd080e85c6"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "a6f2a4bd-b7c4-4f78-adf5-4f57e2cfe3db", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "94f82673-53f3-4d1c-bfbf-54ed0ea126aa", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "6493a424-4315-43fd-9724-adfd080e85c6"}}, {"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": "5fce6091-bb0d-4444-a476-c3c4dee6c5e0", "timestamp": 1685311204782, "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": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, "parent": {"id": "9e5eaee8-ae67-4c3f-a8ec-ebee2573266d", "name": "submitters/{id}", "item": [{"id": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, {"id": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "6ccb531e-3524-4c84-b9f6-a4ed6aa408ec", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "6d33d87c-c15e-45e8-a40a-f73023e5270f", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}, {"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": "06096597-e1d2-4f8f-af65-878b55204174", "timestamp": 1685311204784, "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": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, "parent": {"id": "9e5eaee8-ae67-4c3f-a8ec-ebee2573266d", "name": "submitters/{id}", "item": [{"id": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, {"id": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "6ccb531e-3524-4c84-b9f6-a4ed6aa408ec", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "6d33d87c-c15e-45e8-a40a-f73023e5270f", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}, {"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": "bd2ac266-a873-4945-bfab-1ca1755608f8", "timestamp": 1685311204786, "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": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, "parent": {"id": "9e5eaee8-ae67-4c3f-a8ec-ebee2573266d", "name": "submitters/{id}", "item": [{"id": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, {"id": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "6ccb531e-3524-4c84-b9f6-a4ed6aa408ec", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "6d33d87c-c15e-45e8-a40a-f73023e5270f", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}, {"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": "6d25862a-5e78-44a6-b19f-f72e90729773", "timestamp": 1685311204863, "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": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}, "parent": {"id": "9e5eaee8-ae67-4c3f-a8ec-ebee2573266d", "name": "submitters/{id}", "item": [{"id": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, {"id": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "075ecaf6-5379-42d0-b7d7-50cb2e281eb2", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "5d659e5f-352b-4ab5-bb68-2fc7a2983d34", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}, {"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": "ab86dcf9-15d6-4216-b940-cb4e358ef79c", "timestamp": 1685311204865, "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": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}, "parent": {"id": "9e5eaee8-ae67-4c3f-a8ec-ebee2573266d", "name": "submitters/{id}", "item": [{"id": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, {"id": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "075ecaf6-5379-42d0-b7d7-50cb2e281eb2", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "5d659e5f-352b-4ab5-bb68-2fc7a2983d34", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}, {"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": "11effa00-95a9-4017-b94a-2a3c30b9224b", "timestamp": 1685311204867, "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": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}, "parent": {"id": "9e5eaee8-ae67-4c3f-a8ec-ebee2573266d", "name": "submitters/{id}", "item": [{"id": "8fdd984c-b4cb-4e6d-8f38-5ca284671507", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "039f4fac-f046-4b68-98a2-6db6188bd7d8", "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": "3def83c2-8ff3-45f5-bc4b-e9c0b1b6e09c", "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": "de5ed0f2-4ede-4a79-b246-91aa8d9c9a44"}}]}, {"id": "d46d73dc-774d-4a95-bdf9-e08da338c142", "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": "3e725476-7be7-4102-a45d-5b5a0ecb7ac1", "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": "60a70691-a5b3-4af7-bbd1-f7642ee0d1e3", "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": "320b1874-770f-4fd9-960b-76aca7a4c415", "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": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "075ecaf6-5379-42d0-b7d7-50cb2e281eb2", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "5d659e5f-352b-4ab5-bb68-2fc7a2983d34", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "282faffa-2db6-433b-9b6a-6c2e564ad8a8"}}, {"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": "417c1bfd-cb4b-4328-a18c-a7f8d9db655c", "timestamp": 1685311204958, "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": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, "parent": {"id": "c0c6a48a-29bd-4400-bdfe-2ce3b6b5c4e9", "name": "labels", "item": [{"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "16b624c5-69d6-4710-8aae-ce8013d3d9d7", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "fa62be1f-1067-49e0-81c5-8fd129bd16b5", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}, {"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": "8bde9dc6-bf04-4db6-99c1-67a7472d9cb3", "timestamp": 1685311204961, "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": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, "parent": {"id": "c0c6a48a-29bd-4400-bdfe-2ce3b6b5c4e9", "name": "labels", "item": [{"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "16b624c5-69d6-4710-8aae-ce8013d3d9d7", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "fa62be1f-1067-49e0-81c5-8fd129bd16b5", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}, {"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": "36e98dec-24fb-4cdc-b89c-c381a8618dc7", "timestamp": 1685311204963, "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": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, "parent": {"id": "c0c6a48a-29bd-4400-bdfe-2ce3b6b5c4e9", "name": "labels", "item": [{"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "16b624c5-69d6-4710-8aae-ce8013d3d9d7", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "fa62be1f-1067-49e0-81c5-8fd129bd16b5", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}, {"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": "48500e30-79cf-4cec-882d-c75d89b8d3fd", "timestamp": 1685311205056, "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": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}, "parent": {"id": "c0c6a48a-29bd-4400-bdfe-2ce3b6b5c4e9", "name": "labels", "item": [{"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b88b4249-08b3-4fc6-ac6c-5d81816d5803", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "35994363-377d-4e16-8693-e3fdd49f7136", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}, {"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": "bd70874a-6783-4a79-897e-97241f6921cb", "timestamp": 1685311205057, "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": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}, "parent": {"id": "c0c6a48a-29bd-4400-bdfe-2ce3b6b5c4e9", "name": "labels", "item": [{"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b88b4249-08b3-4fc6-ac6c-5d81816d5803", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "35994363-377d-4e16-8693-e3fdd49f7136", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}, {"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": "38578c7d-2d78-4d77-9d56-f78dcadf03b3", "timestamp": 1685311205072, "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": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}, "parent": {"id": "c0c6a48a-29bd-4400-bdfe-2ce3b6b5c4e9", "name": "labels", "item": [{"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b88b4249-08b3-4fc6-ac6c-5d81816d5803", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "35994363-377d-4e16-8693-e3fdd49f7136", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}, {"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": "a75cfd34-4855-4dba-8b97-6f044bd35c34", "timestamp": 1685311205074, "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": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}, "parent": {"id": "c0c6a48a-29bd-4400-bdfe-2ce3b6b5c4e9", "name": "labels", "item": [{"id": "7125072d-8a7b-45ef-8c86-50eb1bd7a644", "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": "f39e875f-1360-4922-8139-4192d780ea8a", "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": "c782ac11-fec1-4c4f-bc6c-b685232d7e85"}}]}, {"id": "a08b5c2f-08e6-4aea-9888-74979b8097b7", "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": "a62f6a97-2b8f-46df-8b01-83ad8f147206", "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": "9e91a331-c766-4ef9-ac7f-0f97f12a8a88", "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": "65a7177c-06c1-4d64-8a7f-5708df0ac5dc", "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": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b88b4249-08b3-4fc6-ac6c-5d81816d5803", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "35994363-377d-4e16-8693-e3fdd49f7136", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "7b0494f4-afed-48cb-b1f2-3040c2b5aa11"}}, {"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": "71aa330a-c902-4c0a-bc4c-8dfdc4dc35b2", "timestamp": 1685311205179, "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": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, "parent": {"id": "5f81570e-ac48-464a-ae74-f83329418641", "name": "labels/{id}", "item": [{"id": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, {"id": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "14f8cfda-4586-4988-bc60-ebc2da7d141b", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "a458ff07-634e-41b6-9452-a36af164dab4", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}, {"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": "98f7b797-2177-42a8-b3c7-170588734b02", "timestamp": 1685311205181, "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": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, "parent": {"id": "5f81570e-ac48-464a-ae74-f83329418641", "name": "labels/{id}", "item": [{"id": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, {"id": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "14f8cfda-4586-4988-bc60-ebc2da7d141b", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "a458ff07-634e-41b6-9452-a36af164dab4", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}, {"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": "beb1659d-cfb3-4247-8f2e-5c4ec2c035f2", "timestamp": 1685311205182, "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": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, "parent": {"id": "5f81570e-ac48-464a-ae74-f83329418641", "name": "labels/{id}", "item": [{"id": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, {"id": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "14f8cfda-4586-4988-bc60-ebc2da7d141b", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "a458ff07-634e-41b6-9452-a36af164dab4", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}, {"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": "d730e039-845b-4050-9508-4d557bb1f5ae", "timestamp": 1685311205281, "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": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}, "parent": {"id": "5f81570e-ac48-464a-ae74-f83329418641", "name": "labels/{id}", "item": [{"id": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, {"id": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0eb4fea5-e37c-448a-a186-aeb19f4bbf22", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "ee4d8d2e-e01b-4162-bf51-ccaf8ae32b53", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}, {"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": "76fd0649-8523-48e5-b6fd-50e1717bc68f", "timestamp": 1685311205283, "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": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}, "parent": {"id": "5f81570e-ac48-464a-ae74-f83329418641", "name": "labels/{id}", "item": [{"id": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, {"id": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0eb4fea5-e37c-448a-a186-aeb19f4bbf22", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "ee4d8d2e-e01b-4162-bf51-ccaf8ae32b53", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}, {"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": "73099325-4646-4e3a-91d2-bae3ff8408f0", "timestamp": 1685311205284, "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": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}, "parent": {"id": "5f81570e-ac48-464a-ae74-f83329418641", "name": "labels/{id}", "item": [{"id": "8eab5c63-9e6b-4e63-8b1e-00219aa67b77", "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": "4c865fdf-be50-4838-9c00-e22f4a7f6865", "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": "937b1c90-bc42-49a4-a50e-1ba065a20bc1", "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": "dbfc5ba4-38ed-4f71-af4c-cbd2faa29125"}}]}, {"id": "e2985c75-3f69-40c0-9d74-f091f6364a89", "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": "f5d67522-e042-48a2-9f86-9ef96e96ab8b", "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": "4d234818-462d-472f-b430-8c20e868ae4c", "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": "fbba1e28-f19a-46a4-9eb2-5b55fab764a3", "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": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "0eb4fea5-e37c-448a-a186-aeb19f4bbf22", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "ee4d8d2e-e01b-4162-bf51-ccaf8ae32b53", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "f245e86b-98cc-44ac-af5f-e0685c3bc2f2"}}, {"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": "57a22898-624a-4fbb-8cd7-678656f17d9f", "timestamp": 1685311205429, "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": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, "parent": {"id": "a6abbfe5-00e3-4c33-aa7b-c81223c6ff2a", "name": "roles", "item": [{"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2b1940d2-e562-4998-a235-5b54703019b6", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "723be70c-ad86-42f6-af09-c46a2be02b39", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}, {"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": "825a1bbb-0548-4b67-9d8c-889c6a923eec", "timestamp": 1685311205431, "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": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, "parent": {"id": "a6abbfe5-00e3-4c33-aa7b-c81223c6ff2a", "name": "roles", "item": [{"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2b1940d2-e562-4998-a235-5b54703019b6", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "723be70c-ad86-42f6-af09-c46a2be02b39", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}, {"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": "a3619f9e-8cb7-490e-9520-240ca75c16d1", "timestamp": 1685311205433, "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": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, "parent": {"id": "a6abbfe5-00e3-4c33-aa7b-c81223c6ff2a", "name": "roles", "item": [{"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "2b1940d2-e562-4998-a235-5b54703019b6", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "723be70c-ad86-42f6-af09-c46a2be02b39", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}, {"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": "8c6ce2b3-c3ce-4f88-9583-b9b619220b0d", "timestamp": 1685311205510, "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": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}, "parent": {"id": "a6abbfe5-00e3-4c33-aa7b-c81223c6ff2a", "name": "roles", "item": [{"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ccd857bb-7786-4d75-a247-fc4d65b1767f", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "80730d6f-7192-43b2-bac6-76155450446a", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}, {"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": "12e7619b-761f-43e9-acef-e661534ec45a", "timestamp": 1685311205512, "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": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}, "parent": {"id": "a6abbfe5-00e3-4c33-aa7b-c81223c6ff2a", "name": "roles", "item": [{"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ccd857bb-7786-4d75-a247-fc4d65b1767f", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "80730d6f-7192-43b2-bac6-76155450446a", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}, {"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": "55853f92-0c5e-4703-871b-3144b2f1598e", "timestamp": 1685311205526, "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": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}, "parent": {"id": "a6abbfe5-00e3-4c33-aa7b-c81223c6ff2a", "name": "roles", "item": [{"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ccd857bb-7786-4d75-a247-fc4d65b1767f", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "80730d6f-7192-43b2-bac6-76155450446a", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}, {"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": "68026521-421c-4326-a5c7-da907345837e", "timestamp": 1685311205527, "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": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}, "parent": {"id": "a6abbfe5-00e3-4c33-aa7b-c81223c6ff2a", "name": "roles", "item": [{"id": "07509544-a4d8-48b0-b885-01d3925cab45", "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": "8fa406c9-ef2b-4564-ae6a-895576ea63b9", "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": "ddfa2355-d440-4da6-8e86-1fdf40d43e4b"}}]}, {"id": "c341b649-0746-4981-b543-15724f28242b", "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": "93d0e5ac-8bf7-45e8-ae72-4fa7c8773d0d", "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": "b362f897-9a14-4d8c-aebe-0874413c6073", "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": "bd90f18b-2ff4-4890-b2c3-889cac8953c6", "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": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ccd857bb-7786-4d75-a247-fc4d65b1767f", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "80730d6f-7192-43b2-bac6-76155450446a", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "bdf0b901-9b9e-4bd7-88a1-12d74601140a"}}, {"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": "3441116f-7a67-4eb9-bfb2-23fc48c88dd0", "timestamp": 1685311205599, "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": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, "parent": {"id": "519791d8-95f7-4972-83cd-a6fd0e13420e", "name": "roles/{id}", "item": [{"id": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, {"id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "fe208792-49e9-4017-94f9-a8127204bc8e", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "370bdf16-6988-4949-a828-74e0ec10baba", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}, {"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": "61d9746a-6574-47d9-8956-18e29cfb4212", "timestamp": 1685311205601, "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": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, "parent": {"id": "519791d8-95f7-4972-83cd-a6fd0e13420e", "name": "roles/{id}", "item": [{"id": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, {"id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "fe208792-49e9-4017-94f9-a8127204bc8e", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "370bdf16-6988-4949-a828-74e0ec10baba", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}, {"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": "b3b82b45-93b3-4cc0-8476-c1c1d3d8f020", "timestamp": 1685311205603, "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": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, "parent": {"id": "519791d8-95f7-4972-83cd-a6fd0e13420e", "name": "roles/{id}", "item": [{"id": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, {"id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "fe208792-49e9-4017-94f9-a8127204bc8e", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "370bdf16-6988-4949-a828-74e0ec10baba", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}, {"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": "e6fb898f-f7cd-4f3c-9e9f-502cad3be256", "timestamp": 1685311205678, "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": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}, "parent": {"id": "519791d8-95f7-4972-83cd-a6fd0e13420e", "name": "roles/{id}", "item": [{"id": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, {"id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8f8010ea-1230-47a7-bf8a-f2f5a69a31a9", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "4c85ed9c-1d42-4d54-8935-77261c730f24", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}, {"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": "30ce2113-9009-4123-820d-b712ad0434c9", "timestamp": 1685311205690, "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": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}, "parent": {"id": "519791d8-95f7-4972-83cd-a6fd0e13420e", "name": "roles/{id}", "item": [{"id": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, {"id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8f8010ea-1230-47a7-bf8a-f2f5a69a31a9", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "4c85ed9c-1d42-4d54-8935-77261c730f24", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}, {"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": "e994c72d-3c70-473f-b44e-d44da1682045", "timestamp": 1685311205692, "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": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}, "parent": {"id": "519791d8-95f7-4972-83cd-a6fd0e13420e", "name": "roles/{id}", "item": [{"id": "8c84b95f-0673-4cb7-8f23-1b72e25bc250", "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": "21207370-470e-4baa-ad16-8a8dc475c6b4", "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": "41111831-29a6-4595-9755-e8db805f3007", "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": "dc2aadf4-4119-4ef3-afb5-18a500a17a62"}}]}, {"id": "9ca07fac-0ac1-44a2-802a-8a93a7651455", "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": "ab652429-06c2-4c00-a423-ee7979646bc1", "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": "f10c6696-5563-46ad-9453-91c78825d00b", "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": "29a03f92-d29b-437f-b7fe-e7a6a9473d1f", "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": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "8f8010ea-1230-47a7-bf8a-f2f5a69a31a9", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "4c85ed9c-1d42-4d54-8935-77261c730f24", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "42d9c17a-7b30-453d-b861-60e9e9d90d59"}}, {"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": "68c643a8-2210-4bb6-a9b3-1611e2fa2239", "timestamp": 1685311205789, "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": "edab2663-0c69-4688-9336-0faf4fa23c92", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "6686fe0a-7242-4f4c-b90a-cdb21e416042", "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": "02dfeb99-ffcd-4a6c-8e35-79235660cc82", "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": "7a0e8c51-7ee0-4855-a91e-260d759337e3"}}]}, "parent": {"id": "d1c3ffaa-762f-487d-b1d1-4081f96c53ea", "name": "Clear up", "item": [{"id": "edab2663-0c69-4688-9336-0faf4fa23c92", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "6686fe0a-7242-4f4c-b90a-cdb21e416042", "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": "02dfeb99-ffcd-4a6c-8e35-79235660cc82", "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": "7a0e8c51-7ee0-4855-a91e-260d759337e3"}}]}, {"id": "64ec4622-f529-4f3c-8889-457ca82b4bc4", "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": "0839faaa-1b3b-4074-9d6f-50e051a77fde", "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": "b36d0a0a-b711-4c0c-9d74-2b886e65417d", "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": "92b73f79-6a41-489e-a0dc-7d95c3efe959"}}]}, {"id": "3861b85f-bf0a-461b-848f-a84df4c3a709", "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": "e86d6581-d044-44e6-9b74-126be1561d38", "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": "ed1944e3-7143-4d85-a8b1-70b3728e8e88", "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": "e7cb9ad9-aaac-4a77-b6aa-dfeff7e9d5d2"}}]}, {"id": "891b394a-7745-44b6-8fb3-9daf1e5febb8", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "21c11b91-1d14-44eb-bade-950f96cbb1a6", "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": "7e8d42c3-9e78-4135-9e8a-c972aa4d1ba3", "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": "89ce2f99-3615-4429-b0aa-f1e8a5927f78"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7afe1c0d-e770-442e-b07a-a20816b646a0", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "f43de135-4c02-44e4-ad36-1ad1441c0f56", "scriptId": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "execution": "7a0e8c51-7ee0-4855-a91e-260d759337e3"}}, {"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": "7e9b6c0b-02d0-4b63-a5e1-78788c2bc5aa", "timestamp": 1685311205854, "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": "64ec4622-f529-4f3c-8889-457ca82b4bc4", "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": "0839faaa-1b3b-4074-9d6f-50e051a77fde", "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": "b36d0a0a-b711-4c0c-9d74-2b886e65417d", "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": "92b73f79-6a41-489e-a0dc-7d95c3efe959"}}]}, "parent": {"id": "d1c3ffaa-762f-487d-b1d1-4081f96c53ea", "name": "Clear up", "item": [{"id": "edab2663-0c69-4688-9336-0faf4fa23c92", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "6686fe0a-7242-4f4c-b90a-cdb21e416042", "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": "02dfeb99-ffcd-4a6c-8e35-79235660cc82", "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": "7a0e8c51-7ee0-4855-a91e-260d759337e3"}}]}, {"id": "64ec4622-f529-4f3c-8889-457ca82b4bc4", "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": "0839faaa-1b3b-4074-9d6f-50e051a77fde", "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": "b36d0a0a-b711-4c0c-9d74-2b886e65417d", "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": "92b73f79-6a41-489e-a0dc-7d95c3efe959"}}]}, {"id": "3861b85f-bf0a-461b-848f-a84df4c3a709", "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": "e86d6581-d044-44e6-9b74-126be1561d38", "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": "ed1944e3-7143-4d85-a8b1-70b3728e8e88", "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": "e7cb9ad9-aaac-4a77-b6aa-dfeff7e9d5d2"}}]}, {"id": "891b394a-7745-44b6-8fb3-9daf1e5febb8", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "21c11b91-1d14-44eb-bade-950f96cbb1a6", "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": "7e8d42c3-9e78-4135-9e8a-c972aa4d1ba3", "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": "89ce2f99-3615-4429-b0aa-f1e8a5927f78"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ab5973e9-f10a-4539-9b6c-7bb0e5411558", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "75378743-fda5-4e49-8716-523cc0c50b83", "scriptId": "61d37bcf-e148-4345-bef7-7dfb628bc585", "execution": "92b73f79-6a41-489e-a0dc-7d95c3efe959"}}, {"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": "50183443-14c2-40af-a99e-2739fdaa711e", "timestamp": 1685311205912, "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": "3861b85f-bf0a-461b-848f-a84df4c3a709", "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": "e86d6581-d044-44e6-9b74-126be1561d38", "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": "ed1944e3-7143-4d85-a8b1-70b3728e8e88", "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": "e7cb9ad9-aaac-4a77-b6aa-dfeff7e9d5d2"}}]}, "parent": {"id": "d1c3ffaa-762f-487d-b1d1-4081f96c53ea", "name": "Clear up", "item": [{"id": "edab2663-0c69-4688-9336-0faf4fa23c92", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "6686fe0a-7242-4f4c-b90a-cdb21e416042", "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": "02dfeb99-ffcd-4a6c-8e35-79235660cc82", "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": "7a0e8c51-7ee0-4855-a91e-260d759337e3"}}]}, {"id": "64ec4622-f529-4f3c-8889-457ca82b4bc4", "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": "0839faaa-1b3b-4074-9d6f-50e051a77fde", "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": "b36d0a0a-b711-4c0c-9d74-2b886e65417d", "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": "92b73f79-6a41-489e-a0dc-7d95c3efe959"}}]}, {"id": "3861b85f-bf0a-461b-848f-a84df4c3a709", "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": "e86d6581-d044-44e6-9b74-126be1561d38", "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": "ed1944e3-7143-4d85-a8b1-70b3728e8e88", "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": "e7cb9ad9-aaac-4a77-b6aa-dfeff7e9d5d2"}}]}, {"id": "891b394a-7745-44b6-8fb3-9daf1e5febb8", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "21c11b91-1d14-44eb-bade-950f96cbb1a6", "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": "7e8d42c3-9e78-4135-9e8a-c972aa4d1ba3", "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": "89ce2f99-3615-4429-b0aa-f1e8a5927f78"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "943ba5ed-5fdf-4c9d-8f6c-689a2b2d0d28", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "54783769-9405-4281-92aa-340d873f8983", "scriptId": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "execution": "e7cb9ad9-aaac-4a77-b6aa-dfeff7e9d5d2"}}, {"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": "6b010b2e-f685-4233-969a-4d186e7c1531", "timestamp": 1685311205961, "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": "891b394a-7745-44b6-8fb3-9daf1e5febb8", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "21c11b91-1d14-44eb-bade-950f96cbb1a6", "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": "7e8d42c3-9e78-4135-9e8a-c972aa4d1ba3", "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": "89ce2f99-3615-4429-b0aa-f1e8a5927f78"}}]}, "parent": {"id": "d1c3ffaa-762f-487d-b1d1-4081f96c53ea", "name": "Clear up", "item": [{"id": "edab2663-0c69-4688-9336-0faf4fa23c92", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "6686fe0a-7242-4f4c-b90a-cdb21e416042", "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": "02dfeb99-ffcd-4a6c-8e35-79235660cc82", "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": "7a0e8c51-7ee0-4855-a91e-260d759337e3"}}]}, {"id": "64ec4622-f529-4f3c-8889-457ca82b4bc4", "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": "0839faaa-1b3b-4074-9d6f-50e051a77fde", "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": "b36d0a0a-b711-4c0c-9d74-2b886e65417d", "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": "92b73f79-6a41-489e-a0dc-7d95c3efe959"}}]}, {"id": "3861b85f-bf0a-461b-848f-a84df4c3a709", "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": "e86d6581-d044-44e6-9b74-126be1561d38", "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": "ed1944e3-7143-4d85-a8b1-70b3728e8e88", "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": "e7cb9ad9-aaac-4a77-b6aa-dfeff7e9d5d2"}}]}, {"id": "891b394a-7745-44b6-8fb3-9daf1e5febb8", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "21c11b91-1d14-44eb-bade-950f96cbb1a6", "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": "7e8d42c3-9e78-4135-9e8a-c972aa4d1ba3", "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": "89ce2f99-3615-4429-b0aa-f1e8a5927f78"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "afabc989-1104-4f47-8de4-68e6c0ac2424", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "defce456-fefc-4a46-849b-348bcc1f285e", "scriptId": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "execution": "89ce2f99-3615-4429-b0aa-f1e8a5927f78"}}], "error": null}}