Get Blackout Window
Get All Blackout Windows
Query Parameters
- showOnlyCommcellLevel boolean
Shows blackout window at commcell level if set to true.
- companyId integer
Shows blackout windows associated with the company whose id has been provided.
- serverGroupId string
Shows blackout windows associated with the server group whose id has been provided.
- commcellId string
Shows blackout windows associated with the commcell whose id has been provided.
Responses
- 200
- 404
Success
- application/json
- Schema
- Example (from schema)
Schema
blackoutWindows object[]
{
"blackoutWindows": [
{
"id": 0,
"name": "string",
"company": {
"id": 0,
"name": "string"
},
"allDays": [
{
"days": [
"SUNDAY"
],
"time": {
"start": 0,
"end": 0
}
}
],
"betweenDates": {
"start": 0,
"end": 0
}
}
]
}
Requested Details not found
GET /v5/blackoutwindow
Authorization
type: apiKeyname: Authtokenin: header
Request
Request
curl -L -X GET 'https://localhost/webconsole/api/V5/BlackoutWindow' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/BlackoutWindow' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/BlackoutWindow' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/BlackoutWindow' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/BlackoutWindow' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/BlackoutWindow' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'
curl -L -X GET 'https://localhost/webconsole/api/V5/BlackoutWindow' \
-H 'Accept: application/json' \
-H 'Authtoken: <API_KEY_VALUE>'