API Guide
"Schedule":"startnow",
"State":"Enabled",
"JobType":
{
"Id":8,
"Name":"Inventory_Task"
},
"Targets":
[
{
"Id": 25915,
"Data": "",
"TargetType":
{
"Id":1000,
"Name":"DEVICE"
}
}
]
}
Output:
{
"Id": 26097,
"JobName": "Inventory Task",
"JobDescription": "Inventory Task",
"NextRun": null,
"LastRun": "2018-09-14 15:31:13.094",
"StartTime": null,
"EndTime": null,
"Schedule": "startnow",
"State": "Enabled",
"CreatedBy": "root",
"UpdatedBy": "root",
"LastRunStatus":
{
"Id": 2060,
"Name": "Completed"
},
"JobType":
{
"Id": 8,
"Name": "Inventory_Task",
"Internal": false
},
"JobStatus":
{
"Id": 2080,
"Name": "New"
},
"Targets":
[
{
"JobId": 26097,
"Id": 25915,
"Data": "",
"TargetType":
{
"Id": 1000,
"Name": "DEVICE"
}
}
],
"Params": [],
"Visible": true,
"Editable": true,
"Builtin": false
}
248
Monitor