Skip to content

Default Co API

API Default Company Configuration in Merci Cloud ERP

Overview

In Merci Cloud ERP, APIs are used extensively for data retrieval in reports, dashboards, and mobile applications. When multiple companies exist within a single financial year configuration, it becomes necessary to designate a single default company for API connections.

To facilitate this, a new field API Default Co? has been added to the Company Master module. The company marked as default will serve as the primary data source for all API transactions.


Why This Is Important

  • Prevents ambiguity in data retrieval when multiple companies are configured.
  • Ensures accurate and consistent data fetching for:

  • Dashboards

  • Reports
  • Mobile app modules
  • Simplifies integration and avoids discrepancies.

How It Works

  1. Navigate to: Company Master
  2. Open the company to be set as default
  3. In the Other Info section, locate the API Default Co? field
  4. Set this field to YES
  5. Ensure that only one company is marked as the API Default at any time

Warning:

If more than one company is marked as the default, the system will apply internal logic to select one, which may cause inconsistent API behavior.


UI Reference

This setting is found under the Other Info section in the Company Master. The marked company will be the default data source for all API requests.


Key Notes

  • Does not impact internal ERP operations or reports
  • Used exclusively for external API integrations
  • Can be updated or changed as per operational needs

Best Practices

  • Assign the default flag to the primary operational company for the financial year
  • Avoid frequent changes to maintain API stability
  • Document the selection in your internal technical or administrative SOPs

Need Help?

For questions or technical support, contact the Merci Cloud ERP support team or consult the API Integration Guide.