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

partner foreign place of birth or location (Persoon)

#language: en

@gba
Feature: partner 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 '000000012' has a 'partner' with the following data
      | naam                   | waarde           |
      | geboorteplaats (03.20) | <geboorteplaats> |
      When gba persons are searched with the following parameters
      | naam                | waarde                          |
      | type                | RaadpleegMetBurgerservicenummer |
      | burgerservicenummer | 000000012                       |
      | fields              | partners.geboorte.plaats        |
      Then the response has a person with a 'partner' 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. USS Enterprise | locatie aan boord van een schip |

  Rule: where the value for a place of marriage or of entering into a registered partnership (06.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 entering into the marriage or partnership is a <omschrijving>
      Given the person with citizen service number '000000012' has a 'partner' with the following data
      | naam                                                                | waarde            |
      | plaats huwelijkssluiting/aangaan geregistreerd partnerschap (06.20) | <plaats huwelijk> |
      When gba persons are searched with the following parameters
      | naam                | waarde                                      |
      | type                | RaadpleegMetBurgerservicenummer             |
      | burgerservicenummer | 000000012                                   |
      | fields              | partners.aangaanHuwelijkPartnerschap.plaats |
      Then the response has a person with a 'partner' with only the following 'aangaanHuwelijkPartnerschap' data
      | naam                | waarde           |
      | plaats.omschrijving | <plaats huwelijk> |

      Examples:
      | plaats huwelijk         | omschrijving                    |
      | Berlijn                 | buitenlandse plaatsnaam         |
      | 0,27729° Z, 73,41797° O | locatieaanduiding               |
      | A.B. Black Pearl        | locatie aan boord van een schip |