Partilhar via


Schedule Maintenance - Get Schedule Maintenance List

Recupera a lista de manutenção do horário.

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

Respostas

Name Tipo Description
200 OK

TableDataResponse

Ok. Conseguiu recuperar a lista de manutenção do horário com sucesso.

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

Exemplos

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

Definições

Name Description
TableColumn
TableDataResponse

TableColumn

Name Tipo Description
field

string

Nome da Coluna

header

string

Cabeçalho da coluna

hidden

boolean

É coluna escondida

type

string

Tipo da Coluna

TableDataResponse

Name Tipo Description
rows

object[]

Linhas de dados

tableColumns

TableColumn[]

Colunas de dados