Run ports and port groups from OData

An external system can start an Outbridge integration directly, without a webhook or a schedule, by calling an OData action on the port or port group entity. This suits a system that already knows when it has work ready and wants Finance and Operations to pull it.

Entities #

Entity setPurpose
OSTDBPortsData ports
OSTDBPortGroupsData port groups
OSTDBMetricIncidentsOperational incidents
OSTDBMetricAlertRulesOperational alert rules
OSTDBMetricAlertTargetsAlert notification targets

The entities are reached at the standard endpoint for the environment, https://<environment>/data/, and authenticate the same way as any other Finance and Operations OData call. Grant the calling application a role that includes the Outbridge privileges it needs—see User roles, access, and permissions.

The three monitoring entities are also enabled for the Data management framework, so alert rules, their notification targets, and incident history can be moved between environments with a standard import or export project as well as read over OData.

Start a port #

Call the bound RunBatch action on the port record:

POST /data/OSTDBPorts(ID='INVOICE-IN',dataAreaId='usmf')/Microsoft.Dynamics.DataEntities.RunBatch

The action queues the port for batch processing and returns immediately. It does not wait for the integration to finish, and it does not return the result of the run—monitor the outcome in run history or through the OSTDBMetricIncidents entity.

A port is only started when it is runnable: it must have a data processor assigned and be in a state that permits a run. A port that does not qualify is ignored rather than failing the call.

Start a port group #

POST /data/OSTDBPortGroups(PortGroupId='NIGHTLY',dataAreaId='usmf')/Microsoft.Dynamics.DataEntities.RunBatch

The group runs its member ports in their configured order.

Acknowledge an incident #

The OSTDBMetricIncidents entity exposes two actions, so a monitoring or ticketing system can take ownership of an incident when it raises its own ticket.

Acknowledge takes no parameters and attributes the acknowledgement to the authenticated user:

POST /data/OSTDBMetricIncidents(IncidentId='...',dataAreaId='usmf')/Microsoft.Dynamics.DataEntities.Acknowledge

AcknowledgeAs attributes it to a named Finance and Operations user instead:

POST /data/OSTDBMetricIncidents(IncidentId='...',dataAreaId='usmf')/Microsoft.Dynamics.DataEntities.AcknowledgeAs
{ "userId": "admin" }

Pass a blank userId to fall back to the authenticated user. Both actions return true when an active incident was acknowledged, and false when acknowledgement did not apply—for example because the incident is already resolved.

Incidents are otherwise read-only through OData. They cannot be created or modified directly; they are maintained by alert monitoring.

Things to plan for #

  • Runs are asynchronous. RunBatch confirms that the run was queued, not that it succeeded. Poll run history, subscribe to alerts, or have the integration itself report completion.
  • Maintenance mode is honoured. While maintenance mode is enabled, a queued run will not start. Check the mode before a promotion window.
  • Company context matters. Both entities are company-specific; include dataAreaId in the key.
  • Repeated calls queue repeated runs. Outbridge does not deduplicate identical requests, so an external retry loop should confirm the previous run's outcome before resubmitting.
Book a 30-min review