Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Filter klantcontacten on partij identificatoren #342

Open
swrichards opened this issue Feb 25, 2025 · 2 comments
Open

Filter klantcontacten on partij identificatoren #342

swrichards opened this issue Feb 25, 2025 · 2 comments

Comments

@swrichards
Copy link
Contributor

swrichards commented Feb 25, 2025

Taiga DH 612

Thema / Theme

Klantinteracties API

Omschrijving / Description

Expand the query parameters for GET /klantcontacten to include:

  • hadBetrokkene__wasPartij__partijIdentificatorCodeObjecttype
  • hadBetrokkene__wasPartij__partijIdentificatorCodeRegister
  • hadBetrokkene__wasPartij__partijIdentificatorCodeSoortObjectId
  • hadBetrokkene__wasPartij__partijIdentificatorObjectId

To filter the klantcontacten for betrokkenen attached to partijen containing the specified identificatoren.

Toegevoegde waarde / Added value

Requesting all klantcontacten for a Partij is a common use-case. Currently, however, you first have to fetch the Partij, so you can use that to filter the klantcontacten on hadBetrokkene__wasPartij__url or hadBetrokkene__wasPartij__uuid. This assumes that the Partij will be known in advance, when in many cases the source of truth will be a partij identificator (e.g. bsn or kvk). This will allow for retrieving klantcontacten in a single request.

See also: #195 and https://taiga.maykinmedia.nl/project/alex-gemeente-den-haag-1/issue/612

Aanvullende opmerkingen / Additional context

No response

@alextreme
Copy link
Member

Estimated at: 3 days

@alextreme
Copy link
Member

@JanBrek ter info

@stevenbal stevenbal moved this from Triage to Waiting for approval in Data en API fundament Mar 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Waiting for approval
Development

No branches or pull requests

2 participants