Skip to main content

MGCBallastMaintenanceService.countBatchGlobalDirectChanges

Counts the BatchGlobal direct-change audit events. Changes nothing.

  • HTTP method: POST
  • Route: /api/services/MGCBallastServiceGroup/MGCBallastMaintenanceService/countBatchGlobalDirectChanges
  • Service class: MGCBallastMaintenanceService

Parameters​

NameTypeOptionalDescription
_requestMGCBallastMaintenanceRequestContractNoRequestId and CorrelationId.

Returns​

MGCBallastMaintenanceResponseContract

EventCount.

Security​

  • Requires privilege MGCBallastIntegrationServiceView

Data contracts​

The data contracts this operation takes and returns, with their members. A member whose type is another data contract links to that contract below.

MGCBallastMaintenanceRequestContract​

Request to a Ballast maintenance operation. The operations take no parameters beyond the identifiers that tie the call - and the audit events it writes - to a test or integration run.

MemberTypeListDescription
RequestIdGuidNoGets or sets the caller's request identifier; echoed on the response.
CorrelationIdGuidNoGets or sets the identifier that ties this call to others in the same run; the audit events the operation writes carry it.

MGCBallastMaintenanceResponseContract​

Response from a Ballast maintenance operation: what it found and what it changed. Each change is also an audit event (SnapshotRepaired, RetentionCleaned) carrying the request's CorrelationId, readable through the BallastAuditEvents data entity.

MemberTypeListDescription
SuccessbooleanNoGets or sets whether the operation completed. False means Message and ErrorCode say why.
MessagestrNoGets or sets the outcome in words, including any messages the operation raised.
ErrorCodestrNoGets or sets a machine-readable failure class: ValidationFailed or Failed. Empty on success.
RequestIdGuidNoGets or sets the caller's request identifier, echoed.
CorrelationIdGuidNoGets or sets the caller's correlation identifier, echoed.
FoundintNoGets or sets how many blank version snapshots the scan found.
RepairedintNoGets or sets how many blank snapshots were refilled from the live parameters.
UnchangedintNoGets or sets how many blank snapshots were left as they were, because the live table holds no row or only default values.
EventCountint64NoGets or sets how many BatchGlobal direct-change audit events exist (count) or were deleted (purge).
PurgedintNoGets or sets how many snapshot rows without a version were deleted.
RowsList of strYesGets or sets the rows found (blank snapshots, or snapshot rows without a version), one per entry: bundle|version RecId|value table|company (blank for a Global bundle).