To be able to send messages to CC Partners through API calls, you need to connect to one or more tenants. API calls enable you to send CC messages to CC Partners in different databases as well as those contained in the same database as your company.
You can access the Tenant setup from the Wisefish Cross-Company Setup page or you can also search for the Page “Wisefish Cross-Company Tenant Setup” in a search bar.
To set up a Tenant you need to give the Tenant a Tenant Id and name and then provide connection parameters dependent on the Authentication Type used. Two authentication types are currently supported, Basic and OAuth authentication.
Note: The fields related to selected authentication method (Basic or OAuth) are auto populated.
If you select the the Basic authentication you need to provide the tenant's API Base URL along with Username and Password.
For the OAuth authentication you need to provide the Tenant ID, Client ID and OAuth Secret.
Please take a look at the Business Central Documentation for more information on Authentications.
The saved Tenants are displayed in the Wisefish Cross-Company Tenant lists as displayed in below screenshot.
To retrieve the companies accessible through the tenant click on Update Companies menu in the Tenant Detail Page.
The list of companies are listed.
From the Companies list you can then delete companies that do not use the Wisefish Cross-Company functional features.