Skip to main content
POST
Raise a booking and hold everything on it in one call — assets, tools, parts, places and people

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Raise a booking and hold everything on it in one call — assets, tools, parts, places and people together. All or nothing: a refusal on any line leaves no header behind.

p_ends_at
string<timestamp with time zone>
required
p_lines
string<jsonb>
required
p_starts_at
string<timestamp with time zone>
required
p_title
string<text>
required
p_type_code
string<text>
required
p_billing_cycle
string<text>
p_charge_to
string<text>
p_payer_id
string<uuid>
p_purpose
string<text>
p_site_id
string<uuid>
p_worker_id
string<uuid>

Response

200

OK