HAALCENTRAAL English translation
BRP API / Personen / Features / fields

PersoonBeperkt: requesting geboorte fields with fields

#language: en

Feature: PersoonBeperkt: requesting geboorte fields with fields

  Scenario Outline: 'geboortedatum (03.10)' is requested with field path '<fields>'
    Given the person with citizen service number '000000152' has the following data
    | naam                  | waarde   |
    | geslachtsnaam (02.40) | Maassen  |
    | geboortedatum (03.10) | 19830526 |
    When persons are searched with the following parameters
    | naam          | waarde                              |
    | type          | ZoekMetGeslachtsnaamEnGeboortedatum |
    | geslachtsnaam | Maassen                             |
    | geboortedatum | 1983-05-26                          |
    | fields        | <fields>                            |
    Then the response has a person with the following 'geboorte' data
    | naam              | waarde      |
    | datum.type        | Datum       |
    | datum.datum       | 1983-05-26  |
    | datum.langFormaat | 26 mei 1983 |

    Examples:
    | fields                     |
    | geboorte.datum             |
    | geboorte.datum.type        |
    | geboorte.datum.datum       |
    | geboorte.datum.langFormaat |