Create Anomaly Alert
Select
SaaS
Customer Managed
This operation is used to create Anomaly alerts.
Path Parameters
- ClientId integer required
Client Id for the salesforce organization
Query Parameters
- instanceId integer required
Instance Id for the salesforce organization
- backupsetId integer required
backupset Id for the salesforce organization
- application/json
Request Body
alerts object[]
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
Schema
alerts object[]
{
"alerts": [
{
"flag": 0,
"objectName": "string",
"conditionType": 0,
"id": 0,
"criteriaType": 0,
"operation": 0,
"conditionParameter": 0
}
]
}
POST /salesforce/:clientid/alerts
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Alerts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alerts": [
{
"conditionParameter": 0,
"criteriaType": 0,
"operation": 0,
"conditionType": 0,
"objectName": "All objects- \"\""
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Alerts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alerts": [
{
"conditionParameter": 0,
"criteriaType": 0,
"operation": 0,
"conditionType": 0,
"objectName": "All objects- \"\""
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Alerts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alerts": [
{
"conditionParameter": 0,
"criteriaType": 0,
"operation": 0,
"conditionType": 0,
"objectName": "All objects- \"\""
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Alerts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alerts": [
{
"conditionParameter": 0,
"criteriaType": 0,
"operation": 0,
"conditionType": 0,
"objectName": "All objects- \"\""
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Alerts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alerts": [
{
"conditionParameter": 0,
"criteriaType": 0,
"operation": 0,
"conditionType": 0,
"objectName": "All objects- \"\""
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Alerts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alerts": [
{
"conditionParameter": 0,
"criteriaType": 0,
"operation": 0,
"conditionType": 0,
"objectName": "All objects- \"\""
}
]
}'
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/Salesforce/:ClientId/Alerts' \
-H 'Content-Type: application/json' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"alerts": [
{
"conditionParameter": 0,
"criteriaType": 0,
"operation": 0,
"conditionType": 0,
"objectName": "All objects- \"\""
}
]
}'