Magidoc

RecipeTodoInput
Input Object

Fields

#

checklist

Ignored by createRecipeTodo and updateRecipeTodo; manage the checklist with updateRecipeTodoChecklist.

dependenciesType

Allowed values for dependenciesType: "finish-to-start", "start-to-start", "finish-to-finish".

description

duration

Estimated duration in days. Ignored by createRecipeTodo (new tasks start at 1 day); set it via updateRecipeTodo.

placement

Optional placement relative to another task in the same slice. Cannot be combined with position.

position

Ordering within the slice. On update, omitting this moves the task to the end of its slice - pass the current position to keep ordering. To insert the task relative to another task, use placement instead; the two are mutually exclusive.

predecessors

When provided, REPLACES the task's full predecessor set (an empty list clears all dependencies); omit to leave dependencies unchanged. Honored by updateRecipeTodo only.

recipeBoxId

Box to place the task in; must belong to the same slice.

recipeTodoId

Parent task id - makes this task a subtask. On create the subtask inherits the parent's role placeholders and the parent's duration/work effort become derived.

recurring

sliceId

Parent slice id. Required in practice on both create and update; changing it moves the task (and its subtasks).

status

title

Non-null

workEffort

Estimated work effort in seconds. Recalculated as 8 hours per day whenever duration changes and workEffort is not sent.