HAALCENTRAAL English translation
BRP API / Personen / Features / buitenlandse-plaats-gba

Foreign place of birth or location (Persoon)

#language: en

@gba
Feature: Foreign place of birth or location (Persoon)

  Rule: where the value for a place of birth (03.20) does not contain a valid municipality code, the place is supplied in omschrijving and the code field is not supplied
    - a valid municipality code consists of four digits and occurs in the national table Gemeenten

    Scenario Outline: The place of birth is a <omschrijving>
      Given the person with citizen service number '000000280' has the following data
      | geboorteplaats (03.20) |
      | <geboorteplaats>       |
      When gba persons are searched with the following parameters
      | naam                | waarde                          |
      | type                | RaadpleegMetBurgerservicenummer |
      | burgerservicenummer | 000000280                       |
      | fields              | geboorte.plaats                 |
      Then the response has a person with only the following 'geboorte' data
      | naam                | waarde           |
      | plaats.omschrijving | <geboorteplaats> |

      Examples:
      | geboorteplaats     | omschrijving                    |
      | Berlijn            | buitenlandse plaatsnaam         |
      | 52°2'43N4°22'39"O  | locatieaanduiding               |
      | A.B. Pakjesboot 12 | locatie aan boord van een schip |

  Rule: where no corresponding value for the code occurs in the table, only the code is supplied

    Scenario: the code for the country of birth (03.30) does not occur in the table Landen
      Given the person with citizen service number '000000231' has the following data
      | geboorteland (03.30) |
      | 1234                 |
      When gba persons are searched with the following parameters
      | naam                | waarde                          |
      | type                | RaadpleegMetBurgerservicenummer |
      | burgerservicenummer | 000000231                       |
      | fields              | geboorte.land                   |
      Then the response has a person with only the following 'geboorte' data
      | naam      | waarde |
      | land.code | 1234   |