open-forms icon indicating copy to clipboard operation
open-forms copied to clipboard

ZGW & objects API registraton backends: add the "ontvangstdatum" attribute when adding attachments

Open sergei-maertens opened this issue 8 months ago • 4 comments

Thema / Theme

Plugins

Omschrijving / Description

User uploads/attachments are now uploaded to the Documenten API for both the objects API and the ZGW API registration plugins.

These uploads do not have the ontvangstdatum attribute set, even though we know on which day the attachments were uploaded/sent (the same day the form submission is created).

Looking at the API standard, we should do two things:

  • (easy) populate the EnkelvoudigInformatieObject.ontvangstdatum field with the date of the submission completion timestamp
  • [ ] ON HOLD: (harder) because the above attribute is deprecated, we should check if the Documents API version is one that supports the Verzending resource and create such a record. I think that:
    • betrokkene should point to the initiator of the zaak
    • informatieobject should point to the uploaded document
    • aardRelatie needs to be afzender
    • ontvangstDatum -> same as bullet above
    • contactPersoon ???

Added value / Toegevoegde waarde

  • Better information management
  • Happy customers that happen to use Rx.Mission (and other ZGW API providers)

Aanvullende opmerkingen / Additional context

No response

sergei-maertens avatar Jun 19 '24 13:06 sergei-maertens