Skip to main content

Send Notification

POST 

/apm/api/v1/action-plan/:action-plan-id/notification/ondemand

The API sends Jira/slack notifications for a given action plan id. You must have ActionPlanRemediation_UPDATE permission to access this endpoint. Rate limit 2/sec.

Request

Path Parameters

    action-plan-id stringrequired

    action plan id

    Example: action plan id

Header Parameters

    x-redlock-auth stringrequired

    Authorize using Authentication token

    Example: jwt token

Body

    onDemandNotificationConfig objectrequired
    clientId string

    Id to identify the category of request. For Jira, Slack, it can be AP

    generatorType string

    For ad-hoc notification, its value should be REALTIME

    integrationType stringrequired

    Can be either Jira or Slack

    templateId string

    Jira template Id

    recipients string[]required

    List containing single Integration id for jira or list of channels for slack etc.

    translation object
    body string

    Message Body. Applicable for email and slack.

    details object

    Its a map of key-value pair. It contains details like Subject etc.

    property name* string

Responses

OK

Schema
    id string
    success integer
    failed integer
    successfulEvents object[]
  • Array [
  • recipient object
    generatorType string
    integrationType string
    id string
    refId string
    customerId integer
    clientId string
    metaData object
    notificationId string
  • ]
  • failedEvents object
Loading...