BusinessInsight / Documentation

API Widget Data Source for Mobile Business Dashboards

BusinessInsight widgets can read data from either the local Agent or an approved client API endpoint. API widgets are useful when a customer already exposes business data through REST services, or when Trend Developers prepares endpoint adapters for a proof of concept.

When to Use API Endpoints

Approved reporting APIs already exist

If the client has secure reporting endpoints available, BusinessInsight can map those responses into dashboard widgets without installing a local Agent for that source.

A hosted application owns the data

When the operational system is already hosted, an endpoint can expose exactly the metric payload required by each widget.

Endpoint approval is simpler

Some teams prefer approved API access over direct database credentials. This keeps the integration inside their existing security model.

Adapters are needed

Trend Developers can help design endpoint adapters when the current system has useful data but no dashboard-ready response yet.

Widget Response Shape

Each endpoint should return predictable JSON that can be previewed and mapped in Widget Authoring. The response should include a label or category field, one or more value fields, and any role or filter metadata needed by the dashboard.

Example JSON
{
  "title": "Daily Sales",
  "rows": [
    { "label": "Lahore", "value": 125000 },
    { "label": "Karachi", "value": 98000 }
  ]
}

Endpoint Development Support

Clients may provide their own endpoints, or Trend Developers can help design and build the required endpoints. Pricing is estimated after reviewing the business requirement, endpoint security, transformation work, and widget complexity.