⚠️ This is a work in progress
A simple REST API client in .NET 8.0 for Bexio which is a powerful cloud based software for business administrations.
Find official API documentation here
As this is still a work in progress, only some API calls are implemented and tested.
- Contacts - Complete implementation (contacts, salutations, titles, groups, relations, additional addresses)
- Invoices - Complete implementation with CRUD operations, actions, and payment management
- Sales Order Management - Partial implementation (quotes, orders, invoices, deliveries, documents)
- Projects & Time Tracking - Complete implementation (projects, timesheets, business activities)
- User Management - Complete implementation (users, fictional users)
- Purchase - Planned (bills, expenses, purchase orders, outgoing payments)
- Accounting - Planned (accounts, currencies, manual entries, taxes, VAT periods)
- Banking - Planned (bank accounts, IBAN payments, QR payments)
- Items & Products - Partial (single article fetch only, stock locations and areas missing)
- Files - Planned (file management and operations)
- Company Profile - Company information endpoints
- Countries - Country management endpoints
- Languages - Language management endpoints
- Notes - Note management endpoints
- Payment Types - Payment type endpoints
- Permissions - Permission and access management
- Tasks - Task management endpoints
- Units - Unit management endpoints
Dot.NET
- NET >= 8.x.x -> https://dotnet.microsoft.com/en-us/download
- Obtain an api token from here
- Check the bexio.net.Example project on how to use it
- Rename appsettings.example.json to appsettings.json
- Add your api token to the appsettings.json
- Run the example project and choose your option
- All GET request will be printed to the console and saved to a file in Responses folder
We decided to use the direct API Token approach as described here. The Implementation of oauth 'Authorization Code Grant' flow is described in the official documentation but not implemented in this API client.
© Substring AG