I'm trying to retrieve the following data via the API:
with the following API call:
But the response stays empty with a 200 OK result:
The ledger seems to be correct but I'm not sure the branche is. But all other possible values do not change a thing (name, organizationId, corporateId). The response stays empty. Also adding a year financialYear does not change a thing.
As an extra reference the branche output, Ledger is marked in the screencap, so I think that is correct.
Any idea what I'm doing wrong?
Solved! Go to Solution.
Organization/Branch ID may vary depending on the company, how many branches they have etc, therefore the ID value is not static. The reason for suggesting to trying out "5" is because the print screen you've shared, where OrganisationID is "5"
Also tried that, but that did not do anything. I Also thought that because the ledger in the 2nd screenshot only returns WERKELIJK that should at least give some data.
Could there be any relation between the API only returning WERKELIJK as ledger being part of the branche? Because if I try to retrieve all Ledgers I get more results (including BUDGET and WERKELIJK)
Copyright © 2022 Visma.com. All rights reserved.