Skip to content

Commit

Permalink
Serialize list params in an OK2 supported format
Browse files Browse the repository at this point in the history
  • Loading branch information
swrichards committed Oct 3, 2024
1 parent f1745d2 commit 7309047
Show file tree
Hide file tree
Showing 22 changed files with 222 additions and 207 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ interactions:
uri: http://localhost:8338/klantinteracties/api/v1/partijen
response:
body:
string: '{"uuid":"34c28139-67be-4db6-85d7-fea58ce2b75d","url":"http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d","nummer":"0000000001","interneNotitie":"","betrokkenen":[],"categorieRelaties":[],"digitaleAdressen":[],"voorkeursDigitaalAdres":null,"vertegenwoordigden":[],"rekeningnummers":[],"voorkeursRekeningnummer":null,"partijIdentificatoren":[],"soortPartij":"persoon","indicatieGeheimhouding":false,"voorkeurstaal":"crp","indicatieActief":true,"bezoekadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"correspondentieadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"partijIdentificatie":{"contactnaam":{"voorletters":"Dr.","voornaam":"Test
string: '{"uuid":"b0632b2e-d216-4680-aca3-b0bac8d5ddce","url":"http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce","nummer":"0000000001","interneNotitie":"","betrokkenen":[],"categorieRelaties":[],"digitaleAdressen":[],"voorkeursDigitaalAdres":null,"vertegenwoordigden":[],"rekeningnummers":[],"voorkeursRekeningnummer":null,"partijIdentificatoren":[],"soortPartij":"persoon","indicatieGeheimhouding":false,"voorkeurstaal":"crp","indicatieActief":true,"bezoekadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"correspondentieadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"partijIdentificatie":{"contactnaam":{"voorletters":"Dr.","voornaam":"Test
Persoon","voorvoegselAchternaam":"Mrs.","achternaam":"Gamble"},"volledigeNaam":"Test
Persoon Mrs. Gamble"}}'
headers:
Expand All @@ -31,7 +31,7 @@ interactions:
Cross-Origin-Opener-Policy:
- same-origin
Location:
- http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d
- http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce
Referrer-Policy:
- same-origin
Vary:
Expand All @@ -44,7 +44,7 @@ interactions:
code: 201
message: Created
- request:
body: '{"identificeerdePartij": {"uuid": "34c28139-67be-4db6-85d7-fea58ce2b75d"},
body: '{"identificeerdePartij": {"uuid": "b0632b2e-d216-4680-aca3-b0bac8d5ddce"},
"partijIdentificator": {"codeObjecttype": "bsn", "codeSoortObjectId": "inp",
"objectId": "123456789", "codeRegister": "brp"}, "anderePartijIdentificator":
"optional_identifier_123"}'
Expand All @@ -59,7 +59,7 @@ interactions:
uri: http://localhost:8338/klantinteracties/api/v1/partij-identificatoren
response:
body:
string: '{"uuid":"b88aa09f-ebae-4305-acca-9aa933198376","url":"http://localhost:8338/klantinteracties/api/v1/partij-identificatoren/b88aa09f-ebae-4305-acca-9aa933198376","identificeerdePartij":{"uuid":"34c28139-67be-4db6-85d7-fea58ce2b75d","url":"http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d"},"anderePartijIdentificator":"optional_identifier_123","partijIdentificator":{"codeObjecttype":"bsn","codeSoortObjectId":"inp","objectId":"123456789","codeRegister":"brp"}}'
string: '{"uuid":"985d7954-7db7-4008-ab0b-6584433fa2d6","url":"http://localhost:8338/klantinteracties/api/v1/partij-identificatoren/985d7954-7db7-4008-ab0b-6584433fa2d6","identificeerdePartij":{"uuid":"b0632b2e-d216-4680-aca3-b0bac8d5ddce","url":"http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce"},"anderePartijIdentificator":"optional_identifier_123","partijIdentificator":{"codeObjecttype":"bsn","codeSoortObjectId":"inp","objectId":"123456789","codeRegister":"brp"}}'
headers:
API-version:
- 0.0.3
Expand All @@ -72,7 +72,7 @@ interactions:
Cross-Origin-Opener-Policy:
- same-origin
Location:
- http://localhost:8338/klantinteracties/api/v1/partij-identificatoren/b88aa09f-ebae-4305-acca-9aa933198376
- http://localhost:8338/klantinteracties/api/v1/partij-identificatoren/985d7954-7db7-4008-ab0b-6584433fa2d6
Referrer-Policy:
- same-origin
Vary:
Expand All @@ -90,10 +90,10 @@ interactions:
Authorization:
- Token b2eb1da9861da88743d72a3fb4344288fe2cba44
method: GET
uri: http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d?expand=digitaleAdressen
uri: http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce?expand=digitaleAdressen
response:
body:
string: '{"uuid":"34c28139-67be-4db6-85d7-fea58ce2b75d","url":"http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d","nummer":"0000000001","interneNotitie":"","betrokkenen":[],"categorieRelaties":[],"digitaleAdressen":[],"voorkeursDigitaalAdres":null,"vertegenwoordigden":[],"rekeningnummers":[],"voorkeursRekeningnummer":null,"partijIdentificatoren":[{"uuid":"b88aa09f-ebae-4305-acca-9aa933198376","url":"http://localhost:8338/klantinteracties/api/v1/partij-identificatoren/b88aa09f-ebae-4305-acca-9aa933198376"}],"soortPartij":"persoon","indicatieGeheimhouding":false,"voorkeurstaal":"crp","indicatieActief":true,"bezoekadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"correspondentieadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"partijIdentificatie":{"contactnaam":{"voorletters":"Dr.","voornaam":"Test
string: '{"uuid":"b0632b2e-d216-4680-aca3-b0bac8d5ddce","url":"http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce","nummer":"0000000001","interneNotitie":"","betrokkenen":[],"categorieRelaties":[],"digitaleAdressen":[],"voorkeursDigitaalAdres":null,"vertegenwoordigden":[],"rekeningnummers":[],"voorkeursRekeningnummer":null,"partijIdentificatoren":[{"uuid":"985d7954-7db7-4008-ab0b-6584433fa2d6","url":"http://localhost:8338/klantinteracties/api/v1/partij-identificatoren/985d7954-7db7-4008-ab0b-6584433fa2d6"}],"soortPartij":"persoon","indicatieGeheimhouding":false,"voorkeurstaal":"crp","indicatieActief":true,"bezoekadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"correspondentieadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"partijIdentificatie":{"contactnaam":{"voorletters":"Dr.","voornaam":"Test
Persoon","voorvoegselAchternaam":"Mrs.","achternaam":"Gamble"},"volledigeNaam":"Test
Persoon Mrs. Gamble"}}'
headers:
Expand All @@ -120,7 +120,7 @@ interactions:
message: OK
- request:
body: '{"adres": "[email protected]", "soortDigitaalAdres": "email", "verstrektDoorPartij":
{"uuid": "34c28139-67be-4db6-85d7-fea58ce2b75d"}, "verstrektDoorBetrokkene":
{"uuid": "b0632b2e-d216-4680-aca3-b0bac8d5ddce"}, "verstrektDoorBetrokkene":
null, "omschrijving": "OIP profiel"}'
headers:
Authorization:
Expand All @@ -133,7 +133,7 @@ interactions:
uri: http://localhost:8338/klantinteracties/api/v1/digitaleadressen
response:
body:
string: '{"uuid":"f6866315-fd4c-4701-a847-7c49bb56b921","url":"http://localhost:8338/klantinteracties/api/v1/digitaleadressen/f6866315-fd4c-4701-a847-7c49bb56b921","verstrektDoorBetrokkene":null,"verstrektDoorPartij":{"uuid":"34c28139-67be-4db6-85d7-fea58ce2b75d","url":"http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d"},"adres":"[email protected]","soortDigitaalAdres":"email","omschrijving":"OIP
string: '{"uuid":"bf8e54b4-1e73-44ab-b382-043321ebafc3","url":"http://localhost:8338/klantinteracties/api/v1/digitaleadressen/bf8e54b4-1e73-44ab-b382-043321ebafc3","verstrektDoorBetrokkene":null,"verstrektDoorPartij":{"uuid":"b0632b2e-d216-4680-aca3-b0bac8d5ddce","url":"http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce"},"adres":"[email protected]","soortDigitaalAdres":"email","omschrijving":"OIP
profiel"}'
headers:
API-version:
Expand All @@ -147,7 +147,7 @@ interactions:
Cross-Origin-Opener-Policy:
- same-origin
Location:
- http://localhost:8338/klantinteracties/api/v1/digitaleadressen/f6866315-fd4c-4701-a847-7c49bb56b921
- http://localhost:8338/klantinteracties/api/v1/digitaleadressen/bf8e54b4-1e73-44ab-b382-043321ebafc3
Referrer-Policy:
- same-origin
Vary:
Expand All @@ -165,12 +165,12 @@ interactions:
Authorization:
- Token b2eb1da9861da88743d72a3fb4344288fe2cba44
method: GET
uri: http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d?expand=digitaleAdressen
uri: http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce?expand=digitaleAdressen
response:
body:
string: '{"uuid":"34c28139-67be-4db6-85d7-fea58ce2b75d","url":"http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d","nummer":"0000000001","interneNotitie":"","betrokkenen":[],"categorieRelaties":[],"digitaleAdressen":[{"uuid":"f6866315-fd4c-4701-a847-7c49bb56b921","url":"http://localhost:8338/klantinteracties/api/v1/digitaleadressen/f6866315-fd4c-4701-a847-7c49bb56b921"}],"voorkeursDigitaalAdres":null,"vertegenwoordigden":[],"rekeningnummers":[],"voorkeursRekeningnummer":null,"partijIdentificatoren":[{"uuid":"b88aa09f-ebae-4305-acca-9aa933198376","url":"http://localhost:8338/klantinteracties/api/v1/partij-identificatoren/b88aa09f-ebae-4305-acca-9aa933198376"}],"soortPartij":"persoon","indicatieGeheimhouding":false,"voorkeurstaal":"crp","indicatieActief":true,"bezoekadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"correspondentieadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"partijIdentificatie":{"contactnaam":{"voorletters":"Dr.","voornaam":"Test
string: '{"uuid":"b0632b2e-d216-4680-aca3-b0bac8d5ddce","url":"http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce","nummer":"0000000001","interneNotitie":"","betrokkenen":[],"categorieRelaties":[],"digitaleAdressen":[{"uuid":"bf8e54b4-1e73-44ab-b382-043321ebafc3","url":"http://localhost:8338/klantinteracties/api/v1/digitaleadressen/bf8e54b4-1e73-44ab-b382-043321ebafc3"}],"voorkeursDigitaalAdres":null,"vertegenwoordigden":[],"rekeningnummers":[],"voorkeursRekeningnummer":null,"partijIdentificatoren":[{"uuid":"985d7954-7db7-4008-ab0b-6584433fa2d6","url":"http://localhost:8338/klantinteracties/api/v1/partij-identificatoren/985d7954-7db7-4008-ab0b-6584433fa2d6"}],"soortPartij":"persoon","indicatieGeheimhouding":false,"voorkeurstaal":"crp","indicatieActief":true,"bezoekadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"correspondentieadres":{"nummeraanduidingId":"","adresregel1":"","adresregel2":"","adresregel3":"","land":""},"partijIdentificatie":{"contactnaam":{"voorletters":"Dr.","voornaam":"Test
Persoon","voorvoegselAchternaam":"Mrs.","achternaam":"Gamble"},"volledigeNaam":"Test
Persoon Mrs. Gamble"},"_expand":{"digitaleAdressen":[{"uuid":"f6866315-fd4c-4701-a847-7c49bb56b921","url":"http://localhost:8338/klantinteracties/api/v1/digitaleadressen/f6866315-fd4c-4701-a847-7c49bb56b921","verstrektDoorBetrokkene":null,"verstrektDoorPartij":{"uuid":"34c28139-67be-4db6-85d7-fea58ce2b75d","url":"http://localhost:8338/klantinteracties/api/v1/partijen/34c28139-67be-4db6-85d7-fea58ce2b75d"},"adres":"[email protected]","soortDigitaalAdres":"email","omschrijving":"OIP
Persoon Mrs. Gamble"},"_expand":{"digitaleAdressen":[{"uuid":"bf8e54b4-1e73-44ab-b382-043321ebafc3","url":"http://localhost:8338/klantinteracties/api/v1/digitaleadressen/bf8e54b4-1e73-44ab-b382-043321ebafc3","verstrektDoorBetrokkene":null,"verstrektDoorPartij":{"uuid":"b0632b2e-d216-4680-aca3-b0bac8d5ddce","url":"http://localhost:8338/klantinteracties/api/v1/partijen/b0632b2e-d216-4680-aca3-b0bac8d5ddce"},"adres":"[email protected]","soortDigitaalAdres":"email","omschrijving":"OIP
profiel"}]}}'
headers:
API-version:
Expand Down
Loading

0 comments on commit 7309047

Please sign in to comment.