Skip to main content
POST
Answer a cancellation request

Authorizations

Authorization
string
header
required

An API key from Settings, API keys. It starts with rc_live_.

Path Parameters

id
string
required

The sign-up's ID.

Body

application/json
decision
enum<string>
required

release lets them off and frees the time. keep puts the sign-up back to booked and records that they asked and were told no.

Available options:
release,
keep
notes
string

Why, kept with the answer.

Response

The sign-up, as it now is.

id
string
required
window_role_id
string
required

The role on the shift this sign-up is for.

person_id
string
required

Who signed up.

starts_at
string<date-time>
required

The stretch of the shift they took.

ends_at
string<date-time>
required
status
enum<string>
required

booked: signed up. cancellation_requested: asked to be let off inside the notice period, waiting for a coordinator. cancelled: given up. attended and no_show: what happened on the day.

Available options:
booked,
cancellation_requested,
cancelled,
attended,
no_show
created_at
string<date-time>
required
updated_at
string<date-time>
required
message
string
required

What was done, in words you can show.

tenant_id
string

Your organization's ID.

hours_logged
number | null

The hours worked, once recorded.

Required range: x >= 0
signed_off_by
string | null

Who signed off the hours: a person's record ID.

signed_off_at
string<date-time> | null

When the hours were signed off. Null until they are.

notes
string | null
cancellation_requested_at
string<date-time> | null

When they asked to be let off inside the notice period.

cancellation_reason
string | null

The reason they gave for giving it up, if any.

cancellation_decision
enum<string> | null

A coordinator's answer to the latest request: released (let off) or kept (still expected).

Available options:
released,
kept,
null
cancellation_decided_by
string | null

Who answered: a person's record ID.

cancellation_decided_at
string<date-time> | null
cancellation_decision_notes
string | null

What the coordinator wrote with the answer.

custom_fields
string

Your own sign-up fields, as JSON text.