Skip to main content

Create a Notification Profile

POST 

/api/cloud/2.0/agg/notifications/profiles

Overview

Create a new notification profile by providing the profile name and the inputs & outputs used by the profile

The inputs are:

  • Impacted tenants, notification type, notification categories & sub-categories

The outputs are:

  • Output channels

The newly created notification profile is diabled by default.

The profile must be explicitly enabled for the profile to act on notification inputs and generate notifications.

Request

Body

    id string

    Notification Profile Id

    profileName stringrequired

    Notification Profile Name

    description string

    Notification Profile Description

    opState stringrequired

    Possible values: [ENABLED, DISABLED]

    Notification Profile Operational State

    status stringrequired

    Notification Profile Status

    tenantList string[]required

    Input Tenant List

    excludeTenantList string[]

    List of excluded tenants

    notifTypeDetails object[]required

    Notification Type Detail

  • Array [
  • type stringrequired

    Possible values: [INCIDENTS, UPGRADES, ANNOUNCEMENTS]

    Notification Type

    notifCategoryList object[]required

    List of notification type categories

  • Array [
  • name stringrequired

    Notification type category name

    bestPractice booleanrequired

    Best practice flag for category

    subCategoryList object[]required

    List of notification type sub-categories

  • Array [
  • name stringrequired

    Notification type sub-category name

    bestPractice booleanrequired

    Best practice flag for sub-category

    needLicense booleanrequired

    Need license flag for sub-category

  • ]
  • ]
  • ]
  • notifChannels object[]required

    Notification Channel List

  • Array [
  • name stringrequired

    Notification channel name

    type stringrequired

    Possible values: [EMAIL, WEBHOOK]

    Notification channel type

    emailChannelDetails object

    Email channel details

    property name* EmailChannelDetails
    emails object[]required

    List of emails

  • Array [
  • name stringrequired

    Email owner name

    emailId stringrequired

    Email id

  • ]
  • webhookChannelDetails object

    Webhook channel details

    property name* WebhookChannelDetails
    urls string[]required

    List of Webhook URLs - do not include token in the URL

    authType stringrequired

    Possible values: [NO_AUTH, TOKEN]

    Webhook Authentication Type

    token stringrequired

    Webhook token value

    template object

    Channel output template

    name string

    Output channel template name

    templateJson string

    JSON describing the output channel template

  • ]
  • successTenant string[]

    List of child tenants that got the incident profile

    failureTenant string[]

    List of child tenants that didn't get the incident profile

Responses

Created

Schema
    id string

    Notification Profile Id

    profileName stringrequired

    Notification Profile Name

    description string

    Notification Profile Description

    opState stringrequired

    Possible values: [ENABLED, DISABLED]

    Notification Profile Operational State

    status stringrequired

    Notification Profile Status

    tenantList string[]required

    Input Tenant List

    excludeTenantList string[]

    List of excluded tenants

    notifTypeDetails object[]required

    Notification Type Detail

  • Array [
  • type stringrequired

    Possible values: [INCIDENTS, UPGRADES, ANNOUNCEMENTS]

    Notification Type

    notifCategoryList object[]required

    List of notification type categories

  • Array [
  • name stringrequired

    Notification type category name

    bestPractice booleanrequired

    Best practice flag for category

    subCategoryList object[]required

    List of notification type sub-categories

  • Array [
  • name stringrequired

    Notification type sub-category name

    bestPractice booleanrequired

    Best practice flag for sub-category

    needLicense booleanrequired

    Need license flag for sub-category

  • ]
  • ]
  • ]
  • notifChannels object[]required

    Notification Channel List

  • Array [
  • name stringrequired

    Notification channel name

    type stringrequired

    Possible values: [EMAIL, WEBHOOK]

    Notification channel type

    emailChannelDetails object

    Email channel details

    property name* EmailChannelDetails
    emails object[]required

    List of emails

  • Array [
  • name stringrequired

    Email owner name

    emailId stringrequired

    Email id

  • ]
  • webhookChannelDetails object

    Webhook channel details

    property name* WebhookChannelDetails
    urls string[]required

    List of Webhook URLs - do not include token in the URL

    authType stringrequired

    Possible values: [NO_AUTH, TOKEN]

    Webhook Authentication Type

    token stringrequired

    Webhook token value

    template object

    Channel output template

    name string

    Output channel template name

    templateJson string

    JSON describing the output channel template

  • ]
  • successTenant string[]

    List of child tenants that got the incident profile

    failureTenant string[]

    List of child tenants that didn't get the incident profile

Loading...