You are viewing an old version of this page. View the current version.
Compare with Current
View Page History
« Previous
Version 2
Next »
TaskPlanRestriction
id | int | ID of this object. Primary key |
todoid | int | Reference to the task that this restriction is for |
minimum_distance | int | Number of days expected between each planning. |
user_change | string | Policy for user change. no = no user change allowed. team = user change allowed within team. all = user change allowed across all users. |
date_change | string | Policy for date change. no = no date change allowed. week = date can change within same week. month = date can change within same month. |
allowed_days | collection | Which days are allowed to be selected. 1 = monday, 2 = tuesday etc. |
GetTaskPlanRestrictionsByLastChange
Get all TaskPlanRestrictions changed after a certain date.
changedate | date | Date |
changetime | time | Time |
Output
taskplanrestrictions | collection[TaskPlanRestriction] | All restrictions changed after the given date/time. |
GetTaskPlanRestrictionByTodoID
Get a TaskPlanRestriction for a specific todo/task.
todoid | int | ID of a todo object |
Output
taskplanrestriction | TaskPlanRestriction | The restriction for this task, if one exists. |