List Blackout reasons

get

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

This API returns a list of known predefined and user defined blackout reasons. For the predefined blackout reasons there is also a localized display name. 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
Show Source
Nested Schema : BlackoutReason
Type: object
A single blackout reason.
Show Source
Match All
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
Error response
Show Source

500 Response

internal error serving the request
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source

503 Response

indicates that a required service is not available.
Body ()
Root Schema : ErrorResponse
Type: object
Error response
Show Source
Back to Top