@@ -13,6 +13,9 @@ components:
1313 AfdelingResponse :
1414 type : object
1515 properties :
16+ id :
17+ type : integer
18+ format : int64
1619 beschrijving :
1720 type : string
1821 ContactType :
@@ -30,8 +33,9 @@ components:
3033 Request object voor het toevoegen van een contactgegeven aan een
3134 partij
3235 properties :
33- afdeling :
34- type : string
36+ afdelingId :
37+ type : integer
38+ format : int64
3539 type :
3640 $ref : " #/components/schemas/ContactType"
3741 waarde :
@@ -56,8 +60,9 @@ components:
5660 - type
5761 - waarde
5862 properties :
59- afdeling :
60- type : string
63+ afdelingId :
64+ type : integer
65+ format : int64
6166 type :
6267 $ref : " #/components/schemas/ContactType"
6368 waarde :
@@ -76,6 +81,23 @@ components:
7681 type : string
7782 oin :
7883 type : string
84+ EmailVerificatieRequest :
85+ type : object
86+ required :
87+ - email
88+ - identificatieNummer
89+ - identificatieType
90+ - verificatieCode
91+ description : Request object voor het verifiëren van een emailadres
92+ properties :
93+ email :
94+ type : string
95+ identificatieNummer :
96+ type : string
97+ identificatieType :
98+ $ref : " #/components/schemas/IdentificatieType"
99+ verificatieCode :
100+ type : string
79101 IdentificatieResponse :
80102 type : object
81103 properties :
@@ -160,7 +182,7 @@ tags:
160182 - name : Dienstverlener
161183 description : Endpoints voor het beheren van dienstverleners en afdelingen
162184 - name : EmailVerificatie
163- description : Endpoints voor het verifieren van emails
185+ description : Endpoints voor het verifiëren van emails
164186 - name : Profiel
165187 description : Endpoints voor het beheren van partijen
166188paths :
@@ -192,6 +214,9 @@ paths:
192214 responses :
193215 " 200 " :
194216 description : Contactgegeven succesvol bijgewerkt
217+ content :
218+ application/json :
219+ schema : {}
195220 " 404 " :
196221 description : Contactgegeven of partij niet gevonden
197222 " 400 " :
@@ -266,6 +291,9 @@ paths:
266291 responses :
267292 " 200 " :
268293 description : OK
294+ content :
295+ application/json :
296+ schema : {}
269297 " 400 " :
270298 description : Bad Request
271299 summary : Add Dienstverlener
@@ -307,26 +335,29 @@ paths:
307335 responses :
308336 " 200 " :
309337 description : OK
338+ content :
339+ application/json :
340+ schema : {}
310341 summary : Get Afdelingen Dienstverlener
311- /api/profielservice/v1/emailverificatie/{email}/{verificatiecode} :
342+ /api/profielservice/v1/emailverificatie :
312343 post :
313344 tags :
314345 - EmailVerificatie
315- parameters :
316- - name : email
317- in : path
318- required : true
319- schema :
320- type : string
321- - name : verificatiecode
322- in : path
323- required : true
324- schema :
325- type : string
346+ requestBody :
347+ content :
348+ application/json :
349+ schema :
350+ $ref : " #/components/schemas/EmailVerificatieRequest"
351+ required : true
326352 responses :
327353 " 200 " :
328354 description : OK
329- summary : Get Afdelingen Dienstverlener
355+ content :
356+ application/json :
357+ schema : {}
358+ " 400 " :
359+ description : Bad Request
360+ summary : Post Email Verificatie
330361 /api/profielservice/v1/voorkeur/{identificatieType}/{identificatieNummer} :
331362 put :
332363 summary : Update voorkeur van een partij
@@ -355,6 +386,9 @@ paths:
355386 responses :
356387 " 200 " :
357388 description : Voorkeur succesvol bijgewerkt
389+ content :
390+ application/json :
391+ schema : {}
358392 " 404 " :
359393 description : Voorkeur of partij niet gevonden
360394 " 400 " :
0 commit comments