Skip to main content
POST
Swap one component for another in one act, on the job it happened on.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Swap one component for another in one act, on the job it happened on.

The new one inherits the position, which is what makes "this position has failed four times" a question the register can answer. One call rather than two, because half of a replacement is worse than none of it.

p_component_id
string<uuid>
required
p_at
string<timestamp with time zone>
p_component_asset_id
string<uuid>
p_name
string<text>
p_outcome
string<text>
p_part_id
string<uuid>
p_removal_reason
string<text>
p_serial_number
string<text>
p_work_order_id
string<uuid>

Response

200

OK