GezagPersoonBeperkt: requesting opschortingBijhouding fields with fields
#language: en Feature: GezagPersoonBeperkt: 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 When persons are searched with the following parameters | naam | waarde | | type | ZoekMetAdresseerbaarObjectIdentificatie | | adresseerbaarObjectIdentificatie | 0599010051001502 | | 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 |