Dela via


Schedule Maintenance - Get Schedule Maintenance List

Hämtar schemaunderhållslistan.

GET http://<Servername>/OperationsManager/ScheduleMaintenanceList

Svar

Name Typ Description
200 OK

TableDataResponse

Okej. Schemaunderhållslistan har hämtats.

Media Types: "application/json", "text/json", "application/xml", "text/xml"

Exempel

GetScheduleMaintenanceList

Sample Request

GET http://<Servername>/OperationsManager/ScheduleMaintenanceList

Sample Response

{
  "tableColumns": [
    {
      "field": "scheduleId",
      "header": "ID",
      "type": null,
      "hidden": true
    },
    {
      "field": "scheduleName",
      "header": "Name",
      "type": null,
      "hidden": false
    },
    {
      "field": "isEnabled",
      "header": "Enabled",
      "type": null,
      "hidden": false
    },
    {
      "field": "status",
      "header": "Status",
      "type": null,
      "hidden": false
    },
    {
      "field": "isRecurrence",
      "header": "Recurring",
      "type": null,
      "hidden": false
    },
    {
      "field": "user",
      "header": "User",
      "type": null,
      "hidden": false
    },
    {
      "field": "lastRunStartTime",
      "header": "Last Run Start Time",
      "type": null,
      "hidden": false
    },
    {
      "field": "nextScheduledRunTime",
      "header": "Next Run",
      "type": null,
      "hidden": false
    }
  ],
  "rows": [
    {
      "scheduleId": "5a9cd9fd-c8dc-ec11-b723-02155eb7914d",
      "scheduleName": "schedule",
      "isEnabled": true,
      "status": 0,
      "isRecurrence": true,
      "user": "SMX\\asttest",
      "lastRunStartTime": "0001-01-01T00:00:00-08:00",
      "nextScheduledRunTime": "0001-01-01T00:00:00-08:00"
    }
  ]
}

Definitioner

Name Description
TableColumn
TableDataResponse

TableColumn

Name Typ Description
field

string

Namnet på kolumnen

header

string

Kolumnrubrik

hidden

boolean

Är kolumnen dold

type

string

Typ av kolumn

TableDataResponse

Name Typ Description
rows

object[]

Tabellrader med data

tableColumns

TableColumn[]

Tabellkolumner med data