Implementations
Example of Unified API implementation
The following steps are an example of how you could use Chift API to retrieve a list of clients on the accounting software (Odoo) of one of your client/consumer.
- Activate
Odoo
as an available integration for your clients - Get a BEARER token so that you can perform requests on our API. See the authentication section.
- Create a consumer by using the UI interface or by using the Create consumer endpoint.
- If you use the API, you will receive the consumerid as response. If you use the UI, you will be able to see the consumerid by clicking on the eye icon.
- Configure an Odoo connection, either by using the UI to navigate to the connection page, or by retrieving the connection page URL and sharing it with your client by using the Add a new connection endpoint.
- This step is normally performed by your “clients”: Open the Connection page and click on Connect new to enter your Odoo credentials to be able to connect to Odoo.
-
Once your connection is created, you can use the Get active connections to verify that the connection is active for your client.
-
Now, you can for example use the Accounting - Get clients endpoint with the
consumerid
to retrieve a list of clients on the Odoo of your consumer/client.
We achieved the goal of this demonstration. You can test other endpoints of the Accounting API to enjoy the power of Chift!