diff --git a/docs/postman_collections/Contactgegevens.postman_collection.json b/docs/postman_collections/Contactgegevens.postman_collection.json new file mode 100644 index 00000000..fd1d01fd --- /dev/null +++ b/docs/postman_collections/Contactgegevens.postman_collection.json @@ -0,0 +1,1034 @@ +{ + "info": { + "_postman_id": "48d75553-6f06-45b6-a37c-d03faee886d2", + "name": "Contactgegevens API", + "description": "\nDescription WIP.\n\n\nContact Support:\n Email: standaarden.ondersteuning@vng.nl", + "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json", + "_exporter_id": "19962313" + }, + "item": [ + { + "name": "organisatie", + "item": [ + { + "name": "Alle organisaties opvragen.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/organisatie?page=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie" + ], + "query": [ + { + "key": "page", + "value": "", + "description": "Een pagina binnen de gepagineerde set resultaten." + } + ] + }, + "description": "Alle organisaties opvragen." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/organisatie?page=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie" + ], + "query": [ + { + "key": "page", + "value": "", + "description": "Een pagina binnen de gepagineerde set resultaten." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": \"\",\n \"next\": \"\",\n \"previous\": \"\",\n \"results\": [\n {\n \"handelsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n },\n {\n \"handelsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n }\n ]\n}" + } + ] + }, + { + "name": "Maak een organisatie aan.", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"handelsnaam\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": "{{baseUrl}}/organisatie", + "description": "Maak een organisatie aan." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"handelsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": "{{baseUrl}}/organisatie" + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"handelsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}" + } + ] + }, + { + "name": "Een specifiek organisatie opvragen.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/organisatie/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Een specifiek organisatie opvragen." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/organisatie/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie", + ":uuid" + ], + "variable": [ + { + "key": "uuid" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"handelsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}" + } + ] + }, + { + "name": "Werk een organisatie in zijn geheel bij.", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"handelsnaam\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/organisatie/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Werk een organisatie in zijn geheel bij." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"handelsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/organisatie/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie", + ":uuid" + ], + "variable": [ + { + "key": "uuid" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"handelsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}" + } + ] + }, + { + "name": "Werk een organisatie deels bij.", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"handelsnaam\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/organisatie/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Werk een organisatie deels bij." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"uuid\": \"\",\n \"url\": \"\",\n \"handelsnaam\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/organisatie/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie", + ":uuid" + ], + "variable": [ + { + "key": "uuid" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"handelsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"oprichtingsdatum\": \"\",\n \"opheffingsdatum\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}" + } + ] + }, + { + "name": "Verwijder een organisatie.", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/organisatie/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Verwijder een organisatie." + }, + "response": [ + { + "name": "No response body", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/organisatie/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "organisatie", + ":uuid" + ], + "variable": [ + { + "key": "uuid" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ] + }, + { + "name": "persoon", + "item": [ + { + "name": "Alle personen opvragen.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/persoon?page=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon" + ], + "query": [ + { + "key": "page", + "value": "", + "description": "Een pagina binnen de gepagineerde set resultaten." + } + ] + }, + "description": "Alle personen opvragen." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/persoon?page=", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon" + ], + "query": [ + { + "key": "page", + "value": "", + "description": "Een pagina binnen de gepagineerde set resultaten." + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"count\": \"\",\n \"next\": \"\",\n \"previous\": \"\",\n \"results\": [\n {\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n },\n {\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n }\n ]\n}" + } + ] + }, + { + "name": "Maak een persoon aan.", + "request": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": "{{baseUrl}}/persoon", + "description": "Maak een persoon aan." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "POST", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": "{{baseUrl}}/persoon" + }, + "status": "Created", + "code": 201, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}" + } + ] + }, + { + "name": "Een specifiek persoon opvragen.", + "request": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + } + ], + "url": { + "raw": "{{baseUrl}}/persoon/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Een specifiek persoon opvragen." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "GET", + "header": [ + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/persoon/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon", + ":uuid" + ], + "variable": [ + { + "key": "uuid" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}" + } + ] + }, + { + "name": "Werk een persoon in zijn geheel bij.", + "request": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/persoon/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Werk een persoon in zijn geheel bij." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "PUT", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/persoon/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon", + ":uuid" + ], + "variable": [ + { + "key": "uuid" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}" + } + ] + }, + { + "name": "Werk een persoon deels bij.", + "request": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/persoon/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Werk een persoon deels bij." + }, + "response": [ + { + "name": "Untitled Response", + "originalRequest": { + "method": "PATCH", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + }, + { + "key": "Accept", + "value": "application/json" + }, + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "body": { + "mode": "raw", + "raw": "{\n \"uuid\": \"\",\n \"url\": \"\",\n \"geboortedatum\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"geslacht\": \"o\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}", + "options": { + "raw": { + "headerFamily": "json", + "language": "json" + } + } + }, + "url": { + "raw": "{{baseUrl}}/persoon/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon", + ":uuid" + ], + "variable": [ + { + "key": "uuid" + } + ] + } + }, + "status": "OK", + "code": 200, + "_postman_previewlanguage": "json", + "header": [ + { + "key": "Content-Type", + "value": "application/json" + } + ], + "cookie": [], + "body": "{\n \"geboortedatum\": \"\",\n \"geslachtsnaam\": \"\",\n \"url\": \"\",\n \"uuid\": \"\",\n \"overlijdensdatum\": \"\",\n \"geslacht\": \"v\",\n \"voorvoegsel\": \"\",\n \"voornamen\": \"\",\n \"adres\": {\n \"nummeraanduidingId\": \"\",\n \"adresregel1\": \"\",\n \"adresregel2\": \"\",\n \"adresregel3\": \"\",\n \"land\": \"\"\n },\n \"land\": \"\"\n}" + } + ] + }, + { + "name": "Verwijder een persoon.", + "request": { + "method": "DELETE", + "header": [], + "url": { + "raw": "{{baseUrl}}/persoon/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon", + ":uuid" + ], + "variable": [ + { + "key": "uuid", + "value": "", + "description": "(Required) " + } + ] + }, + "description": "Verwijder een persoon." + }, + "response": [ + { + "name": "No response body", + "originalRequest": { + "method": "DELETE", + "header": [ + { + "description": "Added as a part of security scheme: apikey", + "key": "Authorization", + "value": "" + } + ], + "url": { + "raw": "{{baseUrl}}/persoon/:uuid", + "host": [ + "{{baseUrl}}" + ], + "path": [ + "persoon", + ":uuid" + ], + "variable": [ + { + "key": "uuid" + } + ] + } + }, + "status": "No Content", + "code": 204, + "_postman_previewlanguage": "text", + "header": [], + "cookie": [], + "body": "" + } + ] + } + ] + } + ], + "auth": { + "type": "apikey", + "apikey": { + "value": "Token {{apiKey}}", + "key": "Authorization" + } + }, + "event": [ + { + "listen": "prerequest", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + }, + { + "listen": "test", + "script": { + "type": "text/javascript", + "exec": [ + "" + ] + } + } + ], + "variable": [ + { + "key": "baseUrl", + "value": "/" + } + ] +} \ No newline at end of file diff --git a/src/openklant/fixtures/contactgegevens.json b/src/openklant/fixtures/contactgegevens.json new file mode 100644 index 00000000..30417ffd --- /dev/null +++ b/src/openklant/fixtures/contactgegevens.json @@ -0,0 +1,37 @@ +[ +{ + "model": "contactgegevens.organisatie", + "pk": 1, + "fields": { + "adres_nummeraanduiding_id": "e25988cd-daa7-43f7-ba8b-f226c5a3ec76", + "adres_adresregel1": "Keizersgracht 117", + "adres_adresregel2": "1015 CJ Amsterdam", + "adres_adresregel3": "Noord-Holland", + "adres_land": "6030", + "uuid": "9df246f7-027b-4305-bf43-043b3b926ed3", + "handelsnaam": "Maykin Media", + "oprichtingsdatum": "2008-01-01", + "opheffingsdatum": null, + "land": "6030" + } +}, +{ + "model": "contactgegevens.persoon", + "pk": 1, + "fields": { + "adres_nummeraanduiding_id": "ed28d31b-8831-48c4-bf5b-ec312d149f72", + "adres_adresregel1": "Keizersgracht 117", + "adres_adresregel2": "1015 CJ Amsterdam", + "adres_adresregel3": "Noord-Holland", + "adres_land": "6030", + "uuid": "729ff687-e6ab-4627-9a0b-5eca4098b746", + "geboortedatum": "2000-01-01", + "overlijdensdatum": null, + "geslachtsnaam": "Schalkwijk", + "geslacht": "v", + "voorvoegsel": "van", + "voornamen": "Nagihan", + "land": "6030" + } +} +]