HAALCENTRAAL English translation
BRP API / Personen / Features / overzicht

search for persons by the addressable object identification of an address

# language: en
Feature: search for persons by the addressable object identification of an address
  As a consumer
  I want to find persons by supplying the addressable object identification of the address at which they are registered

  Background:
    Given address 'A1'
      | identificatiecode verblijfplaats (11.80) |
      |                         0599010000219679 |

  Rule: persons registered at the address searched on are found

    Scenario: one person is registered at the address searched on
      Given the person 'Robin'
      And 'Robin' was registered at address 'A1' 3 years ago
      When 'burgerservicenummer' is requested for persons searched by addressable object identification of 'A1'
      Then 'Robin' is found

    Scenario: several persons are registered at the address searched on
      Given the person 'Robin'
      And 'Robin' was registered at address 'A1' 3 years ago
      And the person 'Saskia'
      And 'Saskia' was registered at address 'A1' 2 years ago
      When 'burgerservicenummer' is requested for persons searched by addressable object identification of 'A1'
      Then 'Robin en Saskia' are found

    Scenario: no one is registered at the address searched on
      When 'burgerservicenummer' is requested for persons searched by addressable object identification of 'A1'
      Then no persons are found