Put PlanRuleSettings
Select
SaaS
Customer Managed
API to set plan rule execution settings
- application/json
Request Body
- executionMode PlanRuleExecutionMode
Possible values: [
OFF
,MANUAL
,AUTOMATIC
]Plan rule execution mode
- executionInterval int32
Setting to suggest evaluation frequency in case of evaluation mode being Automatic.
- enableAlertNotification boolean
Set this to enable/disable notification over email for subclients pending plan associationover 24 hours. By default, notification will be enabled.
Responses
- 200
- 401
- 500
OK
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Unauthorized
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
Internal Server Error in case of wrong value being supplied.
- application/json
- Schema
- Example (from schema)
Schema
- errorMessage string
- errorCode int32
{
"errorMessage": "string",
"errorCode": 0
}
PUT /v4/plan/rule/settings
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule/Settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"executionMode": "OFF",
"executionInterval": 0,
"enableAlertNotification": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule/Settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"executionMode": "OFF",
"executionInterval": 0,
"enableAlertNotification": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule/Settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"executionMode": "OFF",
"executionInterval": 0,
"enableAlertNotification": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule/Settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"executionMode": "OFF",
"executionInterval": 0,
"enableAlertNotification": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule/Settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"executionMode": "OFF",
"executionInterval": 0,
"enableAlertNotification": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule/Settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"executionMode": "OFF",
"executionInterval": 0,
"enableAlertNotification": true
}'
curl -L -X PUT 'https://CommandCenterHostName/commandcenter/api/V4/Plan/Rule/Settings' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"executionMode": "OFF",
"executionInterval": 0,
"enableAlertNotification": true
}'