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

ZoekMetNummeraanduidingIdentificatie with a blocked personal record

#language: en

@gba
Feature: ZoekMetNummeraanduidingIdentificatie 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 nummeraanduiding (11.90) |
      | 0518                 | 0518200000617227                           |
      And the person with citizen service number '000000024' is registered at the address with the following data
      | gemeente van inschrijving (09.10) |
      | 0518                              |
      And the person with citizen service number '000000048' is registered at the address with the following data
      | gemeente van inschrijving (09.10) |
      | 0518                              |
      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                          | ZoekMetNummeraanduidingIdentificatie |
      | nummeraanduidingIdentificatie | 0518200000617227                     |
      | 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 |