Gba PersoonBeperkt: requesting opschortingBijhouding fields with fields
#language: en @gba Feature: Gba PersoonBeperkt: requesting opschortingBijhouding fields with fields Rule: opschortingBijhouding may not be requested, because it is supplied automatically @fout-case Scenario Outline: field <fields> may not be requested, because it is supplied automatically Given the person with citizen service number '000000152' has the following data | naam | waarde | | geslachtsnaam (02.40) | Maassen | | geboortedatum (03.10) | 19830526 | And the person has the following 'inschrijving' data | naam | waarde | | reden opschorting bijhouding (67.20) | O | | datum opschorting bijhouding (67.10) | 20220829 | When gba persons are searched with the following parameters | naam | waarde | | type | ZoekMetGeslachtsnaamEnGeboortedatum | | geslachtsnaam | Maassen | | geboortedatum | 1983-05-26 | | inclusiefOverledenPersonen | true | | fields | <fields> | Then the response has an object with the following data | naam | waarde | | type | https://datatracker.ietf.org/doc/html/rfc7231#section-6.5.1 | | title | Een of meerdere parameters zijn niet correct. | | status | 400 | | detail | De foutieve parameter(s) zijn: fields[0]. | | code | paramsValidation | | instance | /haalcentraal/api/brp/personen | And the object has the following 'invalidParams' data | code | name | reason | | fields | fields[0] | Parameter bevat een niet toegestane veldnaam. | Examples: | fields | | opschortingBijhouding | | opschortingBijhouding.reden | | opschortingBijhouding.reden.code | | opschortingBijhouding.reden.omschrijving | | opschortingBijhouding.datum | | opschortingBijhouding.datum.type | | opschortingBijhouding.datum.datum | | opschortingBijhouding.datum.langFormaat | | opschortingBijhouding.datum.jaar | | opschortingBijhouding.datum.maand | | opschortingBijhouding.datum.onbekend | | opschortingBijhouding,burgerservicenummer |