You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The reason is that there are different functions available in the Bexio API depending on the version. Some are v2 but some are (only) v3, e.g. https://docs.bexio.com/#tag/Taxes
Maybe this is more something that Bexio should solve, as I would expect a function from API v2 to be available in v3 too (e.g. Contacts are v2 only: https://docs.bexio.com/#tag/Contacts), but if you want to use the full functionality of the API, this should take care of the in php client as well. e.g. use "2.0" as default version if no version is provided in the "get" function call.
The text was updated successfully, but these errors were encountered:
@kosli instead of using return $this->client->get('contact', $params);
you could use return $this->client->get('../3.0/taxes', $params);
which is not nice, but a workaround
Currently the API version number is "constant" as the API URL is constant ->
bexio-api-php-client/src/Bexio/Client.php
Line 10 in 07f6abf
The reason is that there are different functions available in the Bexio API depending on the version. Some are v2 but some are (only) v3, e.g. https://docs.bexio.com/#tag/Taxes
Maybe this is more something that Bexio should solve, as I would expect a function from API v2 to be available in v3 too (e.g. Contacts are v2 only: https://docs.bexio.com/#tag/Contacts), but if you want to use the full functionality of the API, this should take care of the in php client as well. e.g. use "2.0" as default version if no version is provided in the "get" function call.
The text was updated successfully, but these errors were encountered: