HAALCENTRAAL English translation
BRP API / Personen / Features / geslacht

Step definitions for specifying authority relationships

# language: en
@integratie @stap-documentatie
Feature: Step definitions for specifying authority relationships

  Rule: Geslachtsaanduiding is added to the person

    @integratie
    Scenario: is a <geslacht>
      Given the person 'P1' with citizen service number '000000012'
      * is a <geslacht>
      When the SQL statements generated from the Given steps have been executed
      Then person 'P1' has the following row in table 'lo3_pl'
        | pl_id | geheim_ind |
        | P1    |          0 |
      And person 'P1' has the following rows in table 'lo3_pl_persoon'
        | pl_id | persoon_type | stapel_nr | volg_nr | burger_service_nr | geslachts_naam | geboorte_land_code | akte_nr | geslachts_aand        |
        | P1    | P            |         0 |       0 |         000000012 | P1             |               6030 | 1AA0100 | <geslacht aanduiding> |

      Examples:
        | geslacht | geslacht aanduiding |
        | vrouw    | V                   |
        | man      | M                   |