Fetch a Specific Maintenance Request Record

Use this API to retrieve a specific upgrade and rollback maintenance record using the maintenanceID. The record provides the overall maintenance status, and not the status of the individual systems.

Format:

GET /maintenance/history/{maintenanceId}

Request Example:

curl --location --request GET 'https://demo.saas.appdynamics.com/zero/v1beta/maintenance/history/{maintenanceId}' --header 'Authorization: Bearer {AuthToken}'

Input Parameters:

Parameter Name Parameter Type Description Mandatory
systemMaintenanceId Path ID of the system maintenance activity Yes

Response Examples:

On Linux:
{
"maintenanceId":"d601aacc-97a4-479e-b2b3-db095fef34fc",
"operation":"UPGRADE",
"status":"PENDING",
"startedAt":"2021-10-25T18:20:55.196Z",
"updatedAt":"2021-10-25T18:20:55.196Z",
"maintAgentVersions":[
{
"type":"JAVA",
"version":"20.3.0.1183"
}
],
"affectedSystemIds":[
"d601aacc-97a4-479e-b2b3-db095fef34fc"
],
"failedSystemMaintenanceIds":[
"d601aacc-97a4-479e-b2b3-db095fef34fc"
],
"configurations":{
"enableOtel":true,
"otelProperties":{
"tracesExporter":"otlp,logging",
"metricsExporter":"otlp,logging",
"otlpEndpoint":"http://localhost:4317"
},
"enableSim":true,
"dotnetCompatibility":null
}
}
On Windows:
{
"maintenanceId":"d601aacc-97a4-479e-b2b3-db095fef34fd",
"operation":"UPGRADE",
"status":"SUCCEEDED",
"startedAt":"2022-05-11T18:20:55.196Z",
"updatedAt":"2022-05-11T18:20:55.196Z",
"applicationName": null,
"maintAgentVersions": [
{
"type": "MACHINE_WINDOWS",
"version": "22.4.0.3344"
}
],
"affectedSystemIds":[
"c44f978d-8db6-452f-9387-9b852d8df03a"
],
"failedSystemMaintenanceIds": null,
"configurations":{
"enableSim": true,
"dotnetCompatibility": true
}
}