Skip to main content
POST
Apply a route to a node

Authorizations

X-API-Key
string
header
required

Organization-scoped API key. Create one in the BuildingSwell app under Organization settings, API keys.

Path Parameters

id
string<uuid>
required

Record id.

Body

application/json
routeId
string<uuid>
required

Route to apply.

Response

The updated node.

A deliverable as the concepts layer returns it: the node's own fields plus its resolved concept context.

id
string<uuid>

Node id.

identifier
string

Human-readable id.

name
string

Node name.

type
enum<string>

Concept this node represents.

Available options:
order,
route,
overhead,
template-phase,
phase,
component,
stage,
step,
qcstep
parentId
string<uuid> | null

Node directly above this one.

rootParentId
string<uuid> | null

Root of the tree.

quantity
integer

How many of this node the work covers.

cycleTimeSec
integer

Cycle time per unit, in seconds.

durationSec
integer

Total duration, in seconds.

peopleNum
integer

How many people the node is planned for.

costCode
string | null

Cost code.

data
object

Per-concept fields for this type.

computed
object

Values BuildingSwell derives from the tree on every read. All read-only: anything you send here is ignored.