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

geefLijstZaakdocumenten should not return an error response when the zaak can't be found #353

Closed
MLenterman opened this issue May 17, 2024 · 1 comment · Fixed by #395
Closed
Labels
bug Something isn't working

Comments

@MLenterman
Copy link
Collaborator

According to the StUF-standard the "antwoord" element should return <ZKN:object StUF:entiteittype="ZAK" xsi:nil=”true” StUF:noValue=”waardeOnbekend” /> when a zaak is not found.

Paragraph 6.4.2 - https://www.gemmaonline.nl/images/gemmaonline/f/fa/Stuf0301.pdf

@MLenterman
Copy link
Collaborator Author

From StUF 03.01 - 6.4.1:
image

From the documentation it is not clear what the correct response is when a zaak can not be found:

  • It is mentioned that if no elements can be returned, the response should be without 'antwoord' element.

  • In a different paragraph it is said that if a value for an element within the scope object is not known, xsi:nil="true" StUF:value="waardeOnbekend" should be returned for that element. Object entiteitstype="ZAK" needs to be in the scope for the mandatory heeftRelevant.identificatie according to ZDS 1.1. Which in turn would suggest that the response should be object entiteitstype="ZAK" xsi:nil="true" value="WaardeOnbekend". But object entiteitstype="ZAK" is not nillable in the XSD.

  • An example of the expected response by a ZDS application paints yet another variant. In the example object entiteitstype="ZAK" is return with only a zaak indentificatie element filled with the given identificatie value from the 'gelijk' section in the request. This makes no sense to me though, because zaak identificatie is not required to be part of the scope. Additionally it suggests to me that the zaak is known, but there are simply no documents attached to the zaak.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
1 participant