List blackout reasons

get

https://EM_HOST:EM_CONSOLE_HTTPS_PORT/em/api/blackouts/reasons

Lists known predefined and user-defined blackout reasons. For predefined blackout reasons, a localized display name is also available. For user-defined reasons, the display name is the same as the reason.

Request

Query Parameters
  • filters on specified ids
    Example:
    23
  • Minimum Value: 1
    Maximum Value: 2000
    to limit the number of rows returned. If the result set is greater follow the previous and next links in the results.
    Example:
    20
  • system generated page token used in the self, next and previous links.
  • The sort field and direction. Allowed sort fields are reason and id. Allowed directions are DESC and ASC
    Example:
    id:ASC

There's no request body for this operation.

Back to Top

Response

Supported Media Types

200 Response

OK
Body ()
Root Schema : BlackoutReasonCollection
Type: object
Collection of blackout reasons.
Show Source
Nested Schema : items
Type: array
blackout reasons
Show Source
Nested Schema : BlackoutReasonSummary
Type: object
A single blackout reason.
Match All
A single blackout reason.
Show Source
Nested Schema : BlackoutReason
Type: object
A single blackout reason.
Show Source
Match All
A single blackout reason.
A single blackout reason.
Show Source
Nested Schema : ReasonId
Type: object
Reason id of a blackout.
Show Source
Nested Schema : Reason
Type: object
Reason of a blackout.
Show Source

401 Response

client is not authenticated
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an Error
Show Source
Nested Schema : details
Type: array
(Optional) List of additional details for the errors found.
Show Source
Nested Schema : ErrorDetail
Type: object
listed as part of ErrorResponse
Show Source

500 Response

internal error serving the request
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an Error
Show Source
Nested Schema : details
Type: array
(Optional) List of additional details for the errors found.
Show Source
Nested Schema : ErrorDetail
Type: object
listed as part of ErrorResponse
Show Source

503 Response

indicates that a required service is not available.
Body ()
Root Schema : ErrorResponse
Type: object
Response sent back in the case of an Error
Show Source
Nested Schema : details
Type: array
(Optional) List of additional details for the errors found.
Show Source
Nested Schema : ErrorDetail
Type: object
listed as part of ErrorResponse
Show Source
Back to Top