Skip to main content
Skip table of contents

Task planning restrictions

TaskPlanRestriction

idintID of this object. Primary key
todoidintReference to the task that this restriction is for
minimum_distanceintNumber of days expected between each planning.
user_changestringPolicy for user change. no = no user change allowed. team = user change allowed within team. all = user change allowed across all users.
date_changestringPolicy for date change. no = no date change allowed. week = date can change within same week. month = date can change within same month. always = date can always be changed.
allowed_dayscollectionWhich days are allowed to be selected. 1 = monday, 2 = tuesday etc. If this is empty it should be interpreted as "all days are allowed".

GetTaskPlanRestrictionsByLastChange

Get all TaskPlanRestrictions changed after a certain date.

Input

changedatedateDate
changetimetimeTime

Output

taskplanrestrictionscollection[TaskPlanRestriction]All restrictions changed after the given date/time.

GetTaskPlanRestrictionByTodoID

Get a TaskPlanRestriction for a specific todo/task.

Input

todoidintID of a todo object

Output

taskplanrestrictionTaskPlanRestrictionThe restriction for this task, if one exists.
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.