Adding a bsn to a zaak in order to search for zaken with a bsn - Gemeente-DenHaag/mijngemeente-gateway GitHub Wiki
⚠This is purely for testing purposes, the real implementation will use the BRP API⚠
In order to add a person to a Zaak we need to do the following things in the correct order:
- Create a Zaaktype if one does not already exists
- Add a Roltype to the Zaaktype in Postman using the following format
{
"zaaktype": "{{zaaktype_url}}",
"omschrijving": "testburger",
"omschrijvingGeneriek": "belanghebbende"
}
by posting to {{ztc_url}}/roltypen see the openzaak documentation for all possible parameters.
- Publish the Zaaktype using the appropriate request in postman
- Retrieve the zaaktypen and check if the published zaaktype contains the roltype.
- Create a Zaak using the appropriate request in postman
- Create a Rol by posting to {{zrc_url/rollen}} in the following format
{
"zaak": "{{zaak_url}}",
"betrokkeneType": "natuurlijk_persoon",
"roltype": "{{roltype_url}}",
"roltoelichting": "vergunning aanvrager",
"betrokkeneIdentificatie": {
"inpBsn": "999993847",
"geslachtsnaam": "Robot",
"voorletters": "M",
"voornamen": "Mister",
"geslachtsaanduiding": "m",
"geboortedatum": "24-06-2015"
}
}