{"collection": {"_": {"postman_id": "fede9159-9c64-4b1e-b5b0-6422b1e6eb8a"}, "item": [{"id": "29d1ad83-05c6-4658-b8ea-ff6964d6a30a", "name": "requests", "item": [{"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9007526d-2824-4726-9621-b3234e1894c5"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "83b48c61-2a53-4f98-92ce-9ba9062dbd45"}}], "protocolProfileBehavior": {}}, {"id": "2aa5c208-f76c-44f3-8787-ae578d8ea48b", "name": "requests/{id}", "item": [{"id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, {"id": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "366d9bba-685e-4135-a90e-34a6b327b558", "name": "submitters", "item": [{"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "713325b6-b573-4600-abb2-2485e2758e37", "name": "submitters/{id}", "item": [{"id": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, {"id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "1f455f5d-8f38-4139-8aa1-feff9158af1b", "name": "labels", "item": [{"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "4a1100cb-b65a-473a-9d20-33de1f090c49", "name": "labels/{id}", "item": [{"id": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, {"id": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "e2349a21-c282-4620-b18e-2c0785438ba1", "name": "roles", "item": [{"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "27e2d385-e02a-47be-b687-c661b047f689", "name": "roles/{id}", "item": [{"id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, {"id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}], "event": [], "protocolProfileBehavior": {}}, {"id": "a8e49e4d-32da-4dd0-8862-471db833c901", "name": "Clear up", "item": [{"id": "954c30c2-24f4-43b2-862e-1c06428ebb74", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0c0b43e5-1c39-4cc8-9e89-59262b8b2a24", "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": "63b4db65-cc03-43bd-aabb-9276b7dfdd2e", "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": "80230445-d470-47dd-992b-d2531e725790"}}]}, {"id": "3639dfa2-0e28-4862-9d09-d75555cee1ef", "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": "42ecf6f5-f85b-4fe9-ae70-e361d6edee1b", "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": "34bfda3a-e09c-487d-88a9-9f68e5afee9e", "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": "a0ac91b3-8fe9-4411-885c-0776de7709ce"}}]}, {"id": "8b0721eb-7136-48cf-8e86-4231b0689660", "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": "8fde67ee-57cf-4c61-8751-69eb4490d24e", "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": "36eda249-89bc-44c3-9abc-87b0e4e38a45", "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": "9682d0c8-b578-4cd2-97db-d8221ebfcfab"}}]}, {"id": "b8e4d67a-cfe0-436a-9b8f-3eacc0f5e86a", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d15d8540-7294-4ef3-bbb1-9a6af23c0e95", "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": "10211ace-d942-48ad-9f2f-96b97f3895d3", "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": "c1ef562d-76e7-478c-9d08-63f1d4d80825"}}]}], "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": "1c0c2f56-ed0f-443e-9b28-d4c27b50476b"}}, {"listen": "test", "script": {"id": "d13b04df-6cff-4412-aac7-91ad0bb09595", "type": "text/javascript", "exec": [""], "_lastExecutionId": "b032e92c-5fc6-4690-90ce-fa0848caf7c6"}}], "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": "642137ad-4e2e-4e27-bb12-d3dd3d090b6c", "values": []}, "globals": {"id": "a91dd06a-c804-47d5-b7b9-e0b9a0be0774", "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": 17.6, "responseMin": 9, "responseMax": 129, "responseSd": 25.613277806637708, "dnsAverage": 0, "dnsMin": 0, "dnsMax": 0, "dnsSd": 0, "firstByteAverage": 0, "firstByteMin": 0, "firstByteMax": 0, "firstByteSd": 0, "started": 1652565622873, "completed": 1652565624374}, "executions": [{"cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "acd1784d-56a4-4869-968d-53b22e956503", "httpRequestId": "b72ecfe4-fca8-484c-a37e-76ebac77642d"}, "item": {"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, "request": {"url": {"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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "4198c233-6d35-48a8-9a58-0fdd4076b7ff", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "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": "7305bb69-fba1-46a3-b2e6-2662ff7ceb8d", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": 129, "responseSize": 2538}, "id": "4361614b-1bba-456e-9767-355b1d84c801", "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": "65808101-4632-45d8-9994-2e7d75648f52", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "a14dcfd3-612e-432a-9766-5613b8f42e07"}, "item": {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}, "request": {"url": {"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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "2a695033-b6a3-4a59-a516-eafdaf485ba1", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 838, "system": true}, {"key": "Connection", "value": "keep-alive", "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": "5281dc6d-60d2-452e-b301-52bd15f9c62c", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 18, "responseSize": 2538}, "id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "6ca231bd-28fe-48bc-a820-c0e196cab25b", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "92800820-d5a4-4918-b9d6-a78819b3d5d5"}, "item": {"id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, "request": {"url": {"path": ["requests", "{{request}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "71d96df3-2ec3-4e76-88e4-9f4addbf4470", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "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": "f8f7a6b3-cd94-4bec-a01b-271972980836", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "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": "ba2ee920-1daa-4a43-b372-c44e03082e5b", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "3165b73d-63a7-4e19-9813-c7d82c319c89"}, "item": {"id": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}, "request": {"url": {"path": ["requests", "{{request}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "997ff4c1-c226-4d09-8e22-6ed326003945", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 739, "system": true}, {"key": "Connection", "value": "keep-alive", "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": "d14ee628-67fd-4dff-b177-719fd2939b93", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "1b6ba2f3-d34b-421e-9a26-e398a365369b", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "c5bf9e31-4378-497a-b330-fc4acd6a1696"}, "item": {"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, "request": {"url": {"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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "95bd7c85-11d6-4284-9d7f-ffcd6ba62509", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "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": "3bc9aae8-0303-4b01-8bb5-176a151b90bc", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "31b11e5c-f115-4f8e-9c9e-bcf46e4896fb", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "269efedd-b478-43a4-80e8-af0d75e685fc"}, "item": {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}, "request": {"url": {"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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "3b8a6a1e-5ddb-4033-ab25-be9317e5369c", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 279, "system": true}, {"key": "Connection", "value": "keep-alive", "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": "18bab379-48c9-4eeb-b6c7-6878c14da677", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "ecc928bb-e7ef-4a81-867d-b612a0253490", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "3f84ba15-81c6-4721-962a-d74430274570"}, "item": {"id": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, "request": {"url": {"path": ["submitters", "{{id}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "b7fa81dd-4b66-4eac-a6c0-6305f96ead68", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "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": "b3ea4ee4-e086-41eb-a612-a2c4b6772018", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "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": "1f93a56c-7e4a-4ba1-8a0f-95cda4f8fb3b", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "69f4ccc8-79a1-4da5-822b-899a8ee2e8e9"}, "item": {"id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}, "request": {"url": {"path": ["submitters", "{{id}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "0456f681-054c-43a6-b87a-854ab9a73cb3", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 279, "system": true}, {"key": "Connection", "value": "keep-alive", "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": "af9ad44d-201d-4783-90a8-5d3af2ed695e", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "c63fed60-f1b4-4712-85d8-43414b85c928", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "145a687f-cba7-4a66-8877-dd425850b690"}, "item": {"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, "request": {"url": {"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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "a0ae312e-3552-4574-bb1d-e3fb060daa26", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "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": "6fbbc55c-29ba-4807-b70c-2cae9309bb61", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "a9a71373-c9a9-4e43-b441-5a4a9a27f101", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "645ab00a-666f-445c-9aa7-61a1c5a8dc26"}, "item": {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}, "request": {"url": {"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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "135518eb-ec87-4f86-91a7-e8d8755210ca", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 110, "system": true}, {"key": "Connection", "value": "keep-alive", "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": "2a725da6-3e79-4740-ab3b-ad3b9b0debb2", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "be8f35d0-2886-4f1e-9eea-49aabcaf1d18", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "0dc3cc47-e3ed-44ca-8438-496c1bfcdafc"}, "item": {"id": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, "request": {"url": {"path": ["labels", "{{label}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "43dba40b-99e0-4bdb-9265-a02898ab290e", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "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": "4d43031b-eed6-4fc7-8c47-c76bdf976323", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "512cde09-e32b-464f-b0e4-a885975a1e60", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "3c1c6388-6750-4a16-9531-a39b9c561bdd"}, "item": {"id": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}, "request": {"url": {"path": ["labels", "{{label}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "9fbe31e4-88f6-4e39-b411-7ccf55b4ee63", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 110, "system": true}, {"key": "Connection", "value": "keep-alive", "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": "842364b2-1889-40fd-9478-4f5b3c221879", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "b8e52f3d-2e29-43e1-a1f5-3b68afa4e968", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "95b899c6-a89f-4394-9dc1-48b251f88557"}, "item": {"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, "request": {"url": {"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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "60a16261-c9a6-4a57-ae69-d872c4cac463", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "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": "9733bda1-0fda-48a7-a972-dfb2b3536e22", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "3e245d28-ff70-428f-98bd-005e75fd4e66", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "01dcd369-bfa9-482a-a8a3-8cf06b44321c"}, "item": {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}, "request": {"url": {"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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "a40e9a0d-3cb6-44ba-9531-62887f87d920", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 159, "system": true}, {"key": "Connection", "value": "keep-alive", "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": "cb7acafe-c6fb-4eb7-afe0-bf0132620bf6", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:23 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": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "99a4572e-7505-4893-a367-6fbaf3f94649", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "af1dfd92-e93d-4d6c-aa7a-890a0fd34591"}, "item": {"id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, "request": {"url": {"path": ["roles", "{{role}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "33a95971-9b6c-4f1f-92ab-5a00211f8deb", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "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": "d88008fc-c81e-4a83-bd64-d6bffae7b7ae", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:24 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "e035f18c-7e68-4336-98c2-f70d3c9c0b8b", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "8676fe1f-5a92-489d-93d8-3caaa5d36a67"}, "item": {"id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}, "request": {"url": {"path": ["roles", "{{role}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "ab7279f3-3fd2-43d8-9d62-ebe8e30ab3d6", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 159, "system": true}, {"key": "Connection", "value": "keep-alive", "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": "e425aa6b-3070-448a-8292-da1dc9d6f1af", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:24 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "58e03b31-f5dd-4d63-9a82-252bbfa8ba6d", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "82780838-be91-4816-8866-90341b6bfce2"}, "item": {"id": "954c30c2-24f4-43b2-862e-1c06428ebb74", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0c0b43e5-1c39-4cc8-9e89-59262b8b2a24", "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": "63b4db65-cc03-43bd-aabb-9276b7dfdd2e", "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": "80230445-d470-47dd-992b-d2531e725790"}}]}, "request": {"url": {"path": ["submitters", "{{id}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "92892a3c-5f6e-4125-87d0-f83133eec791", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 0, "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": "c653acab-9103-44cc-8e6b-7b5cb19decac", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:24 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 9, "responseSize": 2538}, "id": "954c30c2-24f4-43b2-862e-1c06428ebb74", "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": "7283fcb8-c287-4b66-b1de-f2736cee4b4d", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "29be16d5-fc95-4282-98aa-e72d32fef229"}, "item": {"id": "3639dfa2-0e28-4862-9d09-d75555cee1ef", "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": "42ecf6f5-f85b-4fe9-ae70-e361d6edee1b", "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": "34bfda3a-e09c-487d-88a9-9f68e5afee9e", "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": "a0ac91b3-8fe9-4411-885c-0776de7709ce"}}]}, "request": {"url": {"path": ["roles", "{{role}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "38842e99-8470-4720-a6b5-e616848b6a6a", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 0, "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": "47653c22-34cb-4384-8485-b48ce2d287a7", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:24 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "3639dfa2-0e28-4862-9d09-d75555cee1ef", "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": "d4c82512-5175-4126-8ecf-c1107429b1a8", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "ab539871-efe9-47c4-a144-cb3391565839"}, "item": {"id": "8b0721eb-7136-48cf-8e86-4231b0689660", "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": "8fde67ee-57cf-4c61-8751-69eb4490d24e", "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": "36eda249-89bc-44c3-9abc-87b0e4e38a45", "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": "9682d0c8-b578-4cd2-97db-d8221ebfcfab"}}]}, "request": {"url": {"path": ["labels", "{{label}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "7f133394-0a4a-4015-84ef-9c8f22f7c654", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 0, "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": "d7d8e301-3f78-4455-bffb-67d7120f9194", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:24 GMT"}, {"key": "Content-Type", "value": "text/html"}, {"key": "Transfer-Encoding", "value": "chunked"}, {"key": "Connection", "value": "keep-alive"}, {"key": "Vary", "value": "Accept-Encoding"}, {"key": "Content-Encoding", "value": "gzip"}], "cookie": [], "responseTime": 11, "responseSize": 2538}, "id": "8b0721eb-7136-48cf-8e86-4231b0689660", "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": "49471bb4-36b7-4480-becb-32f9fe40ec36", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "beb24b3c-a329-4513-9db6-6003e4ff87e1"}, "item": {"id": "b8e4d67a-cfe0-436a-9b8f-3eacc0f5e86a", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d15d8540-7294-4ef3-bbb1-9a6af23c0e95", "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": "10211ace-d942-48ad-9f2f-96b97f3895d3", "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": "c1ef562d-76e7-478c-9d08-63f1d4d80825"}}]}, "request": {"url": {"path": ["requests", "{{request}}"], "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.21.0", "system": true}, {"key": "Accept", "value": "*/*", "system": true}, {"key": "Cache-Control", "value": "no-cache", "system": true}, {"key": "Postman-Token", "value": "3c71277c-6c92-4dc9-9f6a-b3deb8fe4384", "system": true}, {"key": "Host", "value": "vrc.dev.zuid-drecht.nl", "system": true}, {"key": "Accept-Encoding", "value": "gzip, deflate", "system": true}, {"key": "Content-Length", "value": 0, "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": "62b5b0c2-b4e3-4e1d-bb92-875fcf3f30fc", "status": "Not Found", "code": 404, "header": [{"key": "Server", "value": "nginx"}, {"key": "Date", "value": "Sat, 14 May 2022 22:00:24 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": "b8e4d67a-cfe0-436a-9b8f-3eacc0f5e86a", "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": "65b9c5ef-54a3-4719-ac8d-331cfb5bd3bd", "timestamp": 1652565623120, "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": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, "parent": {"id": "29d1ad83-05c6-4658-b8ea-ff6964d6a30a", "name": "requests", "item": [{"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9007526d-2824-4726-9621-b3234e1894c5"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "83b48c61-2a53-4f98-92ce-9ba9062dbd45"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "acd1784d-56a4-4869-968d-53b22e956503", "httpRequestId": "b72ecfe4-fca8-484c-a37e-76ebac77642d", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}, {"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": "64eedbd3-5dfc-465e-a25b-068963ff8d63", "timestamp": 1652565623125, "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": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, "parent": {"id": "29d1ad83-05c6-4658-b8ea-ff6964d6a30a", "name": "requests", "item": [{"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9007526d-2824-4726-9621-b3234e1894c5"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "83b48c61-2a53-4f98-92ce-9ba9062dbd45"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "acd1784d-56a4-4869-968d-53b22e956503", "httpRequestId": "b72ecfe4-fca8-484c-a37e-76ebac77642d", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}, {"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": "4d3e29e0-0a4b-43d4-b447-7bb503527710", "timestamp": 1652565623128, "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": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, "parent": {"id": "29d1ad83-05c6-4658-b8ea-ff6964d6a30a", "name": "requests", "item": [{"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9007526d-2824-4726-9621-b3234e1894c5"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "83b48c61-2a53-4f98-92ce-9ba9062dbd45"}}], "protocolProfileBehavior": {}}, "cursor": {"position": 0, "iteration": 0, "length": 20, "cycles": 1, "empty": false, "eof": false, "bof": true, "cr": false, "ref": "acd1784d-56a4-4869-968d-53b22e956503", "httpRequestId": "b72ecfe4-fca8-484c-a37e-76ebac77642d", "scriptId": "a90ac810-d1c7-4a1c-bc6d-b9aa2fe73ae1", "execution": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}, {"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": "3b85e586-9a36-4806-81cd-e5d60ac51a73", "timestamp": 1652565623216, "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": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}, "parent": {"id": "29d1ad83-05c6-4658-b8ea-ff6964d6a30a", "name": "requests", "item": [{"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9007526d-2824-4726-9621-b3234e1894c5"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "83b48c61-2a53-4f98-92ce-9ba9062dbd45"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "65808101-4632-45d8-9994-2e7d75648f52", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "a14dcfd3-612e-432a-9766-5613b8f42e07", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}, {"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": "05025684-a629-4f1c-bdb7-4acf99c24606", "timestamp": 1652565623218, "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": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}, "parent": {"id": "29d1ad83-05c6-4658-b8ea-ff6964d6a30a", "name": "requests", "item": [{"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9007526d-2824-4726-9621-b3234e1894c5"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "83b48c61-2a53-4f98-92ce-9ba9062dbd45"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "65808101-4632-45d8-9994-2e7d75648f52", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "a14dcfd3-612e-432a-9766-5613b8f42e07", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}, {"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": "af7f9cd7-e57d-4e0a-893a-c792c01f58ed", "timestamp": 1652565623231, "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": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}, "parent": {"id": "29d1ad83-05c6-4658-b8ea-ff6964d6a30a", "name": "requests", "item": [{"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9007526d-2824-4726-9621-b3234e1894c5"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "83b48c61-2a53-4f98-92ce-9ba9062dbd45"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "65808101-4632-45d8-9994-2e7d75648f52", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "a14dcfd3-612e-432a-9766-5613b8f42e07", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}, {"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": "ffccab67-869b-4cb9-abb9-5c3e89825148", "timestamp": 1652565623233, "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": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}, "parent": {"id": "29d1ad83-05c6-4658-b8ea-ff6964d6a30a", "name": "requests", "item": [{"id": "4361614b-1bba-456e-9767-355b1d84c801", "name": "Retrieves the collection of Request resources.", "request": {"url": {"path": ["requests"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "725cd6f3-bf0f-4569-8aa5-d5b10b6f4fab", "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": "9401e6fc-7c0a-490e-9be9-d22c1dd5b1d7"}}]}, {"id": "5ac83c65-93e0-4607-9fc5-75dc0015b7f8", "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": "8293e684-a966-4051-a38e-21dbc9803eda", "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": "9a861481-53cc-4894-8073-373059e2d6dc", "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": "c5b1d81c-c71f-428b-8cea-5870dbd85e2f", "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": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}]}], "event": [{"listen": "prerequest", "script": {"id": "63323345-442d-4e03-a43a-2962f1ed2d2f", "type": "text/javascript", "exec": [""], "_lastExecutionId": "9007526d-2824-4726-9621-b3234e1894c5"}}, {"listen": "test", "script": {"id": "4f81d4b8-9c60-4e7b-a086-b111f98b92e0", "type": "text/javascript", "exec": [""], "_lastExecutionId": "83b48c61-2a53-4f98-92ce-9ba9062dbd45"}}], "protocolProfileBehavior": {}}, "cursor": {"ref": "65808101-4632-45d8-9994-2e7d75648f52", "length": 20, "cycles": 1, "position": 1, "iteration": 0, "httpRequestId": "a14dcfd3-612e-432a-9766-5613b8f42e07", "scriptId": "6320b636-a664-45e4-a40d-0fe2ac53fb73", "execution": "4bc17f96-cf8f-4a7c-a4d7-92dc8eafe9f1"}}, {"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": "1cc91aa3-36ed-4fad-8b0b-d9ef5eba4b8b", "timestamp": 1652565623285, "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": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, "parent": {"id": "2aa5c208-f76c-44f3-8787-ae578d8ea48b", "name": "requests/{id}", "item": [{"id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, {"id": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "6ca231bd-28fe-48bc-a820-c0e196cab25b", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "92800820-d5a4-4918-b9d6-a78819b3d5d5", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}, {"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": "a977b678-f75e-4844-8496-40d848d82d6f", "timestamp": 1652565623286, "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": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, "parent": {"id": "2aa5c208-f76c-44f3-8787-ae578d8ea48b", "name": "requests/{id}", "item": [{"id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, {"id": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "6ca231bd-28fe-48bc-a820-c0e196cab25b", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "92800820-d5a4-4918-b9d6-a78819b3d5d5", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}, {"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": "59332ea6-c3fd-497b-baea-055d5ee5c7ef", "timestamp": 1652565623288, "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": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, "parent": {"id": "2aa5c208-f76c-44f3-8787-ae578d8ea48b", "name": "requests/{id}", "item": [{"id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, {"id": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "6ca231bd-28fe-48bc-a820-c0e196cab25b", "length": 20, "cycles": 1, "position": 2, "iteration": 0, "httpRequestId": "92800820-d5a4-4918-b9d6-a78819b3d5d5", "scriptId": "b77593e8-da7f-48b4-b2d2-ae8a1e9638b6", "execution": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}, {"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": "03b5bb56-d2a3-4cdd-983f-9b3c8d11e95c", "timestamp": 1652565623352, "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": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}, "parent": {"id": "2aa5c208-f76c-44f3-8787-ae578d8ea48b", "name": "requests/{id}", "item": [{"id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, {"id": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ba2ee920-1daa-4a43-b372-c44e03082e5b", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "3165b73d-63a7-4e19-9813-c7d82c319c89", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}, {"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": "44d98683-873b-4327-88dd-45ef06dbffe9", "timestamp": 1652565623354, "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": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}, "parent": {"id": "2aa5c208-f76c-44f3-8787-ae578d8ea48b", "name": "requests/{id}", "item": [{"id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, {"id": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ba2ee920-1daa-4a43-b372-c44e03082e5b", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "3165b73d-63a7-4e19-9813-c7d82c319c89", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}, {"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": "d7c299a2-8366-47d4-a981-fb1b7615ce1a", "timestamp": 1652565623356, "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": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}, "parent": {"id": "2aa5c208-f76c-44f3-8787-ae578d8ea48b", "name": "requests/{id}", "item": [{"id": "f7c5403a-67f1-434f-9697-ec5757199a4d", "name": "Retrieves a Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0f858b60-10c8-4197-ac75-4d1cba8cb219", "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": "90568285-07e1-4be7-a92a-e5b8a6c171aa", "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": "7c01d5af-b79d-495e-9ef4-9b3bd38aef1e"}}]}, {"id": "6d72dfb5-31e9-4e72-8a84-1be67572d342", "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": "8627cb7b-f2f7-47a1-a73c-d7e2d85d1e4e", "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": "886de085-acf2-46b5-ba04-30b49b6183d2", "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": "d5f1cd81-5fd0-40f1-85e2-d86f40cc363d", "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": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ba2ee920-1daa-4a43-b372-c44e03082e5b", "length": 20, "cycles": 1, "position": 3, "iteration": 0, "httpRequestId": "3165b73d-63a7-4e19-9813-c7d82c319c89", "scriptId": "00af4b1b-0f4a-438e-b378-d76bc62a68e7", "execution": "dbb5f62e-0afa-4b0f-bcab-6c1281f3b98e"}}, {"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": "6e908d82-5449-4a00-9d26-6d4c5a51e35d", "timestamp": 1652565623412, "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": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, "parent": {"id": "366d9bba-685e-4135-a90e-34a6b327b558", "name": "submitters", "item": [{"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1b6ba2f3-d34b-421e-9a26-e398a365369b", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "c5bf9e31-4378-497a-b330-fc4acd6a1696", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "65d4e366-b267-4820-8653-1419ee74e0bc"}}, {"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": "f2ad7f60-56d0-4917-845a-8ff4bf040c5a", "timestamp": 1652565623414, "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": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, "parent": {"id": "366d9bba-685e-4135-a90e-34a6b327b558", "name": "submitters", "item": [{"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1b6ba2f3-d34b-421e-9a26-e398a365369b", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "c5bf9e31-4378-497a-b330-fc4acd6a1696", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "65d4e366-b267-4820-8653-1419ee74e0bc"}}, {"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": "4fe67336-aab7-406a-8b61-d72086be3792", "timestamp": 1652565623416, "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": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, "parent": {"id": "366d9bba-685e-4135-a90e-34a6b327b558", "name": "submitters", "item": [{"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1b6ba2f3-d34b-421e-9a26-e398a365369b", "length": 20, "cycles": 1, "position": 4, "iteration": 0, "httpRequestId": "c5bf9e31-4378-497a-b330-fc4acd6a1696", "scriptId": "bfdc0bd8-c889-4ae5-852a-739cbf96eebb", "execution": "65d4e366-b267-4820-8653-1419ee74e0bc"}}, {"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": "76d00cf1-9130-4d6b-8328-f41e101a667c", "timestamp": 1652565623473, "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": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}, "parent": {"id": "366d9bba-685e-4135-a90e-34a6b327b558", "name": "submitters", "item": [{"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "31b11e5c-f115-4f8e-9c9e-bcf46e4896fb", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "269efedd-b478-43a4-80e8-af0d75e685fc", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}, {"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": "b33b4986-df95-4620-a25f-05521207d102", "timestamp": 1652565623475, "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": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}, "parent": {"id": "366d9bba-685e-4135-a90e-34a6b327b558", "name": "submitters", "item": [{"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "31b11e5c-f115-4f8e-9c9e-bcf46e4896fb", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "269efedd-b478-43a4-80e8-af0d75e685fc", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}, {"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": "fa84394e-4002-4715-b643-1512ba0ca205", "timestamp": 1652565623484, "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": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}, "parent": {"id": "366d9bba-685e-4135-a90e-34a6b327b558", "name": "submitters", "item": [{"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "31b11e5c-f115-4f8e-9c9e-bcf46e4896fb", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "269efedd-b478-43a4-80e8-af0d75e685fc", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}, {"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": "7e6dbab6-a0a5-453c-b2c2-aa2c171822af", "timestamp": 1652565623486, "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": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}, "parent": {"id": "366d9bba-685e-4135-a90e-34a6b327b558", "name": "submitters", "item": [{"id": "442a44d3-bd23-49ea-b9bd-3eb206f9efb3", "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": "79131ffe-9a47-4f0d-848b-85191a51ba83", "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": "65d4e366-b267-4820-8653-1419ee74e0bc"}}]}, {"id": "dacb3cfa-d00b-4722-95ae-019f11793ec6", "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": "c26577c8-65f4-4e11-ae7c-89ddb5939c8b", "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": "e919f0b5-a205-4091-a227-5f1d41d4a540", "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": "175ff95b-78c3-4012-8725-03b0d0071e43", "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": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "31b11e5c-f115-4f8e-9c9e-bcf46e4896fb", "length": 20, "cycles": 1, "position": 5, "iteration": 0, "httpRequestId": "269efedd-b478-43a4-80e8-af0d75e685fc", "scriptId": "7178b3cd-8f8c-4190-b7c4-6d318b67d637", "execution": "39abc3a5-a6b2-4502-a9da-f8de8dd432da"}}, {"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": "91d9acf7-72cd-4798-8600-14ee388b0a04", "timestamp": 1652565623540, "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": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, "parent": {"id": "713325b6-b573-4600-abb2-2485e2758e37", "name": "submitters/{id}", "item": [{"id": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, {"id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ecc928bb-e7ef-4a81-867d-b612a0253490", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "3f84ba15-81c6-4721-962a-d74430274570", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}, {"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": "fb6cbe56-3e10-47c4-b74f-54d9213262e0", "timestamp": 1652565623541, "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": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, "parent": {"id": "713325b6-b573-4600-abb2-2485e2758e37", "name": "submitters/{id}", "item": [{"id": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, {"id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ecc928bb-e7ef-4a81-867d-b612a0253490", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "3f84ba15-81c6-4721-962a-d74430274570", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}, {"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": "f7ed9e07-215a-467b-8ce6-7fbf2488eda9", "timestamp": 1652565623543, "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": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, "parent": {"id": "713325b6-b573-4600-abb2-2485e2758e37", "name": "submitters/{id}", "item": [{"id": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, {"id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "ecc928bb-e7ef-4a81-867d-b612a0253490", "length": 20, "cycles": 1, "position": 6, "iteration": 0, "httpRequestId": "3f84ba15-81c6-4721-962a-d74430274570", "scriptId": "036f783b-b6a8-48e0-850e-f5150fe6ec3d", "execution": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}, {"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": "9b98c749-593b-45dd-9e1b-f4130ba01ed5", "timestamp": 1652565623597, "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": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}, "parent": {"id": "713325b6-b573-4600-abb2-2485e2758e37", "name": "submitters/{id}", "item": [{"id": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, {"id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1f93a56c-7e4a-4ba1-8a0f-95cda4f8fb3b", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "69f4ccc8-79a1-4da5-822b-899a8ee2e8e9", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}, {"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": "1b97fd1e-f44d-4bed-a1b2-eec6ec9287c8", "timestamp": 1652565623598, "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": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}, "parent": {"id": "713325b6-b573-4600-abb2-2485e2758e37", "name": "submitters/{id}", "item": [{"id": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, {"id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1f93a56c-7e4a-4ba1-8a0f-95cda4f8fb3b", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "69f4ccc8-79a1-4da5-822b-899a8ee2e8e9", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}, {"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": "74dfd47c-01bf-43f4-9d6c-478fb0d0b9fd", "timestamp": 1652565623600, "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": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}, "parent": {"id": "713325b6-b573-4600-abb2-2485e2758e37", "name": "submitters/{id}", "item": [{"id": "a07ab7f9-7234-4f26-8df7-dba38f0b0c37", "name": "Retrieves a Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "GET"}, "response": [{"_": {"postman_previewlanguage": "json"}, "id": "49b155c6-c944-417c-b4e8-b2f5243ee1d9", "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": "18bbaf6a-8438-44aa-85b1-aacf6085abe6", "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": "beb1e0ab-b2db-4732-bba9-784c328f36c1"}}]}, {"id": "c736d263-7cb1-49c9-acdc-43591097b902", "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": "ab8c2c0e-44ab-40fa-967c-8cf6b734478b", "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": "65619a32-385c-4525-9dad-02cf44d57cb0", "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": "51da8472-d293-4d8f-94c6-1f6ff4c8dc7f", "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": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "1f93a56c-7e4a-4ba1-8a0f-95cda4f8fb3b", "length": 20, "cycles": 1, "position": 7, "iteration": 0, "httpRequestId": "69f4ccc8-79a1-4da5-822b-899a8ee2e8e9", "scriptId": "fb9055bd-6a59-4221-af44-d95e2c3dcf25", "execution": "8a11da73-1004-4be7-aaf4-5051b4b48141"}}, {"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": "5efa7255-dce1-4ea4-9720-e4ee20b8bc26", "timestamp": 1652565623671, "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": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, "parent": {"id": "1f455f5d-8f38-4139-8aa1-feff9158af1b", "name": "labels", "item": [{"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c63fed60-f1b4-4712-85d8-43414b85c928", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "145a687f-cba7-4a66-8877-dd425850b690", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "75215155-47f3-48b8-86d6-6c21320dd02d"}}, {"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": "4647a018-e40b-4081-b54d-10189c7e5b49", "timestamp": 1652565623673, "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": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, "parent": {"id": "1f455f5d-8f38-4139-8aa1-feff9158af1b", "name": "labels", "item": [{"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c63fed60-f1b4-4712-85d8-43414b85c928", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "145a687f-cba7-4a66-8877-dd425850b690", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "75215155-47f3-48b8-86d6-6c21320dd02d"}}, {"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": "78a9876d-3b95-48d0-92a8-49e82e217d2b", "timestamp": 1652565623674, "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": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, "parent": {"id": "1f455f5d-8f38-4139-8aa1-feff9158af1b", "name": "labels", "item": [{"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "c63fed60-f1b4-4712-85d8-43414b85c928", "length": 20, "cycles": 1, "position": 8, "iteration": 0, "httpRequestId": "145a687f-cba7-4a66-8877-dd425850b690", "scriptId": "2371d2ac-7143-4893-b41d-5da9206c9474", "execution": "75215155-47f3-48b8-86d6-6c21320dd02d"}}, {"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": "4bd47b97-73ac-4e10-a20d-99f481a0e7a7", "timestamp": 1652565623740, "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": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}, "parent": {"id": "1f455f5d-8f38-4139-8aa1-feff9158af1b", "name": "labels", "item": [{"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "a9a71373-c9a9-4e43-b441-5a4a9a27f101", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "645ab00a-666f-445c-9aa7-61a1c5a8dc26", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "2c505537-6930-4f21-996a-d5c53329c0df"}}, {"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": "3cb3a81a-dedd-4d22-9337-2b62e0f560fe", "timestamp": 1652565623741, "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": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}, "parent": {"id": "1f455f5d-8f38-4139-8aa1-feff9158af1b", "name": "labels", "item": [{"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "a9a71373-c9a9-4e43-b441-5a4a9a27f101", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "645ab00a-666f-445c-9aa7-61a1c5a8dc26", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "2c505537-6930-4f21-996a-d5c53329c0df"}}, {"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": "d878e6a1-13fb-416b-a337-852f03618635", "timestamp": 1652565623751, "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": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}, "parent": {"id": "1f455f5d-8f38-4139-8aa1-feff9158af1b", "name": "labels", "item": [{"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "a9a71373-c9a9-4e43-b441-5a4a9a27f101", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "645ab00a-666f-445c-9aa7-61a1c5a8dc26", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "2c505537-6930-4f21-996a-d5c53329c0df"}}, {"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": "d95dc090-9112-4d84-831f-afad4e48c117", "timestamp": 1652565623753, "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": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}, "parent": {"id": "1f455f5d-8f38-4139-8aa1-feff9158af1b", "name": "labels", "item": [{"id": "c1c8c9b5-a912-4612-9836-3817adec7672", "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": "50de4ea4-bd7d-497b-a394-f4d567179ac6", "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": "75215155-47f3-48b8-86d6-6c21320dd02d"}}]}, {"id": "7529f8f1-8ad7-4f2f-ac4f-92fedb221b0b", "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": "3716b65f-c42f-498d-9309-facecc056a90", "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": "38f862f9-b997-4164-9aa6-67d534fd3c63", "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": "5765643d-006a-4d1f-b205-e423c9a9c295", "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": "2c505537-6930-4f21-996a-d5c53329c0df"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "a9a71373-c9a9-4e43-b441-5a4a9a27f101", "length": 20, "cycles": 1, "position": 9, "iteration": 0, "httpRequestId": "645ab00a-666f-445c-9aa7-61a1c5a8dc26", "scriptId": "590b06f2-f8a7-4340-8e72-6caa188a5060", "execution": "2c505537-6930-4f21-996a-d5c53329c0df"}}, {"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": "b564b9d4-efbc-4c9b-9ffc-2c8e756ca623", "timestamp": 1652565623818, "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": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, "parent": {"id": "4a1100cb-b65a-473a-9d20-33de1f090c49", "name": "labels/{id}", "item": [{"id": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, {"id": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "be8f35d0-2886-4f1e-9eea-49aabcaf1d18", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "0dc3cc47-e3ed-44ca-8438-496c1bfcdafc", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}, {"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": "0ef975d4-5ba7-4d91-928b-13dfec3b50f0", "timestamp": 1652565623820, "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": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, "parent": {"id": "4a1100cb-b65a-473a-9d20-33de1f090c49", "name": "labels/{id}", "item": [{"id": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, {"id": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "be8f35d0-2886-4f1e-9eea-49aabcaf1d18", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "0dc3cc47-e3ed-44ca-8438-496c1bfcdafc", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}, {"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": "4401e689-1657-463f-81c7-a6ef58bd735d", "timestamp": 1652565623822, "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": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, "parent": {"id": "4a1100cb-b65a-473a-9d20-33de1f090c49", "name": "labels/{id}", "item": [{"id": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, {"id": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "be8f35d0-2886-4f1e-9eea-49aabcaf1d18", "length": 20, "cycles": 1, "position": 10, "iteration": 0, "httpRequestId": "0dc3cc47-e3ed-44ca-8438-496c1bfcdafc", "scriptId": "421d9238-7c55-4e4a-92da-58a8dfddff82", "execution": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}, {"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": "bb5b0b44-c1a6-47b6-b545-42fe3149f472", "timestamp": 1652565623896, "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": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}, "parent": {"id": "4a1100cb-b65a-473a-9d20-33de1f090c49", "name": "labels/{id}", "item": [{"id": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, {"id": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "512cde09-e32b-464f-b0e4-a885975a1e60", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "3c1c6388-6750-4a16-9531-a39b9c561bdd", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}, {"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": "1276169d-711e-4af2-8e5c-19b78db8edd6", "timestamp": 1652565623898, "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": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}, "parent": {"id": "4a1100cb-b65a-473a-9d20-33de1f090c49", "name": "labels/{id}", "item": [{"id": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, {"id": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "512cde09-e32b-464f-b0e4-a885975a1e60", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "3c1c6388-6750-4a16-9531-a39b9c561bdd", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}, {"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": "0dfd7a47-4011-4386-82e0-82e9e334a702", "timestamp": 1652565623900, "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": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}, "parent": {"id": "4a1100cb-b65a-473a-9d20-33de1f090c49", "name": "labels/{id}", "item": [{"id": "c92e5fb1-d9cd-4423-b030-c8a7fc6f33de", "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": "3430cb65-dc96-40e1-bdb7-6478e61491e6", "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": "5477674c-7dd2-4342-8989-6b336ffb176e", "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": "7f66cc4f-5422-4b15-9ae7-6a1c287a6137"}}]}, {"id": "c97312d1-2730-4bd5-867d-201b9fac16e0", "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": "1885e6a7-fbf4-4c73-9728-50359cbeddbb", "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": "d92535e5-6783-4c11-a335-b7ed2ea10d6f", "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": "ee2d7680-973a-402f-b353-0bbbf4345831", "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": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "512cde09-e32b-464f-b0e4-a885975a1e60", "length": 20, "cycles": 1, "position": 11, "iteration": 0, "httpRequestId": "3c1c6388-6750-4a16-9531-a39b9c561bdd", "scriptId": "cb534867-4b14-4eb3-97c6-8f6076ad2e63", "execution": "ed34b849-4e60-476e-97fd-e3f85adcd256"}}, {"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": "9529d8f9-4dda-43b0-8ab9-0e72bff516d5", "timestamp": 1652565623962, "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": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, "parent": {"id": "e2349a21-c282-4620-b18e-2c0785438ba1", "name": "roles", "item": [{"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b8e52f3d-2e29-43e1-a1f5-3b68afa4e968", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "95b899c6-a89f-4394-9dc1-48b251f88557", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}, {"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": "407e8594-5726-49d4-a4c3-6d4321047b20", "timestamp": 1652565623964, "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": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, "parent": {"id": "e2349a21-c282-4620-b18e-2c0785438ba1", "name": "roles", "item": [{"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b8e52f3d-2e29-43e1-a1f5-3b68afa4e968", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "95b899c6-a89f-4394-9dc1-48b251f88557", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}, {"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": "da635d62-a150-47a7-9325-1ddb9b14b37d", "timestamp": 1652565623965, "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": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, "parent": {"id": "e2349a21-c282-4620-b18e-2c0785438ba1", "name": "roles", "item": [{"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "b8e52f3d-2e29-43e1-a1f5-3b68afa4e968", "length": 20, "cycles": 1, "position": 12, "iteration": 0, "httpRequestId": "95b899c6-a89f-4394-9dc1-48b251f88557", "scriptId": "9cd23a7a-a365-4c34-a58c-6cb67bc975d9", "execution": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}, {"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": "2bb6e032-9154-4f81-aa63-9844c23d4d7f", "timestamp": 1652565624025, "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": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}, "parent": {"id": "e2349a21-c282-4620-b18e-2c0785438ba1", "name": "roles", "item": [{"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3e245d28-ff70-428f-98bd-005e75fd4e66", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "01dcd369-bfa9-482a-a8a3-8cf06b44321c", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}, {"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": "c8a88d12-5788-4a71-a273-793e72d343ec", "timestamp": 1652565624026, "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": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}, "parent": {"id": "e2349a21-c282-4620-b18e-2c0785438ba1", "name": "roles", "item": [{"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3e245d28-ff70-428f-98bd-005e75fd4e66", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "01dcd369-bfa9-482a-a8a3-8cf06b44321c", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}, {"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": "5c6a1df7-337f-49f1-8675-c9d7829649b6", "timestamp": 1652565624038, "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": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}, "parent": {"id": "e2349a21-c282-4620-b18e-2c0785438ba1", "name": "roles", "item": [{"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3e245d28-ff70-428f-98bd-005e75fd4e66", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "01dcd369-bfa9-482a-a8a3-8cf06b44321c", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}, {"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": "77bf5af9-3f23-4d27-8dc1-5065c62e2b19", "timestamp": 1652565624040, "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": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}, "parent": {"id": "e2349a21-c282-4620-b18e-2c0785438ba1", "name": "roles", "item": [{"id": "7f4d003c-8f0c-4316-a71a-4f8a273efc4d", "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": "b2967145-31ae-4747-a7da-4a34d4bb1b80", "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": "63c74784-5142-4ef7-95a2-8b5dbed50e88"}}]}, {"id": "888665a2-f2d2-4d65-8954-2629d985c32d", "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": "6c8bd3e7-5173-4d5e-ab8c-05f8ad597224", "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": "398ede94-6428-4d87-8e2d-185a1e64bb83", "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": "2ea1a0a3-10ec-4fc9-86a0-513200424b60", "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": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "3e245d28-ff70-428f-98bd-005e75fd4e66", "length": 20, "cycles": 1, "position": 13, "iteration": 0, "httpRequestId": "01dcd369-bfa9-482a-a8a3-8cf06b44321c", "scriptId": "21f31a03-179d-4598-83e7-cbeb547bcc81", "execution": "fb3ed9aa-f723-4eb3-afeb-0445b5885d2e"}}, {"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": "d5111b70-ed51-4bfe-986d-a6ac208c2912", "timestamp": 1652565624098, "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": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, "parent": {"id": "27e2d385-e02a-47be-b687-c661b047f689", "name": "roles/{id}", "item": [{"id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, {"id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "99a4572e-7505-4893-a367-6fbaf3f94649", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "af1dfd92-e93d-4d6c-aa7a-890a0fd34591", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}, {"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": "46e7fb84-9d62-471b-a81b-500db0cf35f5", "timestamp": 1652565624100, "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": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, "parent": {"id": "27e2d385-e02a-47be-b687-c661b047f689", "name": "roles/{id}", "item": [{"id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, {"id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "99a4572e-7505-4893-a367-6fbaf3f94649", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "af1dfd92-e93d-4d6c-aa7a-890a0fd34591", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}, {"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": "7ff9e8ff-1428-4914-bf95-7a937a33f8d0", "timestamp": 1652565624102, "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": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, "parent": {"id": "27e2d385-e02a-47be-b687-c661b047f689", "name": "roles/{id}", "item": [{"id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, {"id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "99a4572e-7505-4893-a367-6fbaf3f94649", "length": 20, "cycles": 1, "position": 14, "iteration": 0, "httpRequestId": "af1dfd92-e93d-4d6c-aa7a-890a0fd34591", "scriptId": "be574d7b-03af-49df-b14c-748672e96850", "execution": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}, {"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": "92fe363b-26e5-42b7-931d-956452e85189", "timestamp": 1652565624159, "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": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}, "parent": {"id": "27e2d385-e02a-47be-b687-c661b047f689", "name": "roles/{id}", "item": [{"id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, {"id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e035f18c-7e68-4336-98c2-f70d3c9c0b8b", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "8676fe1f-5a92-489d-93d8-3caaa5d36a67", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "e157de3d-bd5d-4518-a7de-f349b222d720"}}, {"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": "f10e943d-be14-4ebe-ab5f-8abb4c708559", "timestamp": 1652565624160, "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": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}, "parent": {"id": "27e2d385-e02a-47be-b687-c661b047f689", "name": "roles/{id}", "item": [{"id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, {"id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e035f18c-7e68-4336-98c2-f70d3c9c0b8b", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "8676fe1f-5a92-489d-93d8-3caaa5d36a67", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "e157de3d-bd5d-4518-a7de-f349b222d720"}}, {"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": "afb0529f-81bc-4faa-b490-bed82a06a8a4", "timestamp": 1652565624162, "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": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}, "parent": {"id": "27e2d385-e02a-47be-b687-c661b047f689", "name": "roles/{id}", "item": [{"id": "946ddccd-70be-4e3e-80ce-c04f8b2bd097", "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": "13fc9375-9b2a-495a-abf4-94940819d818", "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": "c805aad4-d05b-434c-a5c5-13a11d775de6", "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": "20d23508-6433-4d6d-84d7-1f4e4004fb9c"}}]}, {"id": "21d3d1fa-14c2-4135-8be1-9f70c83f67b7", "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": "1d7ac87c-f531-4502-ab6d-2be11a9a18e4", "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": "2d948cb4-a9ad-4dd5-b763-80228a8ff8ee", "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": "d3428aa2-3c45-409a-ae1e-83376b013124", "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": "e157de3d-bd5d-4518-a7de-f349b222d720"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "e035f18c-7e68-4336-98c2-f70d3c9c0b8b", "length": 20, "cycles": 1, "position": 15, "iteration": 0, "httpRequestId": "8676fe1f-5a92-489d-93d8-3caaa5d36a67", "scriptId": "0d60bfc0-90c2-4444-8b69-6ccfe30589f5", "execution": "e157de3d-bd5d-4518-a7de-f349b222d720"}}, {"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": "1f7bb544-24e9-440f-a229-9057fe87aac8", "timestamp": 1652565624206, "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": "954c30c2-24f4-43b2-862e-1c06428ebb74", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0c0b43e5-1c39-4cc8-9e89-59262b8b2a24", "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": "63b4db65-cc03-43bd-aabb-9276b7dfdd2e", "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": "80230445-d470-47dd-992b-d2531e725790"}}]}, "parent": {"id": "a8e49e4d-32da-4dd0-8862-471db833c901", "name": "Clear up", "item": [{"id": "954c30c2-24f4-43b2-862e-1c06428ebb74", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0c0b43e5-1c39-4cc8-9e89-59262b8b2a24", "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": "63b4db65-cc03-43bd-aabb-9276b7dfdd2e", "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": "80230445-d470-47dd-992b-d2531e725790"}}]}, {"id": "3639dfa2-0e28-4862-9d09-d75555cee1ef", "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": "42ecf6f5-f85b-4fe9-ae70-e361d6edee1b", "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": "34bfda3a-e09c-487d-88a9-9f68e5afee9e", "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": "a0ac91b3-8fe9-4411-885c-0776de7709ce"}}]}, {"id": "8b0721eb-7136-48cf-8e86-4231b0689660", "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": "8fde67ee-57cf-4c61-8751-69eb4490d24e", "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": "36eda249-89bc-44c3-9abc-87b0e4e38a45", "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": "9682d0c8-b578-4cd2-97db-d8221ebfcfab"}}]}, {"id": "b8e4d67a-cfe0-436a-9b8f-3eacc0f5e86a", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d15d8540-7294-4ef3-bbb1-9a6af23c0e95", "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": "10211ace-d942-48ad-9f2f-96b97f3895d3", "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": "c1ef562d-76e7-478c-9d08-63f1d4d80825"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "58e03b31-f5dd-4d63-9a82-252bbfa8ba6d", "length": 20, "cycles": 1, "position": 16, "iteration": 0, "httpRequestId": "82780838-be91-4816-8866-90341b6bfce2", "scriptId": "56f4e7fe-d4b2-4447-8a1c-c4f3f40c526e", "execution": "80230445-d470-47dd-992b-d2531e725790"}}, {"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": "8c70a7a4-d995-4264-9eec-8487e237484b", "timestamp": 1652565624267, "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": "3639dfa2-0e28-4862-9d09-d75555cee1ef", "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": "42ecf6f5-f85b-4fe9-ae70-e361d6edee1b", "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": "34bfda3a-e09c-487d-88a9-9f68e5afee9e", "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": "a0ac91b3-8fe9-4411-885c-0776de7709ce"}}]}, "parent": {"id": "a8e49e4d-32da-4dd0-8862-471db833c901", "name": "Clear up", "item": [{"id": "954c30c2-24f4-43b2-862e-1c06428ebb74", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0c0b43e5-1c39-4cc8-9e89-59262b8b2a24", "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": "63b4db65-cc03-43bd-aabb-9276b7dfdd2e", "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": "80230445-d470-47dd-992b-d2531e725790"}}]}, {"id": "3639dfa2-0e28-4862-9d09-d75555cee1ef", "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": "42ecf6f5-f85b-4fe9-ae70-e361d6edee1b", "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": "34bfda3a-e09c-487d-88a9-9f68e5afee9e", "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": "a0ac91b3-8fe9-4411-885c-0776de7709ce"}}]}, {"id": "8b0721eb-7136-48cf-8e86-4231b0689660", "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": "8fde67ee-57cf-4c61-8751-69eb4490d24e", "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": "36eda249-89bc-44c3-9abc-87b0e4e38a45", "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": "9682d0c8-b578-4cd2-97db-d8221ebfcfab"}}]}, {"id": "b8e4d67a-cfe0-436a-9b8f-3eacc0f5e86a", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d15d8540-7294-4ef3-bbb1-9a6af23c0e95", "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": "10211ace-d942-48ad-9f2f-96b97f3895d3", "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": "c1ef562d-76e7-478c-9d08-63f1d4d80825"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "7283fcb8-c287-4b66-b1de-f2736cee4b4d", "length": 20, "cycles": 1, "position": 17, "iteration": 0, "httpRequestId": "29be16d5-fc95-4282-98aa-e72d32fef229", "scriptId": "61d37bcf-e148-4345-bef7-7dfb628bc585", "execution": "a0ac91b3-8fe9-4411-885c-0776de7709ce"}}, {"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": "8949364e-eb00-4ca1-bb21-62132c0bddaa", "timestamp": 1652565624318, "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": "8b0721eb-7136-48cf-8e86-4231b0689660", "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": "8fde67ee-57cf-4c61-8751-69eb4490d24e", "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": "36eda249-89bc-44c3-9abc-87b0e4e38a45", "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": "9682d0c8-b578-4cd2-97db-d8221ebfcfab"}}]}, "parent": {"id": "a8e49e4d-32da-4dd0-8862-471db833c901", "name": "Clear up", "item": [{"id": "954c30c2-24f4-43b2-862e-1c06428ebb74", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0c0b43e5-1c39-4cc8-9e89-59262b8b2a24", "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": "63b4db65-cc03-43bd-aabb-9276b7dfdd2e", "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": "80230445-d470-47dd-992b-d2531e725790"}}]}, {"id": "3639dfa2-0e28-4862-9d09-d75555cee1ef", "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": "42ecf6f5-f85b-4fe9-ae70-e361d6edee1b", "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": "34bfda3a-e09c-487d-88a9-9f68e5afee9e", "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": "a0ac91b3-8fe9-4411-885c-0776de7709ce"}}]}, {"id": "8b0721eb-7136-48cf-8e86-4231b0689660", "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": "8fde67ee-57cf-4c61-8751-69eb4490d24e", "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": "36eda249-89bc-44c3-9abc-87b0e4e38a45", "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": "9682d0c8-b578-4cd2-97db-d8221ebfcfab"}}]}, {"id": "b8e4d67a-cfe0-436a-9b8f-3eacc0f5e86a", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d15d8540-7294-4ef3-bbb1-9a6af23c0e95", "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": "10211ace-d942-48ad-9f2f-96b97f3895d3", "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": "c1ef562d-76e7-478c-9d08-63f1d4d80825"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "d4c82512-5175-4126-8ecf-c1107429b1a8", "length": 20, "cycles": 1, "position": 18, "iteration": 0, "httpRequestId": "ab539871-efe9-47c4-a144-cb3391565839", "scriptId": "d88c20cf-0c6a-4913-b66d-1c8120fce32a", "execution": "9682d0c8-b578-4cd2-97db-d8221ebfcfab"}}, {"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": "9d7a4eaa-1622-4cfe-ae36-eeb5150935a9", "timestamp": 1652565624370, "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": "b8e4d67a-cfe0-436a-9b8f-3eacc0f5e86a", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d15d8540-7294-4ef3-bbb1-9a6af23c0e95", "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": "10211ace-d942-48ad-9f2f-96b97f3895d3", "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": "c1ef562d-76e7-478c-9d08-63f1d4d80825"}}]}, "parent": {"id": "a8e49e4d-32da-4dd0-8862-471db833c901", "name": "Clear up", "item": [{"id": "954c30c2-24f4-43b2-862e-1c06428ebb74", "name": "Removes the Submitter resource.", "request": {"url": {"path": ["submitters", "{{id}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "0c0b43e5-1c39-4cc8-9e89-59262b8b2a24", "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": "63b4db65-cc03-43bd-aabb-9276b7dfdd2e", "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": "80230445-d470-47dd-992b-d2531e725790"}}]}, {"id": "3639dfa2-0e28-4862-9d09-d75555cee1ef", "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": "42ecf6f5-f85b-4fe9-ae70-e361d6edee1b", "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": "34bfda3a-e09c-487d-88a9-9f68e5afee9e", "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": "a0ac91b3-8fe9-4411-885c-0776de7709ce"}}]}, {"id": "8b0721eb-7136-48cf-8e86-4231b0689660", "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": "8fde67ee-57cf-4c61-8751-69eb4490d24e", "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": "36eda249-89bc-44c3-9abc-87b0e4e38a45", "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": "9682d0c8-b578-4cd2-97db-d8221ebfcfab"}}]}, {"id": "b8e4d67a-cfe0-436a-9b8f-3eacc0f5e86a", "name": "Removes the Request resource.", "request": {"url": {"path": ["requests", "{{request}}"], "host": ["{{baseUrl}}"], "query": [], "variable": []}, "method": "DELETE"}, "response": [{"_": {"postman_previewlanguage": "text"}, "id": "d15d8540-7294-4ef3-bbb1-9a6af23c0e95", "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": "10211ace-d942-48ad-9f2f-96b97f3895d3", "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": "c1ef562d-76e7-478c-9d08-63f1d4d80825"}}]}], "event": [], "protocolProfileBehavior": {}}, "cursor": {"ref": "49471bb4-36b7-4480-becb-32f9fe40ec36", "length": 20, "cycles": 1, "position": 19, "iteration": 0, "httpRequestId": "beb24b3c-a329-4513-9db6-6003e4ff87e1", "scriptId": "9d25aec0-d4e4-44e5-97b3-9faef705e5a3", "execution": "c1ef562d-76e7-478c-9d08-63f1d4d80825"}}], "error": null}}