REST Model of a Scheduler Task
name | data type | constraints | description |
---|---|---|---|
id | number | Task ID | |
name | string | Task name | |
description | string | Task description | |
command | string | Task command | |
internal | boolean | True for internal tasks, false for external tasks | |
creator | User | Task creator | |
cdate | number | required int | Task creation timestamp |
editor | User | Last task editor | |
edate | number | required int | Last task edit timestamp |
Example
{ "id" : 12345, "name" : "...", "description" : "...", "command" : "...", "internal" : true, "creator" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "cdate" : 12345, "editor" : { "id" : 12345, "firstName" : "...", "lastName" : "...", "description" : "...", "email" : "...", "groups" : [ { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] }, { "id" : 12345, "name" : "...", "description" : "...", "children" : [ { }, { } ] } ], "login" : "...", "password" : "..." }, "edate" : 12345 }