Skip to main content

Task template

Task template is a object for generation task


AttributeTypeDescriptionNullable
idIntegerIdentifiers of templatefalse
activeBooleanFlag indicating a template is activefalse
nameStringTemplate namefalse
authorIdIntegerIdentifier of template authorfalse
authorNameStringAuthor namefalse
activeFromISO DateTimeDate and time from which the rule will be executed
Format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
false
activeToISO DateTimeDate and time when the rule will stop executing
Format yyyy-MM-dd'T'HH:mm:ss.SSS'Z'
false
scheduledTimeTimeTime when rule will be start in HH:mm formatfalse
lastGenerationDateDateDate of last generation by this rulefalse
generationRuleObjectSelect period executed
See Generation rule object
false
typeStringType of taskfalse
Example:
[
{
"id": 4,
"active": true,
"name": "test",
"authorId": 1,
"authorName": "System Administrator",
"activeFrom": "2021-06-17T00:00:00.000Z",
"activeTo": "2021-06-17T23:59:59.999Z",
"scheduledTime": "00:00",
"lastGenerationDate": "2021-06-17",
"generationRule": {
"type": "daily",
"days": [],
"months": []
},
"type": "COMMON"
}
]