Supplier Return Request REST API

Posted:
Sun May 20, 2018 3:06 pm
by minhhieu106
Hi Mike,
Please help to create new REST API for Supplier Return Request on new version.
Thanks,
Hieu
Re: Supplier Return Request REST API

Posted:
Mon May 21, 2018 10:17 pm
by SBarnes
Hi Hieu
You can actually extend the API yourself if you need to as I have done in the previously where for example there are extra tables in the Jiwa database that might not be standard tables I'd refer you to the following link for help
https://docs.jiwa.com.au/display/J7UG/Adding+Custom+Routes+to+the+REST+API
Re: Supplier Return Request REST API

Posted:
Tue May 22, 2018 11:54 pm
by minhhieu106
Hi Barnes,
Thank you for your advise.
Yes, We can extend the API by using custom route REST API plugin but some functions still need Jiwa support to develop it.
Thanks,
Hieu
Re: Supplier Return Request REST API 

Posted:
Wed May 23, 2018 10:41 pm
by Mike.Sheen
We currently don't have supplier return functionality in the REST API.
However, as Stuart mentioned - you can perform GET operations to retrieve supplier return information by adding your own routes to return table data. I wouldn't recommend adding POST, PATCH or DELETE operations using table operations as there is immense complexity there beyond just table updates (journal sets, stock movements and so on).
Mike