Skip to main content

Get Maintenance

Returns maintenance with given id.

External Documentation

To learn more, visit the Opsgenie documentation.

Parameters

ParameterDescription
IDIdentifier of the maintenance to be searched.

Example Output

{
"data": {
"description": "Description for maintenance data",
"id": "Identifier of the maintenance meta data",
"rules": [
{
"entity": {
"id": "Identifier of the maintenance entity",
"type": "string"
},
"state": "Defines the state of the rule"
}
],
"status": "Status of the maintenance data",
"time": {
"endDate": "End time of the time configuration of maintenance",
"startDate": "Start time of the time configuration of maintenance",
"type": "Type of the maintenance time"
}
},
"requestId": "string",
"took": 0
}

Automation Library Example

Get Maintenance with Opsgenie and Send Results Via Email

Automation LibraryPreview this Automation on desktop