Get all the allocation to jiwa

Discussions relating to plugin development, and the Jiwa API.

Get all the allocation to jiwa

Postby kranil7701 » Thu Sep 05, 2024 4:48 pm

I need the api Get all the creditors allocation and debtor allocation to jiwa . please let me know is there any way to get all the creditors allocation and debtor allocation.
thanks
kranil7701
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Tue Oct 31, 2023 1:03 pm

Re: Get all the allocation to jiwa

Postby Mike.Sheen » Thu Sep 05, 2024 4:56 pm

You can access any table via the API if you expose a route using the existing AutoQuery request types.

I showed you a while ago how to do that for the SO_Main table. For debtors you want the DB_TransAlloc table for debtor allocations, and creditors is CR_TransAlloc.

We don't expose every table out of the box because that makes the API too big.
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: 2476
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 766

Re: Get all the allocation to jiwa

Postby kranil7701 » Thu Sep 05, 2024 5:04 pm

Mike.Sheen wrote:You can access any table via the API if you expose a route using the existing AutoQuery request types.

I showed you a while ago how to do that for the SO_Main table. For debtors you want the DB_TransAlloc table for debtor allocations, and creditors is CR_TransAlloc.

We don't expose every table out of the box because that makes the API too big.



So you are saying that we can't get debtor or creditor allocations using API ?
kranil7701
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Tue Oct 31, 2023 1:03 pm

Re: Get all the allocation to jiwa

Postby Mike.Sheen » Thu Sep 05, 2024 5:05 pm

kranil7701 wrote: So you are saying that we can't get debtor or creditor allocations using API ?


No, I am not saying that at all.

I'm saying you can if you just add the route, but I explained WHY we don't have routes exposed by default.
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: 2476
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 766

Re: Get all the allocation to jiwa

Postby kranil7701 » Thu Sep 05, 2024 5:15 pm

Mike.Sheen wrote:
kranil7701 wrote: So you are saying that we can't get debtor or creditor allocations using API ?


No, I am not saying that at all.

I'm saying you can if you just add the route, but I explained WHY we don't have routes exposed by default.
Last edited by kranil7701 on Thu Sep 05, 2024 5:53 pm, edited 1 time in total.
kranil7701
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Tue Oct 31, 2023 1:03 pm

Re: Get all the allocation to jiwa

Postby Mike.Sheen » Thu Sep 05, 2024 5:18 pm

kranil7701 wrote:Hey I am using it like this : https://api-102329.opallogic.cloud:4123 ... TransAlloc
is it correct?
here is the screenshot => <redacted>


Did you add the route via a custom plugin like I said? You need to add the route explicitly in a custom plugin, and then restart the API and then the route can be used.

Re-read my first response to this post and go follow the link I provided and READ it.
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: 2476
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 766

Re: Get all the allocation to jiwa

Postby kranil7701 » Thu Sep 05, 2024 5:54 pm

Mike.Sheen wrote:
kranil7701 wrote:Hey I am using it like this :

Did you add the route via a custom plugin like I said? You need to add the route explicitly in a custom plugin, and then restart the API and then the route can be used.

Re-read my first response to this post and go follow the link I provided and READ it.
kranil7701
Occasional Contributor
Occasional Contributor
 
Posts: 24
Joined: Tue Oct 31, 2023 1:03 pm


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 3 guests

cron