Skip to main content
POST
Add an availability window.

Headers

Prefer
enum<string>

Preference

Available options:
params=single-object

Body

Add an availability window.

Returns the worker's resulting availability now, so the caller sees what the precedence rule made of it rather than assuming.

p_availability_type
string<text>
required
p_end_at
string<timestamp with time zone>
required
p_start_at
string<timestamp with time zone>
required
p_worker_id
string<uuid>
required
p_reason
string<text>

Response

200

OK