Skip to main content
POST
Raise a reservation.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Raise a reservation. What it reserves is added as lines; a tenant with an approval workflow published for bookings starts them REQUESTED rather than BOOKED.

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

Response

200

OK