Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: api update

...

Database

ID of this object. Primary intintuser_changeWhich days are allowed to be selected. 1 = monday, 2 = tuesday etc.
FieldTypeDescription
idintkeytodoid
task_refreference (Todo) Reference to the task that this restriction is for
other_daysenumAllow to be moved to other week days
minimum_distanceinteger Number of days expected between each planning.
metadatastringPolicy 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.
allowed_dayscollectionarray
create_datedate+timeCreated
change_datedate+timeLast change
is_deletedbool

GetTaskPlanRestrictionsByLastChange

Get all TaskPlanRestrictions changed after a certain date.

Input

changedate
date
dateDate
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.