Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

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.
  • No labels