HAAL✻CENTRAAL English translation
BRP API / Personen / Features / geblokkeerde-pl-gba

ZoekMetNaamEnGemeenteVanInschrijving with a blocked personal record

#language: en

@gba
Feature: ZoekMetNaamEnGemeenteVanInschrijving with a blocked personal record

  Rule: searching also finds persons whose personal record is blocked

    Scenario: The personal record is blocked
      Given the person with citizen service number '000000024' has the following data
      | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) |
      | 19830526              | Maassen               | Jan Peter         |
      And the person has the following 'verblijfplaats' data
      | gemeente van inschrijving (09.10) |
      | 0014                              |
      And the person with citizen service number '000000048' has the following data
      | geboortedatum (03.10) | geslachtsnaam (02.40) | voornamen (02.10) |
      | 19830526              | Maassen               | Jan Peter         |
      And the person has the following 'inschrijving' data
      | Datum ingang blokkering (66.20) |
      | 20230221                        |
      And the person has the following 'verblijfplaats' data
      | gemeente van inschrijving (09.10) |
      | 0014                              |
      When gba persons are searched with the following parameters
      | naam                    | waarde                               |
      | type                    | ZoekMetNaamEnGemeenteVanInschrijving |
      | geslachtsnaam           | Maassen                              |
      | voornamen               | Jan Peter                            |
      | gemeenteVanInschrijving | 0014                                 |
      | fields                  | burgerservicenummer                  |
      Then the response has 2 persons
      And the response has a person with the following data
      | naam                | waarde    |
      | burgerservicenummer | 000000024 |
      And the response has a person with the following data
      | naam                | waarde    |
      | burgerservicenummer | 000000048 |