List divisions
The Exact Online companies (divisions) your account can work in.
GET https://cotlet.dev/api/v1/exact-online/divisions
read
Returns every division your account has access to, with its code and name. Use the code as the division parameter of the other tools. When a tool gets no division, it uses the current division of your account.
Parameters
No parameters.
Request
curl https://cotlet.dev/api/v1/exact-online/divisions \
-H "Authorization: Bearer $COTLET_API_KEY" result = client.call("exact-online", "list_divisions") const result = await cotlet.call('exact-online', 'list_divisions'); cotlet call exact-online list_divisions Example response
{
"divisions": [
{
"division": 1234567,
"name": "Example BV",
"is_current": true
},
{
"division": 1234568,
"name": "Example Holding BV",
"is_current": false
}
]
}