Skip to main content
POST
Record a component as fitted to an asset, on a job where there is one.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Record a component as fitted to an asset, on a job where there is one.

Where the component is an asset in its own right this is also what makes it a sub-asset: the register and the hierarchy are written together so they cannot disagree.

p_asset_id
string<uuid>
required
p_component_asset_id
string<uuid>
p_installed_at
string<timestamp with time zone>
p_name
string<text>
p_part_id
string<uuid>
p_position_label
string<text>
p_serial_number
string<text>
p_work_order_id
string<uuid>

Response

200

OK