Get Scenario Config

Get Scenario Config

Retrieves a notification scenario configuration by scenario id of an organization

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

Notification Scenario Id

Query Parameters
boolean
expandBody
Optional

The 'body' field of each scenario configuration will be retrieved.

boolean
defaultConfig
Optional

The 'defaultConfig' of each scenario will be retrieved.


Authentication
This operation uses the following authentication methods.
Responses
200

OK

Returns NotificationScenarioConfig of type(s) application/json
{
    "body": "string",
    "enabled": false,
    "scenarioCategory": "string",
    "scenarioDescription": "string",
    "scenarioId": "string",
    "scenarioName": "string",
    "subject": "string"
}
string
body
Optional
Constraints: maxLength: 30000

Notification scenario body

boolean
enabled
Required

Notification scenario enabled

string
scenarioCategory
Optional

Notification scenario category

string
scenarioDescription
Optional

Notification scenario description

string
scenarioId
Required

Notification scenario id

string
scenarioName
Optional

Notification scenario name

string
subject
Optional
Constraints: maxLength: 998

Notification scenario subject


401

Unauthorized

Returns NotificationScenarioConfig of type(s) application/json
"NotificationScenarioConfig Object"
string
body
Optional
Constraints: maxLength: 30000

Notification scenario body

boolean
enabled
Required

Notification scenario enabled

string
scenarioCategory
Optional

Notification scenario category

string
scenarioDescription
Optional

Notification scenario description

string
scenarioId
Required

Notification scenario id

string
scenarioName
Optional

Notification scenario name

string
subject
Optional
Constraints: maxLength: 998

Notification scenario subject


403

Forbidden

Returns NotificationScenarioConfig of type(s) application/json
"NotificationScenarioConfig Object"
string
body
Optional
Constraints: maxLength: 30000

Notification scenario body

boolean
enabled
Required

Notification scenario enabled

string
scenarioCategory
Optional

Notification scenario category

string
scenarioDescription
Optional

Notification scenario description

string
scenarioId
Required

Notification scenario id

string
scenarioName
Optional

Notification scenario name

string
subject
Optional
Constraints: maxLength: 998

Notification scenario subject


404

Not Found

Returns NotificationScenarioConfig of type(s) application/json
"NotificationScenarioConfig Object"
string
body
Optional
Constraints: maxLength: 30000

Notification scenario body

boolean
enabled
Required

Notification scenario enabled

string
scenarioCategory
Optional

Notification scenario category

string
scenarioDescription
Optional

Notification scenario description

string
scenarioId
Required

Notification scenario id

string
scenarioName
Optional

Notification scenario name

string
subject
Optional
Constraints: maxLength: 998

Notification scenario subject


Code Samples
COPY
                    curl -H 'Authorization: <value>' https://{api_host}/notification/api/scenario-configs/{scenarioId}