# Is it possible to update documents using only a REST API

**URL:** <https://community.ofelia.com/t/is-it-possible-to-update-documents-using-only-a-rest-api/10760>\
**Category:** Q&A\
**Created:** [12 April 2021 10:53 UTC](https://community.ofelia.com/t/is-it-possible-to-update-documents-using-only-a-rest-api/10760 "2021-04-12T10:53:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dibyajit.Roy](https://avatars.discourse-cdn.com/v4/letter/d/7ea924/32.png) [@Dibyajit.Roy](https://community.ofelia.com/u/Dibyajit.Roy)\
**Post date:** [12 April 2021 10:53 UTC](https://community.ofelia.com/t/is-it-possible-to-update-documents-using-only-a-rest-api/10760/1 "2021-04-12T10:53:29Z")

</div>

Hello  
I am trying to create a Process form where users can attach documents and upload document without having to click the submit button.

Basically user can upload documents to a case but is not required to complete / finish a task.

Just like case comments can be updated using only REST API, similarly can case documents be updated using only REST API.

If possible , then user can open the task and add comments and upload necessary documents . Only the work is complete, then user can close the task. Hence uploading documents will not impact task.  
I am looking at Partial page postback events.  
  
Is it also possible to update BDM entries without submitting the form/Task ??

---

<div class="post-metadata">

**Author:** ![romain.bioteau](https://dub1.discourse-cdn.com/flex013/user_avatar/community.ofelia.com/romain.bioteau/32/720_2.png) [@romain.bioteau](https://community.ofelia.com/u/romain.bioteau)\
**Post date:** [19 April 2021 07:37 UTC](https://community.ofelia.com/t/is-it-possible-to-update-documents-using-only-a-rest-api/10760/2 "2021-04-19T07:37:22Z")

</div>

Hi,

Yes, documents can be updated using REST API and [PUT action](https://documentation.bonitasoft.com/bonita/2021.1/bpm-api#_casedocument) on a button.

BDM data must be updated using a process.

HTH  
Romain
