Skip to main content
POST
Re-file a set of work orders into another lifecycle, each from the status it is in now, by the mapping given.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Re-file a set of work orders into another lifecycle, each from the status it is in now, by the mapping given. What a bulk job runs for work_orders.move_lifecycle; api.move_to_state_model is how a person starts one.

p_mapping
string<jsonb>
required
p_reason
string<text>
required
p_to_state_model_id
string<uuid>
required
p_work_order_ids
string[]
required

Response

200

OK