Get Operation Rules
Select
SaaS
Customer Managed
This operation returns a list of operation rules. More Details
Query Parameters
- clientId string
Responses
- 200
OK
- application/json
- Schema
- Example (from schema)
- Example 1 / Operation Window/ Op Window List?client Id={{client Id}}
- Operation Window/ Op Window List?client Id={{client Id}}&app Type Id=33&backupset Id={{backupset Id}}&subclient Id={{subclient Id}}&
Schema
error object
operationWindow object[]
{
"error": {
"errorCode": 0
},
"operationWindow": [
{
"ruleEnabled": true,
"endDate": 0,
"level": 0,
"name": "string",
"ruleId": 0,
"startDate": 0,
"operations": [
0
],
"dayTime": [
{
"startTime": 0,
"endTime": 0,
"dayOfWeek": [
0
]
}
]
}
]
}
{
"error": {
"errorCode": 0
},
"operationWindow": [
{
"ruleEnabled": true,
"endDate": 1520312400,
"level": 2,
"name": "ClientLevelwindow",
"ruleId": 1,
"startDate": 1520312400,
"operations": [
1,
2
],
"dayTime": [
{
"startTime": 28800,
"endTime": 64800,
"dayOfWeek": [
6
]
}
]
}
]
}
{
"error": {
"errorCode": 0
},
"operationWindow": [
{
"ruleEnabled": true,
"endDate": 0,
"level": 0,
"name": "string",
"ruleId": 0,
"startDate": 0,
"operations": [
0
],
"dayTime": [
{
"startTime": 0,
"endTime": 0,
"dayOfWeek": [
0
]
}
]
}
]
}
GET /operationwindow/opwindowlist
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/OperationWindow/OpWindowList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/OperationWindow/OpWindowList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/OperationWindow/OpWindowList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/OperationWindow/OpWindowList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/OperationWindow/OpWindowList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/OperationWindow/OpWindowList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://CommandCenterHostName/commandcenter/api/OperationWindow/OpWindowList' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'