Delen via


Schedule Maintenance - Get Schedule Maintenance List

Hiermee haalt u de onderhoudslijst van de planning op.

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

Antwoorden

Name Type Description
200 OK

TableDataResponse

OK. De planningsonderhoudslijst is opgehaald.

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

Voorbeelden

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"
    }
  ]
}

Definities

Name Description
TableColumn
TableDataResponse

TableColumn

Name Type Description
field

string

Naam van de kolom

header

string

Koptekst van de kolom

hidden

boolean

Is de kolom verborgen

type

string

Type van de kolom

TableDataResponse

Name Type Description
rows

object[]

Tabelrijen met gegevens

tableColumns

TableColumn[]

Tabelkolommen met gegevens