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:

  1. Create a Zaaktype if one does not already exists
  2. 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.

  1. Publish the Zaaktype using the appropriate request in postman
  2. Retrieve the zaaktypen and check if the published zaaktype contains the roltype.
  3. Create a Zaak using the appropriate request in postman
  4. 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"
    }
}

see the openzaak documentation for all possible parameters.