Params

Param name Description
template
required
A Winddle Workflow (Checkpoints+Roles) templates. Can be either an ID (unique integer) or the name of the template.
source_line_item_id
optional

Can be set to self to reuse current template, or to the ID of another Project Line to use it as template (will overwrite template param)

Must be a String or an Integer
milestones
optional

Milestones due date constraints

Must be an Array of nested elements
milestones[name]
optional

Name of the milestone

Must be a String
milestones[due_date]
required

Due date, format YYYY-MM-DD

Must be a String
milestones[master_checkpoint_index]
optional

Master checkpoint index in the template for the milestone’s reference checkpoint

Must be a Integer
milestones[master_checkpoint_id]
optional

Master checkpoint ID for the milestone’s reference checkpoint

Must be a Integer
checkpoints
optional

Checkpoints duration constraints

Must be an Array of nested elements
checkpoints[name]
optional

Name of the checkpoint

Must be a String
checkpoints[duration]
required

Duration in working days

Must be a Integer
checkpoints[master_checkpoint_index]
optional

Master checkpoint index in the template

Must be a Integer
checkpoints[master_checkpoint_id]
optional

Master checkpoint ID

Must be a Integer
keep_duration
optional

Default to false - keep duration of existing CPs

Boolean (true/false)
keep_fixed
optional

Default to false - keep starting date of fixed CPs

Boolean (true/false)
start_at
optional

Optional - request a specific starting date for the first CP

Must be a Date
end_at
optional

Default to the project line’s due date, request a specific due date for the last CP

Must be a Date
update_milestones
optional

Default to true, update the milestones of the line item with either the provided dates or the relevant CP’s due dates

Boolean (true/false)
update_deliver_at
optional

Default to false, update the line item’s deliver_at to the delivery CP’s due date after applying the workflow

Boolean (true/false)
validate_delayed
optional

Default to false, validate all delayed CPs after applying the workflow

Boolean (true/false)
project_id
required

Project id, name or source_id

Must be a String or an Integer
id
required

Project Line id, reference or source_id

Must be a String or an Integer