您可以使用 GetSchedule 获取计划快照的相关信息。
此方法具有以下输入参数:
名称 | 说明 | 类型 | 默认值 | 必需 |
---|---|---|---|---|
scheduleID | 要显示的一个或多个计划的唯一 ID。 | 整型 | 无 | 是 |
此方法的请求类似于以下示例:
{ "method": "GetSchedule", "params": { "scheduleID" : 2 }, "id" : 1 }
此方法返回类似于以下示例的响应:
{ "id": 1, "result": { "schedule": { "attributes": { "frequency": "Time Interval" }, "hasError": false, "hours": 0, "lastRunStatus": "Success", "lastRunTimeStarted": "2015-03-23T21:25:00Z", "minutes": 2, "monthdays": [], "paused": false, "recurring": true, "runNextInterval": false, "scheduleID": 2, "scheduleInfo": { "name": "MCA2", "volumeID": "3" }, "scheduleName": "MCAsnapshot2", "scheduleType": "Snapshot", "startingDate": "2015-03-23T19:28:57Z", "toBeDeleted": false, "weekdays": [] } } }
9.6