Trigger start/stop actions for specified log reader - Precisely Data Integrity Suite

Data Integrity Suite APIs

Product
Data_Integrity
Spatial_Analytics
Data_Enrichment
geo_addressing_1
Services
Spatial Analytics
Data Enrichment
Geo Addressing
ft:title
Data Integrity Suite APIs
ft:locale
en-US
PublicationType
pt_developer
copyrightfirst
2023
copyrightlast
2026

Submits an asynchronous lifecycle action (START, STOP) for log reader associated with pipeline within the specified project.

HTML

POST https://hostname/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger

Process Overview

  1. Validate caller has `replication-pipeline::operate` permission.
  2. Validate that at least logReader or pipeline is specified in the request.
  3. Dispatch start or stop request through the portal client.
  4. Build 202 response with body status (SUBMITTED if dispatch succeeded, FAILED if an internal exception occurred) and Location header to alerts.

Key Features

  • Targeted log reader control (specify logReader and associating pipeline).
  • Uniform 202 response; body-level status differentiates dispatch success vs failure.
  • Immediate monitoring path via Location header (/projects/{projectId}/alerts) for a successfully submitted request.
  • Idempotent friendly: client can safely retry on FAILED since execution had not been confirmed.

Required Permissions

replication-pipeline::operate

Request

Path parameters

Key Required Type Description
projectId Yes string

Unique identifier of the project whose log readers should be acted upon.

Request body properties

Ancestors Property Required Type Description
  pipeline Yes string
  • Minimum length: 1 characters
  logReader Yes string
  • Minimum length: 1 characters
  startOptions No    
  action Yes string

This property is an enumerated string type (enum) set to one of these values:

  • START
  • STOP

Request body example

"logReader":"logreader-1",
"pipeline":"orders",
"action":"START",
"startOptions": {
  "warmStart":"true"
}

Response

A 202 Accepted response indicates the request was validated and dispatched (not that execution is complete). The response body contains a status field (SUBMITTED or FAILED) and the Location header points to the alerts endpoint for monitoring.

Header keys

Key Required Type Description
Location No string

URL of the project alerts endpoint for monitoring post-trigger alerts.

Response body properties

Property Required Type Description
message No string  
status No string

This property is an enumerated string type (enum) set to one of these values:

  • Submitted
  • InProgress
  • Completed
  • Partial
  • Failed
  • Cancelled

Response examples

Example status code responses for this method are shown here.

Examples
"message": "request START submitted",
"status": "SUBMITTED"
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.1",
"title": "Bad Request",
"status": "400",
"detail": "Validation error occurred",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
  "errorCode": "DI-ADAPTER-VAL-0000"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.2",
"title": "Unauthorized",
"status": "401",
"detail": "Authorization failed - missing or invalid credentials",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
  "errorCode": "DI-ADAPTER-AUT-0001"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.4",
"title": "Forbidden",
"status": "403",
"detail": "Authorization failed - insufficient permissions",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
  "errorCode": "DI-ADAPTER-AUT-0002"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.5",
"title": "Not Found",
"status": "404",
"detail": "Not Found - Resource does not exist",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
  "errorCode": "DI-ADAPTER-PRJ-0005"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.21",
"title": "Unprocessable Entity",
"status": "422",
"detail": "Unprocessable Entity - Request is syntactically correct but semantically invalid",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
  "errorCode": "DI-ADAPTER-VAL-0001"
}
"type": "https://datatracker.ietf.org/doc/html/rfc9110#section-15.6",
"title": "Internal Server Error",
"status": "500",
"detail": "An unexpected error occurred",
"instance": "/v1/integration/continuous/monitoring/projects/{projectId}/logreaders/trigger",
"properties": {
  "errorCode": "DI-ADAPTER-CST-0004"
}