Reputation: 2532
i'm wondering how to get the division
that is required for most api calls to the exact online platform.
Also the documentation suggests that I use api/v1/current/Me
to be the first call however when running this I receive the following (which is useless):
array(3) { ["url"]=> string(46) "https://start.exactonline.be/api/v1/current/Me" ["request"]=> array(0) { } ["response"]=> NULL }
Upvotes: 1
Views: 3184
Reputation: 4262
When you switch company in Exact Online, the URL of your browser will display the division of the newly selected company:
https://start.exactonline.nl/docs/MenuPortal.aspx?_Division_=123123
You can also query system/divisions or run on https://online-sql-editor.com (I work there) the following query:
select * from systemdivisions
Upvotes: 5