Hi
Is there a way to submit a document using REST/CRUD?
Hi
Is there a way to submit a document using REST/CRUD?
No,
Try this patch https://github.com/frappe/frappe/pull/991.diff
and then you can send a POST request to /api/resource/Quotation/QTN-00002-2?run_method=submit
Note: you can also put run_method as form params if you find query params in a post request funny
Thanks for replying. Is this patch going to be included in future releases?
I’m trying to avoid customizations that will break in new releases…
This will be merged but you can avoid this customization as there’s another way
You can POST to /api/resource/Quotation/QTN-00002-2
with data as {“docstatus”: 1} to submit as well (didn’t strike me before)