Preview Notification Config

Preview Notification Config

Preview Notification Scenario Config

Request
URI
POST
https://{api_host}/notification/api/scenario-configs/{scenarioId}/preview
COPY
Path Parameters
string
scenarioId
Required

Notification Scenario Id


Request Body
NotificationScenarioConfigPreview of type(s) application/json
Required

Show optional properties

{
    "body": "string",
    "subject": "string"
}
{
    "body": "string",
    "data": {},
    "subject": "string"
}
string
body
Required

Notification scenario body

object
data
Optional

data

string
subject
Required

Notification scenario subject

Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns NotificationScenarioConfigPreview of type(s) application/json
"NotificationScenarioConfigPreview Object"
string
body
Required

Notification scenario body

object
data
Optional

data

string
subject
Required

Notification scenario subject


400

Bad Request

Returns NotificationScenarioConfigPreview of type(s) application/json
"NotificationScenarioConfigPreview Object"
string
body
Required

Notification scenario body

object
data
Optional

data

string
subject
Required

Notification scenario subject


401

Unauthorized

Returns NotificationScenarioConfigPreview of type(s) application/json
"NotificationScenarioConfigPreview Object"
string
body
Required

Notification scenario body

object
data
Optional

data

string
subject
Required

Notification scenario subject


403

Forbidden

Returns NotificationScenarioConfigPreview of type(s) application/json
"NotificationScenarioConfigPreview Object"
string
body
Required

Notification scenario body

object
data
Optional

data

string
subject
Required

Notification scenario subject


404

Not Found

Returns NotificationScenarioConfigPreview of type(s) application/json
"NotificationScenarioConfigPreview Object"
string
body
Required

Notification scenario body

object
data
Optional

data

string
subject
Required

Notification scenario subject


Code Samples
COPY
                    curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"body:"string","subject:"string"}' https://{api_host}/notification/api/scenario-configs/{scenarioId}/preview