Supplier Return Request REST API  Topic is solved

Discussions relating to the REST API of Jiwa 7.

Supplier Return Request REST API

Postby minhhieu106 » Sun May 20, 2018 3:06 pm

Hi Mike,

Please help to create new REST API for Supplier Return Request on new version.

Thanks,
Hieu
minhhieu106
Occasional Contributor
Occasional Contributor
 
Posts: 49
Joined: Thu Mar 29, 2018 3:29 pm
Topics Solved: 0

Re: Supplier Return Request REST API

Postby SBarnes » Mon May 21, 2018 10:17 pm

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
Regards
Stuart Barnes
SBarnes
Shihan
Shihan
 
Posts: 1620
Joined: Fri Aug 15, 2008 3:27 pm
Topics Solved: 175

Re: Supplier Return Request REST API

Postby minhhieu106 » Tue May 22, 2018 11:54 pm

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
minhhieu106
Occasional Contributor
Occasional Contributor
 
Posts: 49
Joined: Thu Mar 29, 2018 3:29 pm
Topics Solved: 0

Re: Supplier Return Request REST API  Topic is solved

Postby Mike.Sheen » Wed May 23, 2018 10:41 pm

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
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2445
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 757


Return to REST API

Who is online

Users browsing this forum: No registered users and 4 guests

cron