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

ZoekMetAdresseerbaarObjectIdentificatie with a blocked personal record

#language: en

@gba
Feature: ZoekMetAdresseerbaarObjectIdentificatie with a blocked personal record

  Rule: searching also finds persons whose personal record is blocked

    Scenario: The personal record is blocked
      Given an address has the following data
      | gemeentecode (92.10) | identificatiecode verblijfplaats (11.80) |
      | 0599                 | 0599010000219679                         |
      And the person with citizen service number '000000024' is registered at the address with the following data
      | gemeente van inschrijving (09.10) |
      | 0599                              |
      And the person with citizen service number '000000048' is registered at the address with the following data
      | gemeente van inschrijving (09.10) |
      | 0599                              |
      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                             | ZoekMetAdresseerbaarObjectIdentificatie |
      | adresseerbaarObjectIdentificatie | 0599010000219679                        |
      | 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 |