Skip to main content
POST
Hand many jobs to one person, one crew, or one supplier.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Hand many jobs to one person, one crew, or one supplier.

target says which — WORKER, TEAM or VENDOR — and the id for that kind is required. A call passing only a worker id is read as WORKER, so a client a bundle behind keeps working. role applies to a person only: a crew and a supplier take the job itself, which is the PRIMARY slot.

Each job is judged on its own and reported on its own, and whoever the work is going to is checked once before any of it is written.

p_work_order_ids
string[]
required
p_role
string<text>
p_scope_of_work
string<text>
p_target
string<text>
p_team_id
string<uuid>
p_vendor_id
string<uuid>
p_worker_id
string<uuid>

Response

200

OK