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

ZoekMetStraatHuisnummerEnGemeenteVanInschrijving with a blocked personal record

#language: en

@gba
Feature: ZoekMetStraatHuisnummerEnGemeenteVanInschrijving 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 'verblijfplaats' data
      | gemeente van inschrijving (09.10) |
      | 0599                              |
      And the 'verblijfplaats' has the following 'adres' data
      | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | huisletter (11.30) |
      | 0599                 | Boterdiep          | 2                  | A                  |
      And the person with citizen service number '000000048' has the following 'verblijfplaats' data
      | gemeente van inschrijving (09.10) |
      | 0599                              |
      And the 'verblijfplaats' has the following 'adres' data
      | gemeentecode (92.10) | straatnaam (11.10) | huisnummer (11.20) | huisletter (11.30) |
      | 0599                 | Boterdiep          | 2                  | B                  |
      And the person has the following 'inschrijving' data
      | Datum ingang blokkering (66.20) |
      | 20230221                        |
      When gba persons are searched with the following parameters
      | naam                    | waarde                                           |
      | type                    | ZoekMetStraatHuisnummerEnGemeenteVanInschrijving |
      | straat                  | Boterdiep                                        |
      | huisnummer              | 2                                                |
      | gemeenteVanInschrijving | 0599                                             |
      | 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 |